Redland

 view release on metacpan or  search on metacpan

redland/ChangeLog.4  view on Meta::CPAN

	(raptor_syntaxes_enumerate): Added to get syntax name, label,
	mime_type or uri_string - all optional.
	(raptor_parsers_enumerate): Uses raptor_syntaxes_enumerate.

	* raptor/raptor_internal.h: Store parser mime_type, URI in
	raptor_parser_factory Update raptor_parser_register_factory to
	take mime_type, uri_string args.

	* utils/rdfproc.c: tweak help formatting

	* raptor/configure.ac: Bumped version to 1.2.0

	* raptor/configure.ac:
	Update RAPTOR_LIBTOOL_VERSION to reflect interfaces added,
	none removed giving current 2:0:1

	* raptor/libraptor.3: nroff/man style tweaks

	* raptor/libraptor.3: Style

2003-12-30  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/configure.ac: words

	* raptor/configure.ac:
	Make flex version warnings mention N-Triples Plus more

	* librdf/rdf_model_storage.c, librdf/rdf_model.h,
	librdf/rdf_model.c (librdf_model_get_storage): Added, with factory
	method to match - optional.  The model_storage implementation
	implements it.

2003-12-29  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* utils/rdf-tree.c, utils/rdf-load.c: indented

	* raptor/libraptor.3: bump date

	* raptor/raptor_stringbuffer.c (main):
	Do not free as_string returned strings

	* raptor/raptor_stringbuffer.c: brackets

	* raptor/raptor_stringbuffer.c (raptor_free_stringbuffer):
	Free any constructed string.

	* configure.ac: Add AC_DEFINE for local MD5, SHA1, RIPEMD160

	* utils/rdfproc.c: Tweak help text to look better without getopt_long

	* librdf/rdf_serializer_rdfxml.c:
	Some more unsigned char fixes for URIs
	(librdf_serializer_print_statement_as_rdfxml): Try harder to find a
	maximal length legal property element name; now works for
	foaf:mbox_sha1sum - patch from Morten

	* docs/api.sgml.in, docs/Makefile.am:
	Added storage_mysql storage_tstore

	* raptor/raptor_xml_writer.c:
	Use raptor_stringbuffer to better grow the output cdata.

	* raptor/raptor_stringbuffer.c: stringbuffer now uses unsigned char
	Removed raptor_new|free_stringbuffer_node - used once, now inlined.
	(raptor_stringbuffer_append_string_common): Added with
	common append code merged here.
	(raptor_stringbuffer_append_counted_string,
	raptor_stringbuffer_append_string): Added do_copy arg.
	(main): Test code updated for api changes.

	* raptor/raptor_internal.h:
	Added prototypes for raptor_stringbuffer class to internal API

	* raptor/Makefile.am:
	Re-added raptor_stringbuffer.c and raptor_stringbuffer_test

2003-12-27  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* librdf/rdf_uri.c, librdf/rdf_stream.c, librdf/rdf_statement.c, librdf/rdf_query.c, librdf/rdf_node.c, librdf/rdf_model.c, librdf/rdf_iterator.c, librdf/rdf_hash.c:
	More C++ cast fixes mostly near URI and literal strings in test
	code, the main function.

	* librdf/Makefile.am: Added rdf_digest_sha1.c

	* librdf/rdf_digest_sha1.c: SHA1 digest code

2003-12-23  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/rapper.1: Updated for 1.1.0, -a is gone.  Added ntriples-plus

	* raptor/libraptor.3: parser name is ntriples-plus

	* raptor/libraptor.3: Updated for 1.1.0

	* raptor/raptor.h:
	remove raptor_namespaces_end_namespace - does not exist.

2003-12-22  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/Makefile.am:
	Remove raptor_stringbuffer.c/test from dist - not used at present.

	* raptor/configure.ac:
	Added --with-xml-names to choose XML 1.0 name checking (default) or 1.1

	* raptor/raptor_utf8.c (raptor_unicode_is_namestartchar):
	Update to Namespaces in XML 1.1 WD
	http://www.w3.org/TR/2003/PR-xml-names11-20031105/#NT-NCNameStartChar
	and Extensible Markup Language (XML) 1.1 PR
	http://www.w3.org/TR/2003/PR-xml11-20031105/#NT-NameStartChar
	(raptor_unicode_is_namechar): Updated comment, no code changes
	needed.

	* raptor/tests/ntriplesplus/Makefile.am: No check-warn-rdf tests yet

	* raptor/raptor_utf8.c:
	Use RAPTOR_NFC_CHECK to wrap any use of the glib g_utf8_normalize.

	* raptor/configure.ac: Define RAPTOR_NFC_CHECK when NFC check is needed

	* raptor/configure.ac:

redland/ChangeLog.4  view on Meta::CPAN

	* raptor/rdfdump.c, raptor/raptor_xml_writer.c, raptor/raptor_xml.c, raptor/raptor_www_libxml.c, raptor/raptor_www.c, raptor/raptor_uri.c, raptor/raptor_sax2.c, raptor/raptor_rss.c, raptor/raptor_parse.c, raptor/raptor_namespace.c, raptor/n3_parser....
	Lots of casts for str* function args, return values between unsigned
	char* as used for UTF8 and URI strings and char* used by str* functions.
	Some further casts for strings from XML.

	* raptor/raptor_www_test.c (write_bytes_fh): No return value.
	(main) Test code casts unsigned char* for URI strings
	Fix write_content_type and write_bytes_fh set handler methods.

	* raptor/raptor_utf8.c (raptor_unicode_char_to_utf8):
	unsigned char* arg.
	(raptor_utf8_is_nfc): unsigned int, cast for unsigned char*

	* raptor/raptor_sequence.c (raptor_sequence_ensure):
	Use void** not void*.  C++ cares.
	(main): Test code casts to void* for args.

	* raptor/raptor_qname.c (raptor_qname_string_to_uri):
	cast for signed/unsigned int
	comparison.

	* raptor/raptor_locator.c (raptor_format_locator):
	Use raptor_uri_as_counted_string to save a strlen.

	* raptor/raptor_identifier.c:
	(raptor_identifier_print) fputs arg cast [function for RAPTOR_DEBUG only]

	* raptor/raptor_general.c (raptor_parsers_enumerate): Unsigned int.
	(raptor_parse_uri_write_bytes): unsigned char* cast.
	Declare raptor_xml_literal_datatype_uri_string.
	(raptor_print_statement_detailed): Replace several fprintf with fputs
	and fputc.
	(raptor_print_ntriples_string): Use unsigned long/size_t for counts.
	(raptor_statement_part_as_counted_string): unsigned char*
	Use raptor_xml_literal_datatype_uri_string.
	(raptor_statement_part_as_string): unsigned char*
	(raptor_print_statement_part_as_ntriples): unsigned char*.  Replace
	several fprintf with fputs and fputc.
	Use raptor_xml_literal_datatype_uri_string
	(raptor_default_generate_id_handler): Casts for str* functions
	(raptor_check_ordinal): unsigned char*

	* raptor/ntriples_parse.c:
	(raptor_ntriples_generate_statement,raptor_ntriples_string_as_utf8_string,
	raptor_ntriples_parse_line):
	Updated to take/return unsigned char* args and internals.  Update
	raptor_uri calls for similar changes.
	Use raptor_xml_literal_datatype_uri_string
	Lots of casts for str* functions char* arguments.

	* raptor/Makefile.am:
	Remove maintainer only n3 lex/yacc rules (flex/bison)
	Post process the bison output to remove unused label to make g++ happier.

	* raptor/raptor_internal.h:
	Added raptor_xml_literal_datatype_uri_string for the RDF datatype
	literal URI string, used several times.
	raptor_check_ordinal takes unsigned char*
	A couple of lengths, counts become unsigned int.
	raptor_unicode_char_to_utf8, raptor_format_sax2_element,
	raptor_xml_writer_cdata, raptor_xml_writer_comment,
	raptor_xml_writer_as_string changed to
	take/return unsigned char* for UTF8 strings.

	* raptor/raptor.h:
	raptor_new_uri_func, raptor_new_uri_from_local_name_func,
	raptor_new_uri_relative_to_base_func, raptor_uri_as_string_func,
	raptor_uri_as_counted_string_func URI factory methods
	changed to all take/return unsigned char* for URI strings
	raptor_statement_part_as_counted_string,
	raptor_statement_part_as_string,
	raptor_new_uri, raptor_new_uri_from_uri_local_name,
	raptor_new_uri_relative_to_base, raptor_uri_as_string,
	raptor_uri_as_counted_string
	URI methods changed to take/return unsigned char* for URI strings
	raptor_ntriples_string_as_utf8_string changed to return unsigned
	char* for UTF8 string
	raptor_uri_resolve_uri_reference, raptor_uri_filename_to_uri_string,
	raptor_uri_uri_string_to_filename,
	raptor_uri_uri_string_to_filename_fragment, raptor_uri_is_file_uri
	Changed to use unsigned char* for URI strings, char* for filenames

2003-12-01  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/raptor_set.c (raptor_set_stats_print): Debug printing tweak.

2003-11-28  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/raptor_internal.h:
	raptor_check_ordinal with now unsigned char* arg
	raptor_sax2 content_cdata now unsigned char*

	* raptor/raptor_general.c (raptor_check_ordinal): unsigned char *name

	* raptor/raptor_parse.c: Lots of char/unsigned char casting.

	* raptor/n3_common.h: Undo n3_syntax_error back to raptor_parser arg.

	* raptor/n3_parser.y: (n3_parser_error) aka yyerror; take a void arg.

	* raptor/n3_common.h:
	The n3_syntax_error aka yyerror function takes a void arg.

	* raptor/n3_parser.y: Casts for rdf_parser, strings.

	* raptor/n3_lexer.l:
	Define INPUT_FN as yyinput (C++) or input (otherwise)
	Add more casts for C++ near rdf_parser, yytext.
	(copy_token): More casts for malloc and string functions.
	(copy_string_token): More size_t, casts.

	* raptor/ntriples_parse.c (raptor_ntriples_term):
	Use a size_t; cast for C++.

	* raptor/ntriples_parse.c (raptor_ntriples_term_valid,raptor_ntriples_term):
	Change
	argument names from class to term_class to avoid C++ keyword.

	* raptor/raptor_getopt.h: Protect prototypes for C++

	* raptor/raptor_stringbuffer.c: casts for RAPTOR_*ALLOC returns

	* raptor/n3_parser.y: oops, raptort -> raptor

	* raptor/n3_parser.y: another cast for RAPTOR_MALLOC return

	* raptor/n3_parser.y: casts for RAPTOR_CALLOC returns

	* raptor/configure.ac:
	Move adding pkg-config glib2.0 cppflags/libs till after the other
	libraries since that's more likely to be system wide and least
	effect libxml2, other libraries that might be elsewhere.  Mostly
	affects OSX which is more sensitive to link order.

	* raptor/raptor_stringbuffer.c (main): declare at start of block

	* raptor/configure.ac: Check for libxml/SAX2.h - the new SAX2 API

	* raptor/raptor_libxml.c:
	Added a pile of libxml2_* macros to use the libxml2 SAX2 functions
	when they are present, otherwise the SAX1.  Not using the SAX2 parts
	of the libxml2 API at present.

	* raptor/strcasecmp.c: Add debug message arg casts.

	* raptor/configure.ac:
	Include libxml/parser.h when checking for other libxml2 headers

	* raptor/ntriples_parse.c: Add some debug message arg casts.
	(raptor_ntriples_parse_chunk): At end of input, check that there is
	no remaining junk.

	* raptor/ntriples_parse.c (raptor_ntriples_parse_chunk):
	Fix line counting problems when \r\n
	crosses a buffer or when a line ends at the end of a buffer.
	last_char recorded in state.

	* raptor/raptor_stringbuffer.c (main): Free returned strings.

	* raptor/Makefile.am:
	Added raptor_stringbuffer.c raptor_stringbuffer_test code

	* raptor/raptor.h: Added raptor_stringbuffer.

	* raptor/raptor_stringbuffer.c: Stringbuffer class for growing strings

	* raptor/raptor_libxml.c (raptor_libxml_init):
	With libxml2 use raptor_xml_characters_handler
	for sax->characters.

	* raptor/raptor_parse.c (raptor_cdata_grammar): Added is_cdata arg.
	(raptor_xml_characters_handler): Added, calling raptor_cdata_grammar.
	(raptor_xml_cdata_handler): Updated to call raptor_cdata_grammar with
	is_cdata=1.
	(raptor_xml_parse_init): With expat use raptor_xml_characters_handler
	with XML_SetCharacterDataHandler.
	(raptor_cdata_grammar): Tidy error reporting; do not use
	raptor_xml_writer_as_string for a simple print.

	* raptor/raptor_internal.h:
	Added raptor_xml_characters_handler prototype.

2003-11-26  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* perl/Makefile.PL:
	List the .pm files explicitly since perl 5.8.1 broke scanning

2003-11-25  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/manifest.pl: Add withdrawn tests check

2003-11-23  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/tests/ntriplesplus/Makefile.am:
	Added more N-Triples Plus tests (1-7) and bad (0-3)

	* raptor/tests/ntriplesplus/test-07.out, raptor/tests/ntriplesplus/test-07.ntp, raptor/tests/ntriplesplus/test-06.out, raptor/tests/ntriplesplus/test-06.ntp, raptor/tests/ntriplesplus/test-05.out, raptor/tests/ntriplesplus/test-05.ntp, raptor/tests/...
	More N-Triples Plus tests

	* raptor/tests/ntriplesplus/bad-00.ntp, raptor/tests/ntriplesplus/bad-01.ntp, raptor/tests/ntriplesplus/bad-02.ntp, raptor/tests/ntriplesplus/bad-03.ntp:
	N-Triples Plus bad tests

	* raptor/n3_lexer.l:
	In prefix state, always return to initial on matching '.', then
	error out.
	(n3_syntax_error): Copy removed here.
	(main): Init enough more of parser/locator so that n3_syntax_error
	in main library can be used.

2003-11-21  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/rdfdump.c: extra newline in version

	* raptor/rdfdump.c: extra newline in help

2003-11-20  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* librdf/rdf_parser_raptor.c:
	(librdf_parser_raptor_error_handler,librdf_parser_raptor_warning_handler):
	Do not pass on buffer directly since it is not a format string and
	might contain % such as when it is a URI.  This causes libc to abort
	in the middle of vsnprintf with an assertion failure :/

2003-11-19  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* demos/ntriples.pl: Style, HTML fixes.
	Counting wasn't right.

	* raptor/tests/Makefile.am:
	Added check-ntriples-plus to check N-Triples Plus with the N-Triples
	tests.

	* raptor/n3_parser.y, raptor/n3_lexer.l, raptor/n3_common.h:
	Added lineno to raptor_n3_parser context to track newlines for dos,
	unix, mac since flex doesn't do that by default with yylineno.

	* raptor/rdfdump.c: tidy help messages

redland/ChangeLog.4  view on Meta::CPAN

	library name.

	* tcl/test.tcl, tcl/example.tcl: Back to redland

	* tcl/test.tcl, tcl/example.tcl: Tcl package now Redland

	* configure.ac: Look for tclsh for TCL

	* ruby/Makefile.am: More libtool flags

	* ruby/Makefile.am: Build shared objects again.

	* ruby/Makefile.am: Don't depend on build-ruby

	* librdf/rdf_storage_hashes.c
	(librdf_storage_hashes_contains_statement): Use
	librdf_storage_hashes_find_statements to make this work when
	contexts are being used.

	* librdf/rdf_node.c (librdf_node_equals): Doc fix

	* librdf/rdf_storage_list.c (librdf_storage_list_node_equals):
	When not using contexts, don't
	check the context nodes.

	* Redland.i (librdf_call_python_message, librdf_call_perl_message):
	Fix use of
	vsnprintf in perl and python message callbacks to properly copy
	va_list using va_copy.  Same bug that happened in raptor.

2003-08-25  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* java/Makefile.am: Added test-java again

	* tcl/Makefile.am: Added test-tcl again

	* ruby/Makefile.am: Added test-ruby again

	* python/example.py: Modernise the python to 2.2+

	* python/RDF.py: Throughout:
	Updated to use new Python classes (2.2+)
	Replace __getattr__/__setattr__ with property() method.

	* python/Makefile.am: check-local now also does unittest-python

	* raptor/configure.ac: Bumped version to 0.9.13

	* raptor/raptor_parse.c (raptor_start_element_grammar):
	With rdf:datatype, do not lose the
	URI string pointer.  For rdf:ID, do not allocate the URI twice.

	* raptor/raptor_parse.c (raptor_generate_statement):
	Do not set language when a datatype is given.

	* raptor/raptor_xml_writer.c (raptor_new_xml_writer):
	Initialise writer buffer to an empty string
	to start (i.e. just \0).
	(raptor_xml_writer_start_element): Now assume buffer is always
	present, remove empty buffer case.
	(raptor_xml_writer_end_element,raptor_xml_writer_cdata): Handle 0
	length case, no strncpy.

	* raptor/tests/Makefile.am: Added ex-51.
	Fix daml+oil test.

	* raptor/tests/ex-51.out, raptor/tests/ex-51.rdf:
	Check empty XML literal works

	* raptor/tests/ex-41.out: No language for datatyped literals.

	* raptor/tests/daml-oil.rdf, raptor/tests/daml-oil.out,
	raptor/tests/Makefile.am: Updated to DAML+OIL schema 2001-03 as
	defined in http://www.daml.org/2001/03/daml+oil-index.html

	* raptor/tests/daml-oil.out, raptor/tests/daml-oil.rdf: Added
	2000-11-30 http://www.cs.man.ac.uk/%7Ehorrocks/DAML-OIL/daml-oil.rdf

	* raptor/tests/owl-schema.rdf, raptor/tests/owl-schema.out:
	Updated OWL schema http://www.w3.org/2002/07/owl to match
	that given in OWL Reference 2003-08-18 CR
	at http://www.w3.org/TR/2003/CR-owl-ref-20030818/#appB

	* raptor/libraptor.3: Updated for 0.9.12

	* python/RDF.py (Statement._get_subject):
	Missed accidently when updating to do more copies.

	* configure.ac: No languages by default.

2003-08-24  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* perl/Makefile.PL: Include -I builddir librdf dir to get rdf_config.h

	* Makefile.am: make languages after core libs

	* perl/Makefile.PL: More attempts at src/builddir fix.

	* perl/Makefile.am: Fix src/builddir for output of MakeMaker

	* tcl/Makefile.am: again

	* tcl/Makefile.am: oops, -c to compile

	* ruby/Makefile.am:
	This dir is now compiled and installed conditional on ruby being
	enabled with --with-ruby (off by default).
	Move -local targets into standard 'make' and 'make install' ones.
	Try to compile with the right Ruby shared library and install in
	the Ruby libs dir.

	* tcl/Makefile.am: Use @TCL@

	* tcl/Makefile.am:
	This dir is now compiled and installed conditional on tcl being
	enabled with --with-tcl (off by default).
	Move -local targets into standard 'make' and 'make install' ones.
	Try to compile the Tcl shared library and install in the Tcl
	libs dir.  Finding the tcl.h includes is impossible, so note
	that in the README.

redland/ChangeLog.4  view on Meta::CPAN

	(librdf_new_node_from_typed_literal):
	librdf_new_node_set_typed_literal_value inlined here.
	(librdf_new_node_from_blank_identifier):
	librdf_set_blank_identifier inlined here.
	(librdf_new_node_from_node): Call the appropriate node constructors
	rather than malloc a new node and use the set methods.
	(librdf_node_set_uri, librdf_node_set_type,
	librdf_node_set_typed_literal_value, 
	librdf_node_set_blank_identifier): Deleted and inlined where used.
	(librdf_node_set_li_ordinal,librdf_node_set_literal_value): Deleted,
	never used in this module.
	(librdf_node_decode): Call the appropriate node constructors
	rather than malloc a new node and use the set methods.
	(main): Remove node set methods from test code.

	* librdf/rdf_node.h:
	Make nodes immutable - removed all public set methods into rdf_node.c

	* java/org/librdf/redland/Node.java:
	Make nodes immutable - remove set methods setURI, setType,
	setLiteralValue.

	* perl/lib/RDF/Redland/Node.pm:
	Make nodes immutable.  Remove set parts of methods uri,
	blank_identifier and type.  Remove method set_literal_value.

	* python/RDF.py (Class Node):
	Make nodes immutable - remove set methods.

	* Redland.i: Make nodes immutable - remove node class set methods.

	* Redland.i: comment out calling python exceptions for now

2003-08-17  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac: Remove MEM=-DLIBRDF_MEMORY_DEBUG if no dmalloc present.

	* librdf/rdf_uri.c, librdf/rdf_stream.c, librdf/rdf_storage.c,
	librdf/rdf_statement.c, librdf/rdf_serializer.c,
	librdf/rdf_query.c, librdf/rdf_parser.c, librdf/rdf_node.c,
	librdf/rdf_model.c, librdf/rdf_iterator.c,
	librdf/rdf_heuristics.c, librdf/rdf_hash.c, librdf/rdf_files.c,
	librdf/rdf_digest.c, librdf/rdf_concepts.c (main): In test code,
	remove calls to librdf_memory_report for old internal memory
	debugging code.

	* librdf/librdf.h:
	Remove LIBRDF_MEMORY_DEBUG and internal memory loss debugging code.
	External tools such as dmalloc work a lot better.

	* librdf/Makefile.am: Removed rdf_memory.c

	* librdf/rdf_memory.c: Memory debugging code superceeded by better
	external tools such as dmalloc

	* librdf/rdf_hash_bdb.c, configure.ac:
	Added BDB 4.0 and 4.1 open interface support - 6 or 7 arguments.

	* raptor/raptor_xml_writer.c:
	(raptor_xml_writer_end_element) Reset the current_element pointer
	on finishing.  Makes any succeeding cdata do the right thing.

	* librdf/redland.spec.in: Updates for new perl module names

	* raptor/rdfdump.c: Inside redland, don't call raptor_init/finish,
	it's done by redland's world.

2003-08-13  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/raptor_rss.c (raptor_rss_parse_chunk):
	Stop working aftera a user abort of the parser.

	* raptor/raptor_general.c (raptor_check_ordinal): c is not const

	* raptor/rdfdump.c, raptor/raptor_xml_writer.c,
	raptor/raptor_xml.c, raptor/raptor_www_libwww.c,
	raptor/raptor_utf8.c, raptor/raptor_uri.c, raptor/raptor_set.c,
	raptor/raptor_sax2.c, raptor/raptor_qname.c,
	raptor/raptor_parse.c, raptor/raptor_namespace.c,
	raptor/raptor_locator.c, raptor/raptor_libxml.c,
	raptor/raptor_identifier.c, raptor/raptor_general.c,
	raptor/ntriples_parse.c: Move dmalloc includes into
	raptor_internal.h and use everywhere.

	* raptor/raptor_internal.h:
	Add raptor dmalloc includes here to ensure all raptor code uses it
	or not consistently.

	* librdf/rdf_parser_raptor.c: (librdf_parser_raptor_error_handler,
	librdf_parser_raptor_warning_handler):
	Remove inadvisable use of raptor_parser as a variable name.
	(librdf_parser_raptor_parse_uri_into_model): Zap unused world.

	* librdf/rdf_hash.c (librdf_hash_from_array_of_strings):
	Fix return value.

	* examples/Makefile.am: Added redland_dbus

	* examples/redland_dbus.c: Initial import

2003-08-12  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* librdf/rdf_uri.c, librdf/rdf_stream.c,
	librdf/rdf_storage_list.c, librdf/rdf_storage_hashes.c,
	librdf/rdf_storage.c, librdf/rdf_statement.c,
	librdf/rdf_serializer_rdfxml.c, librdf/rdf_serializer.c,
	librdf/rdf_query.c, librdf/rdf_parser_raptor.c,
	librdf/rdf_parser.c, librdf/rdf_node.c, librdf/rdf_model.c,
	librdf/rdf_init.c, librdf/rdf_hash_memory.c,
	librdf/rdf_hash_bdb.c, librdf/rdf_hash.c, librdf/rdf_digest.c,
	librdf/rdf_concepts.c:
	Replaced most LIBRDF_FATAL1/2 calls with LIBRDF_ERROR1/2; both now
	take world arguments.  The remaining fatal errors are either in
	redland startup when there is no sensible way to recover or in out of
	memory situations.  The LIBRDF_ERROR1/2 calls now give the error and
	recover/fail the method if appropriate.  The documentation on several
	methods were updated to note this.  The error notification isn't
	always possible since some methods have way to return errors.
	A new method on the world class is needed to test for this state.

	* librdf/librdf.h:

redland/ChangeLog.4  view on Meta::CPAN

	Call raptor_parser_error_varargs, don't
	lose the arguments.

2003-07-30  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac: ECMA CLR=>ECMI CLI since it's not just the runtime.
	ECMA CLI= ECMA  Common  Language  Infrastructure.

	* configure.ac:
	No need for CSHARP_COMPILE, dotGNU compiler accepts same args as mcs.

2003-07-29  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac: Also substitute CSHARP_COMPILE for csharp

	* configure.ac:
	Added --with-ecma-clr for mono or dotgnu versions of toolchain.
	Sets CLRRUN and CSHARPCC for use in csharp dir

	* Makefile.am: Added csharp dir

	* raptor/configure.ac: Bumped version to 0.9.12

	* raptor/raptor_sax2.c: struct nsd: use size_t for length.

	* raptor/configure.ac:
	Ensure the libxml2 xmlReader API is new enough (2.5.0+) such as
	having xmlParserSeverities.

2003-07-28  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/raptor.h:
	Update raptor_generate_id_handler to take user_bnodeid arg.

	* raptor/raptor_rss.c: Update calls of raptor_generate_id with
	user_bnodeid (NULL for existing calls)

	* raptor/raptor_parse.c:
	Update calls of raptor_generate_id with user_bnodeid (NULL for
	existing calls)
	Use it to wrap the rdf:nodeID values for subject and object cases.

	* raptor/raptor_internal.h:
	raptor_generate_id updated to add user_bnodeid

	* raptor/raptor_general.c (raptor_set_generate_id_handler):
	Document final argument
	user_bnodeid from the rdf:nodeID attribute value.
	(raptor_default_generate_id_handler): Add user_bnodeid, return it if
	present.
	(raptor_generate_id): Add user_bnodeid and pass on.

	* raptor/raptor_internal.h: Added raptor_xml_writer_comment

	* raptor/raptor_namespace.c (raptor_namespace_copy):
	Don't copy uri and then lose it.

	* raptor/raptor_xml_writer.c:
	Added current_element for tracking empty/not empty elements.
	(raptor_xml_writer_comment): Added, just concatenating the content
	via raptor_xml_writer_cdata.

	* raptor/raptor_parse.c (raptor_xml_comment_handler):
	Call raptor_xml_writer_comment inside
	parseType="Literal"

	* raptor/raptor_xml_writer.c: raptor_xml_writer gains stack depth.
	(raptor_free_xml_writer): Clear any content_cdata before finishing.
	(raptor_xml_writer_start_element)
	Add depth to raptor_format_sax2_element calls.  Increase it
	(raptor_xml_writer_start_element,raptor_xml_writer_end_element):
	Add depth to raptor_format_sax2_element calls.  Decrease it
	and raptor_namespaces_end_for_depth each time.

	* raptor/raptor_namespace.c:
	Moved  error_handler and error_data arguments around.
	(raptor_namespaces_start_namespace) Gets those as arguments
	(raptor_namespaces_start_namespace) Added, simpler version of _full
	(raptor_namespaces_start_namespace_full) Added, was the old interface
	but less error arguments.
	(raptor_namespaces_namespace_in_scope): Fix namespace URI comparison.
	(raptor_namespace_new) Looses error arguments.
	(raptor_namespace_copy) Added, copy to a new stack with a new depth.

	* raptor/raptor_sax2.c (raptor_format_sax2_element):
	Gain stack depth argument.
	Only use namespace declarations when there is a namespace stack
	present.
	copy namespaces to new stack when new ones are needed.

	* raptor/raptor_internal.h:
	Add error_handler and error_data to namespace_stack.
	raptor_namespaces_start_namespace gets those as arguments
	raptor_namespace_new looses them
	raptor_namespaces_start_namespace takes less args
	raptor_namespaces_start_namespace_full added
	raptor_namespace_copy added
	content_cdata_seen and content_element_seen back into sax2_element

	* raptor/raptor_parse.c:
	Moved content_cdata_seen and content_element_seen back into
	sax2_element.
	Update for new raptor_namespaces_start_namespace calling convention.

	* raptor/raptor_xml_writer.c: Debug

	* raptor/raptor_namespace.c (raptor_namespaces_format):
	Fix missing counting : when present

	* raptor/tests/ex-11.rdf, raptor/tests/ex-11.out:
	Updated to declare the html namespace as default, expect it in the
	N-Triples output.

	* raptor/raptor_namespace.c (raptor_namespaces_namespace_in_scope):
	Added, checking if a given
	namespace is declared in scope.
	(raptor_namespaces_format): Added, returning a string to declare
	the given namespace.

	* raptor/raptor_xml_writer.c:
	(raptor_xml_writer_start_element,raptor_xml_writer_end_element):
	Updated for raptor_format_sax2_element new arguments

	* raptor/raptor_sax2.c (raptor_format_sax2_element):
	Add raptor_namespace_stack argument.
	Create xmlns declarations for elements not declared in the current
	stack state, using raptor_namespaces_format to create the string.

	* raptor/raptor_internal.h:
	Added prototypes for raptor_namespaces_namespace_in_scope,
	raptor_namespaces_format
	raptor_format_sax2_element now takes a raptor_namespace_stack

2003-07-27  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/raptor_internal.h:
	raptor_xml_writer prototypes take unsigned char*

	* raptor/raptor_parse.c:
	Move the code building parseType="Literal" strings to
	raptor_xml_writer class.
	(raptor_cdata_grammar): Added, just for symmetry mostly, with most
	code taken from raptor_xml_cdata_handler.

	* raptor/raptor_xml_writer.c:
	Move the code building parseType="Literal" strings to
	raptor_xml_writer class.

	* raptor/Makefile.am: Added raptor_xml_writer.c

	* raptor/raptor_xml_writer.c: Initial version

	* raptor/raptor_parse.c:
	Split content_cdata fields between sax2_element & (RDF/XML
	specific) element.
	raptor_element: Add xml_writer field.
	Various calls changed to use the new raptor_simple_message_handler
	for error handling implemented as raptor_parser_simple_error here.
	(raptor_xml_parser_simple_error_handler): Added, matching the
	raptor_simple_message_handler API and calling raptor_parser_error.
	(raptor_start_element_grammar): When parseType="Literal" appears,
	create a new raptor_xml_writer.
	(raptor_end_element_grammar): When parseType="Literal" ends, delete
	the raptor_xml_writer.

	* raptor/raptor_sax2.c (raptor_format_sax2_element):
	Use raptor_simple_message_handler.

	* raptor/raptor_general.c (raptor_start_parse):
	Use raptor_parser_simple_error with raptor_namespaces_init.
	(raptor_parser_simple_error): Added, matching the
	raptor_simple_message_handler API but same as raptor_parser_error.

	* raptor/raptor_xml.c (raptor_xml_escape_string):
	Use raptor_simple_message_handler.

	* raptor/raptor_qname.c (raptor_new_qname):
	Use raptor_simple_message_handler.

	* raptor/raptor.h: raptor_sax2_element moved here, semi-public.
	Re-ordered URI functions earlier.
	Various methods changed to use (public) raptor_simple_message_handler
	for error handling.

	* raptor/raptor_internal.h: Delete raptor_internal_message_handler.
	Added prototype raptor_parser_simple_error, implementing
	raptor_simple_error_handler API.
	Various methods changed to use (public) raptor_simple_message_handler
	for error handling.
	raptor_sax2_element moved to semi-public raptor.h
	rdf/xml-specific cdata parts moved from raptor_sax2_element to
	raptor_element.
	Added raptor_xml_writer functions.

	* raptor/raptor_namespace.c:
	Use (public) raptor_simple_message_handler for error handling.

2003-07-24  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/raptor_parse.c (raptor_process_property_attributes):
	NFC error message tidy.
	(raptor_end_element_grammar): Fix NFC error reporting and recovery.
	Report NFC validation failures for XML Literals

	* raptor/tests/Makefile.am: Added bad-15 bad-17 for bad NFC checking

	* raptor/tests/bad-16.rdf, raptor/tests/bad-17.rdf,
	raptor/tests/bad-15.rdf: Bad NFC tests for property attribute,
	element, element ptl

	* raptor/configure.ac:
	Added check for g_utf8_normalize in glib 2.0 using pkgconfig.
	Defines HAVE_G_UTF8_NORMALIZE if present.

	* raptor/raptor_internal.h: Added raptor_utf8_is_nfc

	* raptor/raptor_parse.c (raptor_process_property_attributes):
	Check for valid NFC on property
	attribute values.
	(raptor_end_element_grammar): Check for valid NFC on plain literal
	property element values.

	* raptor/raptor_utf8.c (raptor_utf8_is_nfc):
	Added Normal Form C checking, using GNOME glib
	2.0 g_utf8_normalize initially.

	* raptor/raptor_parse.c (raptor_start_element_grammar):
	Forbid property attributes and all
	rdf:* attributes (except rdf:ID) with rdf:parseType

	* raptor/raptor_general.c:
	(raptor_statement_part_as_counted_string,
	raptor_print_statement_part_as_ntriples): Do not emit language for
	datatyped literals.

	* raptor/raptor_parse.c (raptor_process_property_attributes):
	rdf:li is forbidden as a property attribute

	* raptor/raptor_parse.c: rdf_syntax_terms_info table: rdf:li is
	forbidden as a property attribute

	* raptor/libraptor.3: Updated raptor_set_feature for
	RAPTOR_FEATURE_ALLOW_BAGID and
	RAPTOR_FEATURE_ALLOW_RDF_TYPE_RDF_LIST

	* raptor/tests/owl-schema.out, raptor/tests/ex-39.out:
	Updated to remove the <idList> rdf:type rdf:List triples

	* raptor/raptor_general.c (raptor_set_feature,
	raptor_set_parser_strict): Added a new feature
	RAPTOR_FEATURE_ALLOW_RDF_TYPE_RDF_LIST (user argument) and

redland/ChangeLog.4  view on Meta::CPAN

	Use raptor_strcasecmp
	(raptor_uri_is_file_uri): Use raptor_strncasecmp

	* librdf/rdf_parser_libwww.c: No libwww parser

2003-03-31  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/fix-groff-xhtml: more cols

	* raptor/fix-groff-xhtml: More fixes

	* raptor/Makefile.am: Added libraptor.html, fix-groff-xhtml

	* raptor/fix-groff-xhtml: Fix groff output HTML

	* raptor/libraptor.3: deleted repeated URI METHODS

	* raptor/libraptor.3: Updated for 0.9.6->present

2003-03-30  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/examples/grapper.c: Use N-triples output style.
	Pass in URL command line argument

	* raptor/Makefile.am: Added raptor_xml.c

	* raptor/raptor_parse.c (raptor_xml_start_element_handler):
	do XML attribute value
	normalization for libxml2.  Cannot be done properly since the type of
	the attribute is lost.  expat gets it right.
	(raptor_xml_parse_init): Cast for expat XML_SetExternalEntityRefHandler

	* raptor/raptor_xml.c:
	Updated for C14N text/attribute node encoding rules.  Don't de-UTF8
	at the same time.

	* raptor/tests/ex-49.out: > in attribute appears raw

	* raptor/raptor_general.c:
	(main) Moved raptor_validate_xml_ID, raptor_xml_escape_string test
	code to raptor_xml.c

	* raptor/raptor_xml.c: Raptor XML routines

	* raptor/raptor_general.c:
	Moved raptor_validate_xml_ID, raptor_xml_escape_string to raptor_xml.c

	* raptor/tests/Makefile.am: Added ex-49

	* raptor/tests/ex-49.out, raptor/tests/ex-49.rdf:
	Checking escaping in parseType Literal values with XML attributes

	* raptor/raptor_parse.c (raptor_format_element):
	Pass in parser for UTF-8 error handling.
	Use raptor_xml_escape_string for attribute values but
	only malloc/free if lengths changed.
	(raptor_xml_end_element_handler): Update to new
	raptor_xml_escape_string API and only malloc/free it if lengths
	changed.

	* raptor/raptor_parse.c (raptor_xml_cdata_handler):
	Use updated raptor_xml_escape_string API

	* raptor/raptor.h: Added raptor_statement_part_as_counted_string,
	raptor_statement_part_as_string
	Changed raptor_xml_escape_string API

	* raptor/raptor_general.c
	(raptor_statement_part_as_counted_string,
	raptor_statement_part_as_string): Added, making N-triples style
	output from parts of raptor_statement.
	(raptor_xml_escape_string): Change API to take an existing
	buffer/calculate length
	(main): Update for raptor_xml_escape_string.

	* raptor/examples/Makefile.am: Also clean grapper binary

2003-03-29  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/examples/grapper.c: Added N-Triples parsing

	* raptor/examples/Makefile.am: Don't build grapper usually

	* raptor/examples/grapper.c: Raptor GTK GUI example code

	* python/RDF.py, librdf/rdf_parser_raptor.c, librdf/rdf_parser.h,
	librdf/rdf_parser.c, librdf/Makefile.am, docs/redland.pod,
	docs/api.sgml.in, docs/Makefile.am, demos/parser-tests.pl,
	demos/demo.pl, configure.ac: Removed repat

	* librdf/rdf_uri.c (librdf_free_uri): Move world defn inside ifdef

	* raptor/examples/Makefile.am: Added grapper.c

	* raptor/examples/Makefile.am: more deps

	* raptor/raptor_internal.h:
	Added raptor_print_statement_part_as_ntriples prototype

	* raptor/raptor_general.c:
	raptor_print_ntriples_string moved to raptor_general.c
	(raptor_print_statement_part_as_ntriples): Added, internal.
	(raptor_print_statement_as_ntriples): Now uses above.

	* Makefile.am: Removed repat

	* raptor/ntriples_parse.c:
	raptor_print_ntriples_string moved to raptor_general.c

	* librdf/Makefile.am: die recursive make

2003-03-28  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/examples/Makefile.am: another deps attempt

	* raptor/examples/Makefile.am: typo

	* raptor/examples/Makefile.am: Use LDADD and hunt for @REDLAND_LIBS@
	Added $(top_builddir)/../librdf/librdf.la

	* raptor/configure.ac: Hunt for librdf.la in abs dir

redland/ChangeLog.4  view on Meta::CPAN

	* librdf/rdf_init.c: Initial locking for threads from Seth Ladd
	(librdf_free_world): Delete mutex on shutdown.
	(librdf_world_init_mutex): Added (internal) to be used by tests
	rather than initing all of redland.
	(librdf_world_open): Create mutex on startup.

	* configure.ac: Initial locking for threads from Seth Ladd
	Added --with-threads for POSIX threads

2003-03-27  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* demos/demo.pl: utf-8 output

	* librdf/rdf_storage_hashes.c (librdf_storage_hashes_grow_buffer):
	Fix return code sense.
	(librdf_storage_hashes_add_remove_statement): Use calculate length
	for key/value len, not buffer sizes.
	(librdf_storage_hashes_context_add_statement): Return failure if
	contexts aren't enabled and this is called.

	* librdf/rdf_model.c:
	(main) Test code - check get_sources, get_targets, get_arcs

	* python/RDF.py (Stream.context): Use self.stream

2003-03-26  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/raptor_set.c:
	Only use raptor_set_stats_print with RAPTOR_DEBUG

	* raptor/raptor_general.c: Some comment tidying.
	(raptor_start_parse): Docucomment.  Copy the uri into the parser
	structure (base_uri, locator uri), don't just keep the pointer.
	(raptor_free_parser): Free the base URI in the structure, if
	present.

	* raptor/raptor_parse.c (raptor_xml_parse_start):
	Remove uri arg.   Fail if no base URI is
	given - stored in the parser object

	* raptor/ntriples_parse.c (raptor_ntriples_parse_start):
	Remove uri arg.

	* raptor/raptor_internal.h:
	raptor_parser_factory start method: Remove (base) uri arg, it's in
	the object data.

	* raptor/raptor_www.c: Use RAPTOR_FREE,MALLOC,CALLOC
	(raptor_www_free): Free the www object.  Doh.

	* raptor/libraptor.3: raptor_parse_chunk: Takes unsigned char buffer.

	* raptor/libraptor.3:
	raptor_start_parse: Note NULL base URI ok for ntriples

	* raptor/libraptor.3: Typo: raptor_start_parse not raptor_parse_start

	* raptor/raptor_general.c (raptor_xml_escape_string):
	Make it work with 10ffff again

	* raptor/raptor_parse.c (raptor_xml_cdata_handler):
	Cast around raptor_xml_escape_string

	* raptor/raptor_general.c (raptor_xml_escape_string):
	Null terminate new string

	* raptor/raptor_www_libxml.c, raptor/raptor_www.c:
	Use RAPTOR_WWW_BUFFER_SIZE for I/O buffers

	* raptor/raptor_internal.h:
	Define RAPTOR_WWW_BUFFER_SIZE for I/O buffers

	* raptor/rdfdump.c: Declare raptor_stats_print when RAPTOR_DEBUG

	* raptor/raptor_general.c: (raptor_stats_print) C99

	* librdf/rdf_model.c (librdf_model_add_typed_literal_statement):
	Don't free object here,
	librdf_model_add does it as part of freeing the statement.

2003-03-25  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* demos/rss-show.pl, demos/parser-tests.pl, demos/ntriples.pl,
	demos/demo.pl: Updated to 0.9.12 API

2003-03-24  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/rdfdump.c: Call raptor_stats_print with RAPTOR_DEBUG

	* raptor/raptor_set.c: Record set hits/misses with RAPTOR_DEBUG
	(raptor_set_stats_print): Defined with RAPTOR_DEBUG

	* raptor/raptor_internal.h:
	Move raptor_xml_parser typedef here (still internal).
	raptor_xml_parser_stats_print, raptor_set_stats_print: Defined with
	RAPTOR_DEBUG

	* raptor/raptor_parse.c (raptor_xml_parser_stats_print):
	Defined with RAPTOR_DEBUG

	* raptor/raptor_general.c (raptor_stats_print):
	Defined with RAPTOR_DEBUG

	* raptor/raptor_parse.c (raptor_xml_cdata_handler):
	Use raptor_xml_escape_string when content
	type is an XML literal

	* raptor/raptor_general.c (raptor_xml_escape_string):
	Now takes and returns lengths
	Fix assumption of '\0' terminated strings.
	(main): Update for counted strings

	* raptor/raptor.h:
	raptor_xml_escape_string now takes and returns lengths

	* raptor/raptor.h: Added raptor_xml_escape_string

	* raptor/Makefile.am: Added raptor_general_test

	* raptor/raptor_general.c (raptor_xml_escape_string):
	Added, XML-escapes UTF-8 strings.
	(main): Added set of tests for raptor_xml_escape_string

2003-03-23  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor/tests/ex-48.out, raptor/tests/ex-48.rdf:
	ex-48 parse type literal with entity encoding

	* raptor/tests/Makefile.am: Added ex-48

	* raptor/raptor_www_libxml.c (raptor_www_libxml_fetch):
	Make this work again

	* raptor/raptor_parse.c (raptor_record_ID): Dealloc item after adding

	* librdf/rdf_parser_raptor.c: raptor_free now raptor_free_parser
	(librdf_raptor_uri_as_counted_string): Added
	Use it to register the raptor_uri

	* raptor/raptor_parse.c: typo

	* raptor/raptor_parse.c:
	Remove raptor_id_list implementation for ID checking to use raptor_set.
	(raptor_xml_parse_init): Init raptor_set for ids.
	(raptor_xml_parse_terminate): Use raptor_free_set.
	(raptor_record_ID): Use raptor_set_add to check for unique "ID base-URI"
	(raptor_free_ID_list): Gone

	* raptor/raptor_uri.c (raptor_default_uri_as_counted_string,
	(raptor_uri_as_counted_string): Added and used in default factory.

	* raptor/raptor.h: Added raptor_uri_as_counted_string.

	* raptor/raptor_internal.h:
	Added raptor_set and raptor_new_set constructor, raptor_free_set
	destructor and raptor_set_add only method

	* raptor/Makefile.am: Added raptor_set.c, raptor_set_test

	* raptor/raptor_set.c: Raptor sets for ID checking

2003-03-20  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* demos/rss-show.pl: sort feeds case insensitively



( run in 1.039 second using v1.01-cache-2.11-cpan-39bf76dae61 )