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

	* 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

