2011-07-25  Dave Beckett <dave@dajobe.org>

	* Snapshotted raptor2_2_0_4 for 2.0.4 release (GIT
	76194e074160848d6f690a62b395d5dd23aff728)

	* docs/raptor-1-to-2-map.tsv, docs/raptor-sections.txt,
	src/raptor2.h.in, src/raptor_internal.h, src/raptor_option.c,
	src/raptor_parse.c, src/raptor_turtle_writer.c, src/raptor_www.c,
	src/raptor_www_curl.c:
	Implement WWW feching SSL client certificate
	options raptor_option gains: RAPTOR_OPTION_WWW_CERT_FILENAME,
	RAPTOR_OPTION_WWW_CERT_TYPE and RAPTOR_OPTION_WWW_CERT_PASSPHRASE (raptor_www_set_ssl_cert_options): Added public API to set SSL
	client certificates on WWW.  (raptor_www_curl_set_ssl_cert_options): Added for libcurl to
	implement above.  (raptor_parser_parse_uri_with_connection): Use
	raptor_www_set_ssl_cert_options() to turn the parser options into
	settings on the WWW object.

2011-07-24  Dave Beckett <dave@dajobe.org>

	* src/ntriples_parse.c:
	(raptor_ntriples_parse_line): Calculate term_lengths only when
	debugging. [-Wunused-but-set-variable]

	* src/turtle_lexer.l: Disable input() for Turtle lexer - never
	needed.

	* src/turtle_parser.y:
	(turtle_parse): Do not assign buffer which is unused
	[-Wunused-but-set-variable]

	* src/raptor_internal.h, src/raptor_parse.c: Move parser buffer
	from stack to parser object (reducing call stack size)

	RAPTOR_READ_BUFFER_SIZE internal define added.

	raptor_parser gains a buffer of RAPTOR_READ_BUFFER_SIZE + 1 for
	NUL.

	(raptor_parser_parse_file_stream): Use parser object buffer not
	stack.

	(raptor_parser_parse_uri_write_bytes): Use size_t in len
	calculation.

	(raptor_parser_parse_iostream): Use parser object buffer not
	stack.  Use size_t for read length.

	* configure.ac: -Wno-sign-conversion for now

	* src/raptor_internal.h, src/raptor_www.c: Reduce stack use of
	raptor_www_file_handle_fetch

	(raptor_www_file_handle_fetch): Use www->buffer for file buffer
	for all builds not just www with libxml or libfetch.

	* src/raptor_xml.c:
	(raptor_valid_xml_ID): use size_t for strlen

	* src/raptor_locator.c:
	(raptor_locator_format): Cast calculated bufsize to int return.

	* src/raptor_internal.h, src/raptor_www.c, src/raptor_www_curl.c:
	Use a total_bytes for byte counts inside raptor_www

	* src/snprintf.c:
	(raptor_format_float): use a long for the intpart.

	* configure.ac:
	Expand (GCC) compiler warnings lots

	* docs/raptor-1-to-2-map.tsv, docs/raptor-sections.txt,
	src/raptor2.h.in, src/raptor_internal.h,
	src/raptor_serialize_ntriples.c, src/raptor_serialize_turtle.c,
	src/raptor_turtle_writer.c: Make sure N-Triples and Turtle
	serialize legal blank node IDs

	Fixes Issue #0000449
	http://bugs.librdf.org/mantis/view.php?id=449

	(raptor_bnodeid_ntriples_write): Added to write a N-Triples blank
	node ID in legal form, replacing any letters not in the allowed
	set.

	(raptor_turtle_writer_bnodeid): Added internal method for Turtle
	writer to do this too.

	(raptor_turtle_emit_blank): Use above.

	* configure.ac:
	Enforce libcurl earliest version supported 7.12.0

	See previous commit for Issue#0000457
	http://bugs.librdf.org/mantis/view.php?id=457 and curl GIT commit
	https://github.com/bagder/curl/commit/ffc5fa3a2be787c8198eb68836a45c440876c1bd

	* src/raptor_internal.h:
	Remove curl/types.h

	Fixes Issue#0000457
	http://bugs.librdf.org/mantis/view.php?id=457

	Was made a blank file over 7 years ago.

	curl GIT commit ffc5fa3a2be787c8198eb68836a45c440876c1bd
	  Date: Mon Apr 26 14:06:51 2004 +0000
	  "typedef CURL in the curl.h file instead of only having a single
	  useful typedef in the separate types.h"

	Which is 7.11.2 but it wasn't mentioned in the release notes (even
	if I'd read them): http://curl.haxx.se/changes.html

	* configure.ac:
	Improve checking for trunc and round

	Fixes Issue#0000308
	http://bugs.librdf.org/mantis/view.php?id=308

2011-07-14  Dave Beckett <dave@dajobe.org>

	* src/raptor_avltree.c:
	Condition protect more debug printfs

	* src/raptor_avltree.c:
	Fix losing node parents in deleting

	(raptor_avltree_delete_internal, raptor_avltree_delete_internal2):
	Fix parents when moving nodes during deletion.  Based on patch
	from 'v-for-vandal' in notes of Issue#0000455
	http://bugs.librdf.org/mantis/view.php?id=455
	Thanks!

	Fixes Issue#0000455
	http://bugs.librdf.org/mantis/view.php?id=455

	* src/raptor_avltree.c:
	Add extra AVL Tree debugging

	Based on patch in Issue #0000455
	http://bugs.librdf.org/mantis/view.php?id=455 with code style
	changes

	* configure.ac, src/raptor_json.c:
	Add YAJL V2 support

	Note that YAJL V1 and V2 both install the same library name
	'libyajl' even though they have different ABI & APIs.

	Fixes Issue #0000456
	http://bugs.librdf.org/mantis/view.php?id=456

2011-07-11  Dave Beckett <dave@dajobe.org>

	* tests/trig/bug451.out, tests/trig/bug451.trig: Make bug451.trig
	legal.
	Fixes Issue #000451
	http://bugs.librdf.org/mantis/view.php?id=451

	* src/turtle_lexer.l:
	Allow = instead of := in TRiG

	* tests/trig/Makefile.am, tests/trig/bug451.out,
	tests/trig/bug451.trig, tests/trig/example2.trig:
	Add tests for bug
	451 - fixing TrIG to be legal

2011-06-01  Dave Beckett <dave@dajobe.org>

	* NEWS.html, RELEASE.html, configure.ac:
	Bumped version to 2.0.4

	* Snapshotted raptor2_2_0_3 for 2.0.3 release (GIT
	148879e3346d0976792b51bddf4d98db34263d07)

2011-05-31  Dave Beckett <dave@dajobe.org>

	* docs/raptor-1-to-2-map.tsv: Fix API change typos; there are no
	raptor_term_as.*string() functions

	* src/turtle_lexer.l: Cleanup stringbuffer if EOF happens in a
	literal

	* docs/tmpl/section-general.sgml: doc tmpls

2011-05-30  Dave Beckett <dave@dajobe.org>

	* src/turtle_parser.y: More fixups for going back to pull parser

	bison's yacc.c skeleton output does not support %lex-param so use
	#define YYLEX_PARAM again

	* src/turtle_parser.y:
	(turtle_parser_error): Remove yy_init_globals call.

2011-05-22  Dave Beckett <dave@dajobe.org>

	* utils/Makefile.am: CLEANFILES cleans *.plist from clang output

	* utils/rdfdiff.c:
	(rdfdiff_statement_equals): Return different if object URIs
	differ.
	[CLANG]

	* utils/Makefile.am: ANALYZE

	* src/Makefile.am: all SOURCES

	* src/Makefile.am: analyze for maintainer only

	* src/Makefile.am: CLEANFILES cleans *.plist from clang output

	* librdfa/triple.c:
	Fixes from clang --analyze

	(rdfa_complete_object_literal_triples): Remove assignment of
	'current_object_literal' that always assigns the existing value.

	* librdfa/rdfa.c:
	Fixes from clang --analyze

	(start_element): Remove unused (attribute) 'value' var Remove
	usless assignment of 'insert_xmlns_definition' at end of block it
	is scoped to.

	* librdfa/curie.c:
	Fixes from clang --analyze

	(rdfa_resolve_uri): use rval_copy to alter final char from '/' not
	rval, which is always NULL.

	(rdfa_resolve_curie): Remove unused var 'expanded_prefix_length'

	* src/raptor_xml_writer.c:
	(raptor_new_xml_writer): Remove useless assignment to 'nstack'.
	[CLANG]

	* src/raptor_uri.c:
	Fixes [CLANG]
	(raptor_uri_print): Initialize 'world' carefully and check if it is
	NULL when calling raptor_log_error_formatted.

	* src/raptor_unicode.c: Fixes [CLANG]
	(raptor_unicode_utf8_string_get_char): Do not uslessly increment
	'input' pointer at end of function.

	* src/raptor_turtle_writer.c: Fixes [CLANG]
	(raptor_new_turtle_writer): Remove useless assignment to 'nstack'.

	(raptor_turtle_writer_quoted_counted_string): Initialize 'rc' and
	use it to return faiure from raptor_string_python_write()

	* src/raptor_serialize_turtle.c: Fixes [CLANG]
	(raptor_turtle_emit_subject_collection_items)

	(raptor_turtle_emit_subject_properties): Return 'rv' on error.

	* src/raptor_serialize_rss.c:
	(raptor_rss10_serialize_statement): Return failure on not handled
	[CLANG]

	* src/raptor_serialize_rdfxmla.c:
	(raptor_rdfxmla_emit_subject_properties): Return 'rv' on error
	[CLANG].

	* src/raptor_serialize_rdfxml.c:
	Fixes [CLANG]

	(raptor_rdfxml_serialize_statement): Remove
	'end_predicate_element' assignemnts that are immediately
	overwritten.  Use 'attrs_count' in writing a URI - be consistent
	with other emitting even know we know in all cases what the values
	will be.

	* src/raptor_rss.c:
	Fixes [CLANG]

	(raptor_rss_start_element_handler): Remove unused 'attribute_type'
	var.

	(raptor_rss_insert_identifiers): Initialize 'new_uri' to NULL and
	check for failures of it and term construction.

	* src/raptor_rfc2396.c:
	Fixes [CLANG]

	(raptor_uri_resolve_uri_reference): Remove assignment to
	'last_char' never needed - loop continue action overwrites it.

	* src/raptor_rdfxml.c:
	Fixes [CLANG]

	(raptor_rdfxml_start_element_handler): Check element->parent is
	not NULL before using pointer.

	(raptor_rdfxml_generate_statement): Remove unused rdf_xml_parser
	var.  (raptor_rdfxml_start_element_grammar): Remove assignments to
	'finished' that are immediately re-assigned.

	* src/raptor_nfc.c:
	(raptor_nfc_check): Remove unused 'start' var [CLANG]

	* src/raptor_namespace.c:
	(raptor_namespace_format_as_xml): Do not increment p at end [CLANG]

	* src/raptor_memstr.c:
	(raptor_memstr): Remove unused 'c' var [CLANG]

	* src/raptor_libxml.c:
	Fixes [CLANG]

	(raptor_libxml_error_common): Set world and locator to NULL and
	carefully assign and check use.

	(raptor_libxml_xmlStructuredError_handler_parsing): Turn
	assignment into something that does work.  Hints that the
	workaround for an ancient libxml2 context error pointer bug are no
	longer needed since anyone using such an old libxml would have
	crashed at this point when an error happened.  Could bump minimum
	libxml2 version.

	* src/raptor_librdfa.c:
	(raptor_librdfa_parse_init): Remove unused librdfa_parser [CLANG]

	* src/raptor_json_writer.c:
	Fixes [CLANG]

	(raptor_json_writer_quoted): Initialize rc and set it to value of
	any raptor_string_python_write error return.  Return rc.

	(raptor_json_writer_key_uri_value): Return error rc

	* src/raptor_grddl.c:
	Fixes [CLANG]

	(raptor_grddl_run_grddl_transform_doc): Initialize userCtxt

	(raptor_grddl_run_grddl_transform_uri): Remove unused grddl_parser

	(raptor_grddl_parse_chunk): Remove assigning rc a value never read

	* src/ntriples_parse.c:
	(raptor_ntriples_parse_line): Initialize term fields in all
	cases[CLANG]

	* src/.gitignore: .gitignore

	* src/Makefile.am: 'analyze' target fixes

	* src/Makefile.am: Added 'analyze' target to invoke clang over
	sources

2011-05-19  Dave Beckett <dave@dajobe.org>

	* src/turtle_parser.y: lets have bison debugging with push parser
	too

	* src/raptor_parse.c, src/raptor_serialize.c,
	src/raptor_www_curl.c: Fixes for building in RAPTOR_DEBUG > 2 mode

	* src/raptor_qname.c: docs

2011-05-12  Dave Beckett <dave@dajobe.org>

	* configure.ac: Ensure Bison 2.4+ is used

2011-05-11  Dave Beckett <dave@dajobe.org>

	* src/turtle_lexer.l:
	Make TRiG lexer recognize URI/qname (ws)*

	(:-)? (ws)* { Add new rule to recognize QNAME as the graph name.
	Adjust it to skip over extra optional tokens.  Adjust existing
	rule to handle all whitespace around optional ':-'

2011-05-10  Dave Beckett <dave@dajobe.org>

	* src/turtle_lexer.l: Handle trig graph name and start in lexer
	(GRAPH_NAME_LEFT_CURLY): Added returning URI for <uri> { with
	optional ':-'

	* src/turtle_parser.y: Fix calls to
	raptor_term_print_as_ntriples() to raptor 2 API form

	* src/raptor_statement.c:
	(raptor_statement_print): Handle printing partial statements for
	debugging.

	* src/.gitignore: ignore raptor2.h

	* src/turtle_parser.y:
	(turtle_push_parse): world only if very debuggy

	* src/turtle_parser.y:
	(turtle_push_parse): print token on very debug only.

2011-04-27  Dave Beckett <dave@dajobe.org>

	* docs/libraptor2.3, examples/grapper.c, examples/raptor_abort.c,
	examples/rdfcat.c, examples/rdfguess.c, examples/rdfprint.c,
	examples/rdfserialize.c, scripts/build-formats.c, tests/empty.c:
	Use raptor2.h header

2011-04-26  Dave Beckett <dave@dajobe.org>

	* docs/Makefile.am:
	Make docs use raptor2.h

	* configure.ac, docs/tmpl/section-general.sgml, librdfa/rdfa.h,
	src/.gitignore, src/Makefile.am, src/ntriples_parse.c,
	src/raptor.h, src/raptor.h.in, src/raptor2.h.in,
	src/raptor_abbrev.c, src/raptor_avltree.c, src/raptor_concepts.c,
	src/raptor_expat.c, src/raptor_general.c, src/raptor_grddl.c,
	src/raptor_guess.c, src/raptor_iostream.c, src/raptor_json.c,
	src/raptor_json_writer.c, src/raptor_librdfa.c,
	src/raptor_libxml.c, src/raptor_locator.c, src/raptor_log.c,
	src/raptor_memstr.c, src/raptor_namespace.c, src/raptor_nfc.c,
	src/raptor_nfc_data.c, src/raptor_nfc_test.c, src/raptor_option.c,
	src/raptor_parse.c, src/raptor_qname.c, src/raptor_rdfxml.c,
	src/raptor_rfc2396.c, src/raptor_rss.c, src/raptor_rss_common.c,
	src/raptor_sax2.c, src/raptor_sequence.c, src/raptor_serialize.c,
	src/raptor_serialize_dot.c, src/raptor_serialize_html.c,
	src/raptor_serialize_json.c, src/raptor_serialize_ntriples.c,
	src/raptor_serialize_rdfxml.c, src/raptor_serialize_rdfxmla.c,
	src/raptor_serialize_rss.c, src/raptor_serialize_turtle.c,
	src/raptor_set.c, src/raptor_statement.c,
	src/raptor_stringbuffer.c, src/raptor_syntax_description.c,
	src/raptor_term.c, src/raptor_turtle_writer.c,
	src/raptor_unicode.c, src/raptor_uri.c, src/raptor_www.c,
	src/raptor_www_curl.c, src/raptor_www_libfetch.c,
	src/raptor_www_libxml.c, src/raptor_www_test.c, src/raptor_xml.c,
	src/raptor_xml_writer.c, src/snprintf.c, src/turtle_common.c,
	src/turtle_lexer.l, src/turtle_parser.y, utils/rapper.c,
	utils/rdfdiff.c: Switch to raptor2.h as main header. raptor.h
	includes it

	* NEWS.html, RELEASE.html, configure.ac:
	Bumped version to 2.0.3

2011-04-15  Nicholas J Humfrey <njh@aelius.com>

	* docs/Makefile.am: Set DISTCLEANFILES to empty before including
	gtk-doc.make

	* docs/Makefile.am: Moved raptor-fake.i from CLEANFILES to
	DISTCLEANFILES.

2011-04-05  Dave Beckett <dave@dajobe.org>

	* src/turtle_parser.y:
	(graph): Ensure $1 is NULLed out and ownership passed on

	Fixes Issue #0000437
	http://bugs.librdf.org/mantis/view.php?id=437

	* src/raptor_statement.c:
	(raptor_statement_print): Handle NULL terms.

	* src/turtle_parser.y: Fix extra debugging use of
	raptor_term_print_as_ntriples

2011-03-27  Dave Beckett <dave@dajobe.org>

	* src/turtle_lexer.l: Use %option extra-type to set type of extra
	arg.

2011-03-20  Dave Beckett  <dave@dajobe.org>

	* Snapshotted raptor2_2_0_2 for 2.0.2 release (GIT
	4d782df45fd4b3e11243008c4dc221effcaad591)

	* configure.ac, src/raptor_general.c: Error out when calling
	library presents a too old header

	(raptor_new_world_internal): Switch to checking for too old, not
	exact match.

	* NEWS.html, RELEASE.html, configure.ac:
	Bumped version to 2.0.2

	* src/raptor_term.c: autodocs

	* Snapshotted raptor2_2_0_1 for 2.0.1 release (GIT
	6f1655f985df370999a92897726d359946c1dbd9)

2011-03-14  Dave Beckett <dave@dajobe.org>

	* src/raptor.h.in, src/raptor_parse.c: autodocs

2011-03-10  Dave Beckett <dave@dajobe.org>

	* src/raptor_term.c: Autodocs - mention UTF-8 encodings in
	args/returns for raptor_term docs

2011-02-27  Dave Beckett <dave@dajobe.org>

	* scripts/process-changes.pl:
	Update to latest process-changes.pl

2011-02-14  Dave Beckett <dave@dajobe.org>

	* scripts/process-changes.pl:
	Update to latest process-changes.pl

	* tests/turtle/Makefile.am, tests/turtle/test-36.out,
	tests/turtle/test-36.ttl, tests/turtle/test-37.out,
	tests/turtle/test-37.ttl: Add tests for long literal with dups and
	lang

2011-02-07  Dave Beckett <dave@dajobe.org>

	* ChangeLog, ChangeLog.11, Makefile.am:
	Add ChangeLog.11 for 2010

2011-02-06  Dave Beckett <dave@dajobe.org>

	* LICENSE.html: Make GPL V2 or newer explicit.

2011-02-01  Dave Beckett <dave@dajobe.org>

	* raptor2.spec.in: fix Source:

2011-01-27  Dave Beckett <dave@dajobe.org>

	* src/raptor_internal.h: Remove get_curie_type rename for librdfa
	- now static

	* librdfa/curie.c, librdfa/rdfa_utils.h: Update to librda GIT
	commit 3838bb11fb155bbae200a2388096cbe6804a7551 No longer exports
	get_curie_type.

	* NEWS.html, RELEASE.html, configure.ac: Bumped version to 2.0.1

2011-01-26  Dave Beckett <dave@dajobe.org>

	* src/raptor_internal.h: Rename librdfa symbols for internal
	linking of librdfa

	Fixes Issue #0000416
	http://bugs.librdf.org/mantis/view.php?id=416

	* librdfa/rdfa.c, librdfa/rdfa_utils.c, librdfa/triple.c: Update
	to librdfa GIT commit aeebd00d68ab7292cae35ebfbcb638f3a2625f39

2011-01-24  Nicholas J Humfrey <njh@aelius.com>

	* src/raptor_serialize_ntriples.c, tests/ntriples/testnq-1.out,
	tests/trig/bug370.out, tests/trig/example1.out,
	tests/trig/example2.out, tests/trig/example3.out: Fixed the nquads
	serialiser to output the graph name in the fourth column, instead
	of repeating the object

2011-01-21  Dave Beckett <dave@dajobe.org>

	* src/ntriples_parse.c, src/raptor_abbrev.c, src/raptor_librdfa.c,
	src/raptor_serialize_dot.c, src/raptor_serialize_html.c,
	src/raptor_serialize_json.c, src/raptor_serialize_ntriples.c,
	src/raptor_serialize_rdfxmla.c, src/raptor_serialize_turtle.c,
	src/raptor_uri.c: Replace all RAPTOR_FATAL with error log messages
	in user builds

	All RAPTOR_FATAL calls are now only called inside RAPTOR_DEBUG
	blocks.

	* src/raptor_abbrev.c, src/raptor_internal.h:
	(raptor_new_abbrev_subject): Made static to this module

	* src/raptor_statement.c:
	(raptor_statement_init): Init statement to NULL pointers

2011-01-03  Dave Beckett <dave@dajobe.org>

	* Snapshotted raptor2_2_0_0 for 2.0.0 release (GIT
	8ba659697c83891eb6ae9b47ce0e0ce8bb070e40)

	* docs/raptor-docs.xml: shorter title

	* NEWS.html, RELEASE.html: 2.0.0

	* librdfa/rdfa.c: Revert upstream
	62d939ec1e3756a69eef48a50be0ab0624e2d4ad

	* librdfa/triple.c:
	(rdfa_generate_namespace_triple): Protect
	processor_graph_triple_callback

	* examples/grapper.c, librdfa/iri.c, librdfa/rdfa.c,
	src/raptor_general.c: Casts for C++

	* examples/grapper.c:
	Use raptor_term_to_string in final 2.0.0 API

	* docs/raptor-sections.txt:
	Added raptor_syntax_description_validate

	* docs/raptor-1-to-2-map.tsv: Added
	raptor_syntax_description_validate

	* docs/raptor-1-to-2-map.tsv: Update for older API change:
	raptor_term_to_.*string not _as_

	* src/.gitignore:
	Ignore generated win32_raptor_config.h

	* src/win32_raptor_config.h.in:
	Insert generated @symbols

	* src/win32_raptor_config.h, src/win32_raptor_config.h.in: Rename
	win32_raptor_config.h to win32_raptor_config.h.in

	* configure.ac:
	generate src/win32_raptor_config.h

