Redland
view release on metacpan or search on metacpan
redland/raptor/ChangeLog view on Meta::CPAN
* src/raptor.h: delete unused raptor_www_fetch_to_string prototype
* src/raptor_www.c: autodocs
(raptor_www_set_source_uri): Added to set URI for content source
(raptor_www_set_source_file_handle): Added to set URI for content
source.
(raptor_www_file_handle_fetch): Added, with guts of
raptor_www_file_fetch.
(raptor_www_file_fetch): Modified to call
raptor_www_file_handle_fetch.
(raptor_www_retrieve): Added to retrieve from whatever source (URI
or handle).
(raptor_www_retrieve_to_string): Added to retrieve from whatever
source (URI or handle) into a string.
(raptor_www_fetch): Now a wrapper over raptor_www_retrieve.
(raptor_www_fetch_to_string): Now a wrapper over
raptor_www_retrieve_to_string.
* src/raptor.h: Added prototypes for raptor_www_set_source_uri,
raptor_www_set_source_file_handle, raptor_www_retrieve,
raptor_www_retrieve_to_string and
raptor_www_fetch_from_file_handle
* src/raptor_internal.h: (struct raptor_www_s) gains a handle
field
* src/raptor_parse.c: autodocs
* src/ntriples_parse.c: autodocs and some code style fixes
2005-09-14 Dave Beckett
* docs/tmpl/section-parser.sgml: new functions
2005-09-10 Dave Beckett
* src/raptor_expat.c: Updates to use new raptor_sax2 handler
style. The user data now points at the raptor_sax2* object, not
the parser.
(raptor_expat_init): send SAX2 events to core raptor_sax2_EVENT
routines.
(raptor_expat_update_document_locator): Moved from raptor_parser.c
* src/raptor_libxml.c: Updates to use new raptor_sax2 handler
style. The user data now points at the raptor_sax2* object, not
the parser. All raptor_parser* references are gone and
error/fatal error/warnings are returned via handler/data pairs.
(raptor_libxml_call_handler): Added to aid returning messages.
Deleted old and unused internal entity resolution code.
(raptor_libxml_init): send SAX2 events to core raptor_sax2_EVENT
routines.
* src/raptor_internal.h: Removed old and hardly tested internal
handling of libxml entities
* src/raptor_rdfxml.c: Rename raptor_xml_* to raptor_rdfxml_* in
structs and functions.
(raptor_rdfxml_start_element_handler,
raptor_rdfxml_end_element_handler, raptor_cdata_grammar): Move
expat BOM fixes to raptor_sax2.c
(raptor_rdfxml_parse_init): Use new raptor_sax2_set_EVENT_handler
methods. Use raptor_sax2_set_locator.
(raptor_get_libxml_context, raptor_set_libxml_document_locator,
raptor_get_libxml_document_locator, raptor_get_libxml_entities,
raptor_set_libxml_entities, raptor_expat_update_document_locator):
Deleted or merged into raptor_sax2.c
* src/raptor_parse.c (raptor_parser_fatal_error_message_handler,
raptor_parser_error_message_handler,
raptor_parser_warning_message_handler): Added handlers that take
location in same style as user message handler callbacks.
(raptor_stats_print): Update for raptor_rdfxml_parser
* src/raptor_locator.c (raptor_update_document_locator): Moved to
raptor_sax2.c
* src/raptor_general.c (raptor_init, raptor_finish): Call
raptor_init_sax2 and raptor_finish_sax2 respectively.
* src/raptor_internal.h: Removed several libxml/expat/rdxml
functions used to be too friendly with internals of other classes.
Renamed raptor_xml_parser to raptor_rdfxml_parser. Updated
prototype of raptor_libxml_update_document_locator. Added new
parser handler prototypes raptor_parser_error_message_handler,
raptor_parser_fatal_error_message_handler and
raptor_parser_warning_message_handler Added handlers for SAX2
events - start element, end element, characters, cdata, comment,
unparsed_entity_decl, external_entity_ref named as
raptor_sax2_EVENT_handler. raptor_sax2 gains a magic field as
this is used as the user data for libxml. raptor_sax2 uses the
handler typedefs for the event handlers. raptor_sax2 gains erorr,
fatal and warning handler and data fields. Added prototypes for
raptor_init_sax2 and raptor_finish_sax2. Updated prototype for
raptor_new_sax2. Added prototypes for
raptor_sax2_set_start_element_handler,
raptor_sax2_set_end_element_handler,
raptor_sax2_set_characters_handler, raptor_sax2_set_cdata_handler,
raptor_sax2_set_comment_handler,
raptor_sax2_set_unparsed_entity_decl_handler and
raptor_sax2_set_external_entity_ref_handler Added prototype for
raptor_sax2_set_locator. Added prototypes for:
raptor_sax2_start_element raptor_sax2_end_element,
raptor_sax2_characters, raptor_sax2_cdata, raptor_sax2_comment,
raptor_sax2_unparsed_entity_decl and
raptor_sax2_external_entity_ref.
* src/raptor_sax2.c: Now a more complete class
(raptor_init_sax2, raptor_finish_sax2): Added, calling any static
initialising/finishing.
(raptor_new_sax2): Added error, fatal_error and warning data and
handler registers. Register magic for libxml2 user_data fixups
(raptor_sax2_set_start_element_handler,
raptor_sax2_set_end_element_handler,
raptor_sax2_set_characters_handler, raptor_sax2_set_cdata_handler,
raptor_sax2_set_comment_handler,
raptor_sax2_set_unparsed_entity_decl_handler,
raptor_sax2_set_external_entity_ref_handler): Added for setting
SAX2 callback handlers.
(raptor_sax2_set_locator): Added, to set SAX2 file locator.
(raptor_sax2_parse_chunk): Update for new handlers, remove all
( run in 1.481 second using v1.01-cache-2.11-cpan-524268b4103 )