Redland
view release on metacpan or search on metacpan
redland/ChangeLog.6 view on Meta::CPAN
rasqal/tests/sparql/ExprEquals/result-eq-graph-3.ttl,
rasqal/tests/sparql/ExprEquals/result-eq-graph-4.ttl,
rasqal/tests/sparql/ExprEquals/result-eq-graph-5.ttl: Added new
tests
* rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/Makefile.am: Added
the 9 EXPECTED_SPARQL_PARSER_FAILURES
* rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/Makefile.am: Added
3 EXPECTED_SPARQL_PARSER_FAILURES: syn-05.rq syn-06.rq syn-07.rq
* rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/Makefile.am: ADded
3 EXPECTED_SPARQL_CORRECT_FAILURES: syn-05.rq syn-06.rq syn-07.rq
* rasqal/tests/sparql/check-sparql: If returning no results and
expect fail, return 1
* rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL2/Makefile.am: Added
9 EXPECTED_SPARQL_CORRECT_FAILURES
* rasqal/tests/sparql/ExprEquals/Makefile.am: Failures +1:
"Equality - 2 var - test equals -- graph", total 3
* rasqal/tests/sparql/check-sparql: report if expected failure
happens OK early on
* rasqal/tests/sparql/ExprEquals/manifest.n3: Update to DAWG CVS
2005-09-21 Dave Beckett <dave@dajobe.org>
* raptor/utils/rdfdiff.c: Some code style tidying.
(rdfdiff_statement_equals): Fix comparisons of literals with/out
language with/out datatype.
* raptor/tests/Makefile.am: break on error with rdfxml
* raptor/src/raptor_serialize.c (raptor_new_serializer): Init
default xml_version to 10 (XML 1.0)
* raptor/src/raptor_uri.c:
(raptor_new_uri_for_xmlbase, raptor_new_uri_for_retrieval): Set
ud->path_len to 1 when adding a default path of / Fixes bug
0000045 http://bugs.librdf.org/mantis/view.php?id=45
2005-09-20 Dave Beckett <dave@dajobe.org>
* raptor/src/raptor_serialize_rdfxmla.c
(raptor_rdfxmla_serialize_start): Pass down xml_version to the
raptor_xml_writer and write the versioned header.
* raptor/src/raptor_serialize_rdfxml.c
(raptor_rdfxml_serialize_start): Pass down xml_version to the
raptor_xml_writer and write the versioned header.
* raptor/src/raptor_xml_writer.c: Add xml_version to
raptor_xml_writer structure.
(raptor_iostream_write_xml_element_start): Add xml_version field
and pass it down to the XML escape function.
(raptor_new_xml_writer): Init xml_version to 10.
(raptor_xml_writer_empty_element, raptor_xml_writer_start_element,
raptor_xml_writer_cdata, raptor_xml_writer_cdata_counted): Pass
down xml_version.
(raptor_xml_writer_set_feature, raptor_xml_writer_get_feature):
Handle RAPTOR_FEATURE_WRITER_XML_VERSION.
* raptor/src/raptor_xml.c (raptor_xml_any_escape_string,
raptor_iostream_write_xml_any_escaped_string): Added, handling XML
1.0 or XML 1.1 Error if writing #x1-#x1f (excluding #x9, #xA, #xD)
or #x7F for XML 1.0
* raptor/src/raptor_serialize.c (raptor_serializer_set_feature,
raptor_serializer_get_feature): Add
RAPTOR_FEATURE_WRITER_XML_VERSION
* raptor/src/raptor_parse.c: switch on enum updates for feature
RAPTOR_FEATURE_WRITER_XML_VERSION for serializer and xml writer
* raptor/src/raptor_feature.c: Added
RAPTOR_FEATURE_WRITER_XML_VERSION for serializer and xml writer
with short name xmlVersion
* raptor/src/raptor.h: Added RAPTOR_FEATURE_WRITER_XML_VERSION for
serializer, xml writer. Added prototypes for
raptor_xml_any_escape_string and
raptor_iostream_write_xml_any_escaped_string
* raptor/src/raptor_internal.h: raptor_serializer_s gains an
xml_version field
* raptor/src/raptor_sax2.c (raptor_sax2_parse_chunk): Once more
with static buffer, no vsnprintf
* raptor/src/raptor_sax2.c (raptor_sax2_parse_chunk): Fix error
message with 2 args for expat using raptor_vsnprintf.
* raptor/src/raptor_namespace.c (raptor_namespaces_format): XML
escape the written namespace name URI
* raptor/tests/ex-59.rdf: correct result
* raptor/tests/ex-59.nt, raptor/tests/ex-59.rdf: Test rdfxml
serializer escapes dquote in uri attrs
* raptor/tests/Makefile.am: Added RDF_SERIALIZE_TEST_FILES,
RDF_SERIALIZE_OUT_FILES and ex-59 for testing the rdfxml
serializer
* raptor/examples/Makefile.am: fix libraptor.la dir
2005-09-18 Dave Beckett <dave@dajobe.org>
* raptor/src/raptor_rdfxml.c (raptor_generate_statement): When
reifiying, just copy predicate_type.
* raptor/src/raptor_uri.c (raptor_uri_equals): Alter to accept
NULL pointers, which do not compare equal to a non-NULL URI. NULL
does equal NULL.
* raptor/src/raptor.h: Document that
RAPTOR_IDENTIFIER_TYPE_PREDICATE is never generated by a parser
from now, replaced by RAPTOR_IDENTIFIER_TYPE_RESOURCE and
redland/ChangeLog.6 view on Meta::CPAN
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/filter-missing-parens.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/lone-list.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/lone-node.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/manifest.ttl,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-07.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-08.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-01.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-02.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-03.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-04.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-05.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-06.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-07.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-08.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-09.rq,
rasqal/tests/sparql/SyntaxDev/Syntax-SPARQL3/syn-bad-10.rq: Added
unapproved sparql syntax tests from DAWG SyntaxDev area
* rasqal/tests/sparql/check-sparql: Ad -n flag if no data is
present
* rasqal/tests/sparql/check-sparql: Handle expect fail tests of
type mfx:TestBadSyntax Check return code of roqet for failing.
* rasqal/tests/sparql/check-sparql: Handle mfx:SyntaxType
rdf:typed actions and in that case pick up the action node as the
query to use (no data, no result) Only evaluate queries that have
files
2005-09-10 Dave Beckett <dave@dajobe.org>
* raptor/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
* raptor/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.
* raptor/src/raptor_internal.h: Removed old and hardly tested
internal handling of libxml entities
* raptor/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
* raptor/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
* raptor/src/raptor_locator.c (raptor_update_document_locator):
Moved to raptor_sax2.c
* raptor/src/raptor_general.c (raptor_init, raptor_finish): Call
raptor_init_sax2 and raptor_finish_sax2 respectively.
* raptor/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.
* raptor/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
mention of raptor_parser. Use this object (raptor_sax2*) as the
user data now, not an external raptor_parser*.
(raptor_sax2_update_document_locator): Added, updating the current
location for the internal parser.
(raptor_sax2_start_element): Added, internal function calling the
start element handler, adding various workarounds needed.
(raptor_sax2_end_element): Added, internal function calling the
end element handler, adding various workarounds needed.
(raptor_sax2_characters, raptor_sax2_cdata, raptor_sax2_comment,
raptor_sax2_unparsed_entity_decl,
raptor_sax2_external_entity_ref): Added, internal functions
calling the same-named handler.
2005-09-09 Dave Beckett <dave@dajobe.org>
* raptor/docs/raptor-sections.txt: Added new fns
* rasqal/docs/rasqal-sections.txt: No rasqal_variable_s
* rasqal/docs/tmpl/section-graph_pattern.sgml,
rasqal/docs/tmpl/section-query.sgml: add new fns
* rasqal/docs/tmpl/section-literal.sgml: remove dup text
* rasqal/docs/rasqal-sections.txt: add new fns
* rasqal/src/Makefile.am, rasqal/utils/Makefile.am: Include
@RASQAL_INTERNAL_LIBS@ in linking flags to ensure internal raptor
is used.
* raptor/src/raptor_internal.h (raptor_parser_s): Add new fields
to the end of the struct; add unused1 to try to make old offsets
work
* docs/tmpl/iterator.sgml: sgml docs for iterator
* docs/tmpl/stream.sgml: sgml docs for stream
* raptor/src/raptor_namespace.c (raptor_namespaces_init): Remove
un-necessary casts for constant namespace names.
* raptor/src/raptor_uri.c
(raptor_uri_uri_string_to_filename_fragment): For win32, only
remove leading / if there is one present. (patch from John
C. Barstow)
(main): Correct test case result to match above.
* raptor/src/raptor_xslt.c (raptor_xslt_parse_chunk): If the
content is in one chunk and is_end is true, call xmlParseChunk
with the is_end flag. (René Puls)
2005-09-07 Dave Beckett <dave@dajobe.org>
* raptor/src/n3_parser.y, raptor/src/turtle_parser.y (statement):
Handle error recovery when subject is NULL
2005-09-06 Dave Beckett <dave@dajobe.org>
* raptor/utils/rapper.c: fix #ifdef SHOW_NAMESPACES_FLAG
* raptor/src/turtle_common.c
(raptor_stringbuffer_append_turtle_string): Do not check unsigned
for <0
* raptor/src/raptor_xml.c (raptor_xml_name_check): Do not check
unsigned for <0
* raptor/src/raptor_utf8.c (raptor_utf8_check): Do not check
unsigned for <0
redland/ChangeLog.6 view on Meta::CPAN
* raptor/configure.ac: check for gtk-doc
* raptor/src/raptor-config.1: Document --features and --help.
Order flags alphabetically in summary and body.
* raptor/src/raptor-config.in: Add --features argument to list
configured or discovered features of the raptor library
* raptor/configure.ac: Add AC_SUBSTs for recording discovered
features: RAPTOR_WWW_LIBRARY (or none), RAPTOR_XML_PARSER (or
none), RAPTOR_PARSERS (list) and RAPTOR_SERIALIZERS (list).
* rasqal/src/rasqal.h, rasqal/src/rasqal_expr.c: autodocs fixes -
use %RASQAL_
* rasqal/docs/tmpl/section-graph_pattern.sgml: use %RASQAL
2005-08-18 Dave Beckett <dave@dajobe.org>
* rasqal/docs/tmpl/section-query_results.sgml,
rasqal/docs/tmpl/section-literal.sgml,
rasqal/docs/tmpl/section-query.sgml: document literal, query,
query_results types
* rasqal/docs/rasqal-sections.txt: Add rasqal_query and
rasqal_query_results
* rasqal/docs/rasqal-overrides.txt: override rasqal_query and
rasqal_query_results
* rasqal/docs/Makefile.am: Make gtkdoc-mkdb ignore the C files
* raptor/src/raptor_sax2.c (raptor_sax2_parse_start): Fix for
expat
* raptor/src/raptor_rdfxml.c
(raptor_xml_unparsed_entity_decl_handler,
raptor_xml_external_entity_ref_handler): Casts for gcc4
* raptor/src/raptor_expat.c (raptor_expat_init): Casts for expat
to use sax2 handlers.
* raptor/src/raptor_internal.h: Move raptor_sax2 declaration
outside libxml-only block Fixup general arguments for
raptor_xml_unparsed_entity_decl_handler and
raptor_xml_external_entity_ref_handler.
* raptor/src/raptor_rdfxml.c
(raptor_xml_unparsed_entity_decl_handler,
raptor_xml_external_entity_ref_handler): Generalise args from
expat-specific.
(raptor_xml_parse_init): Init sax2 handler fields
* raptor/src/raptor_libxml.c (raptor_libxml_init): Use sax2
structure handlers
* raptor/src/raptor_expat.c (raptor_expat_init): Use sax2
structure handlers
* raptor/src/raptor_internal.h: raptor_sax2 gains handlers for
start/end element, characters, cdata, comment, unparsed entity
declaration, extenal entity reference.
* rasqal/src/rasqal_query.c (rasqal_graph_pattern_visit): Make
this recursive.
* rasqal/tests/sparql/ExprBuiltins/Makefile.am: datatype-1 works
* rasqal/src/rasqal_expr.c (rasqal_expression_evaluate): For
datatype, if is a typed literal it has a datatype field then
return that, otherwise fail.
* rasqal/tests/sparql/ExprBuiltins/Makefile.am: str-1 passes
* raptor/src/raptor_sax2.c (raptor_sax2_parse_start): Init expat
and libxml the same
* raptor/src/raptor_libxml.c (raptor_libxml_init): Take
raptor_sax2* and raptor_uri* args
* raptor/src/raptor_expat.c (raptor_expat_init): Take raptor_sax2*
and raptor_uri* args
* raptor/src/raptor_internal.h: raptor_libxml_init and
raptor_expat_init take same args
* raptor/src/n3_parser.y, raptor/src/ntriples_parse.c,
raptor/src/raptor_guess.c, raptor/src/raptor_rdfxml.c,
raptor/src/raptor_rss.c, raptor/src/raptor_xslt.c,
raptor/src/turtle_parser.y: Update uses of
raptor_parser_register_factory to remove alias argument and add
calls to raptor_parser_factory_add_alias for raptor
(rdfxml) and ntriplesplus (turtle)
* raptor/src/raptor_internal.h: Update
raptor_parser_register_factory prototype to return the registered
factory and remvoe the alias arg. Added prototype for
raptor_parser_factory_add_alias
* raptor/src/raptor_parse.c (raptor_parser_register_factory): Now
returns the registered factory. Removed alias arg into new
function:
(raptor_parser_factory_add_alias): Added.
2005-08-17 Dave Beckett <dave@dajobe.org>
* raptor/src/Makefile.am: maintainer clean n3 files
* raptor/src/Makefile.am: clean n3 tests
* raptor/src/n3_lexer.l (n3_lexer_syntax_error): Added, from
turtle.
* raptor/src/n3_lexer.l: Added n3_lexer_syntax_error
(<LITERAL>\"\"\"): Copy just the len and always terminate the
string.
(n3_copy_string_token): Handle empty strings without stringbuffer
and use raptor_stringbuffer_append_turtle_string for escapes.
Ensure string is always termianted.
* raptor/src/n3_common.h: added stringbuffer field
( run in 0.814 second using v1.01-cache-2.11-cpan-39bf76dae61 )