This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Raptor RDF parser and serializer library".
The branch, master has been updated
via 41335158e11e2c25625ab6719d302033382883f2 (commit)
from 1356c58be1f3bc2782feac2e762bbe880d96fad1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 41335158e11e2c25625ab6719d302033382883f2
Author: Dave Beckett <[email protected]>
Date: Thu Jan 7 22:37:33 2010 -0800
Moved raptor_error_handlers to one instance in raptor_world.
structs raptor_parser_s and raptor_www_s lose error_handlers field.
struct raptor_world_s gains error_handlers field and new
internal_ignore_errors flag to temporarily disable errors.
(raptor_new_world): Initialise error handlers structure; this is now
the only place in the library this is done the public function
raptor_error_handlers_init_v2()
Consequently raptor_error_handlers_init_v2() could be moved internal
and the raptor_error_handlers structure made just fields in
raptor_world rather than a public structure that is hard to version.
(raptor_world_internal_set_ignore_errors): Added internal function to
disable invoking all error handlers when set. Used in the GRDDL
parser and when WWW-fetching in some cases to ignore parse/404
errors.
(raptor_log_error_to_handlers, raptor_log_error_varargs,
raptor_log_error): Respect the ignore errors flag.
(raptor_grddl_discard_message): Deleted.
(raptor_grddl_fetch_uri): No longer uses above function but instead
calls raptor_world_internal_set_ignore_errors() before and after the
WWW fetch.
(raptor_grddl_run_recursive): Also no longer sets error handlers to
ignore errors and uses raptor_world_internal_set_ignore_errors before
and after running an internal parser.
(raptor_new_parser_v2): Do not init error_handlers field, just set
locator.
(raptor_www_set_error_handler): Deleted; not necessary since the
error_handlers is part of raptor_world not in raptor_www.
(raptor_parse_uri_with_connection): Removed call to
raptor_www_set_error_handler.
(raptor_parser_copy_user_state): Do not copy removed error_handlers
field.
(raptor_www_new_with_connection_v2): Do not init error_handlers field.
-----------------------------------------------------------------------
Summary of changes:
src/raptor_general.c | 22 +++++++++++++++
src/raptor_grddl.c | 70 +++++++++++-------------------------------------
src/raptor_internal.h | 10 ++++---
src/raptor_librdfa.c | 4 +-
src/raptor_parse.c | 37 ++++++++++---------------
src/raptor_rdfxml.c | 2 +-
src/raptor_rss.c | 2 +-
src/raptor_www.c | 28 +------------------
8 files changed, 65 insertions(+), 110 deletions(-)
hooks/post-receive
--
Raptor RDF parser and serializer library
_______________________________________________
redland-commits mailing list
[email protected]
http://lists.librdf.org/mailman/listinfo/redland-commits