summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2014-11-01 22:17:38 -0700
committerDave Beckett <dave@dajobe.org>2014-11-01 22:17:38 -0700
commit1f7e3697f8328074e4086d2afd62d2698cdce537 (patch)
treedf4b2580a81b51e38eab78c38b506d544d12ec13
parent292998db469d079b118c2008bdae130eb89cab17 (diff)
downloadraptor-1f7e3697f8328074e4086d2afd62d2698cdce537.tar.gz
# 2.0.15
-rw-r--r--ChangeLog136
-rw-r--r--NEWS.html10
-rw-r--r--RELEASE.html59
3 files changed, 198 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f5c23d3..2b5a5828 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,141 @@
+2014-11-01 Dave Beckett <dave@dajobe.org>
+
+ * src/turtle_lexer.l, tests/trig/Makefile.am,
+ tests/trig/bug-584-dos.out, tests/trig/bug-584-dos.trig,
+ tests/trig/bug-584-unix.out, tests/trig/bug-584-unix.trig: Handle
+ \r in TRiG "graph-name {"
+
+ Fixes Issue #0000584
+ http://bugs.librdf.org/mantis/view.php?id=584
+
+ * src/turtle_lexer.l:
+ (turtle_token_print): Add GRAPH_NAME_LEFT_CURLY
+
+ * src/turtle_lexer.l:
+ (turtle_token_print): Add LEFT/RIGHT_CURLY
+
+ * src/turtle_lexer.l:
+ (main): Fix turtle_lexer_test to pass in string, not use yyinput
+
+ * tests/ntriples/Makefile.am, tests/ntriples/bug-577.nt,
+ tests/ntriples/bug-577.out: Add ntriples test bug-577 for URI
+ escaping
+
+ * src/turtle_common.h, src/turtle_parser.y: Rename
+ raptor_turtle_expand_name_escapes to
+ raptor_turtle_expand_qname_escapes
+
+ * src/raptor_internal.h, src/turtle_common.c, src/turtle_lexer.l:
+ (raptor_stringbuffer_append_turtle_string): Enforce URI
+ restrictions.
+
+ Add is_uri argument to distinguish. Report type label correctly.
+ URIs may not have \t \b \n \r \f or raw ' ' or \u0020 or \u003C or
+ \u003E
+
+ Update all raptor_stringbuffer_append_turtle_string callers to
+ pass URI flag.
+
+ * src/raptor_ntriples.c:
+ (raptor_ntriples_parse_term_internal): Enforce URI restrictions.
+ URIs may not have \t \b \n \r \f or raw ' ' or \u0020 or \u003C or
+ \u003E
+
+ * src/raptor_internal.h, src/raptor_ntriples.c,
+ src/turtle_common.c, src/turtle_lexer.l:
+ Remove raptor_turtle_check_uri_string() which is at wrong level.
+
+ Needs to be checked in earlier lexing so e.g. illegal escapes in
+ URIs such as \b are found. For example.
+
+2014-10-28 Dave Beckett <dave@dajobe.org>
+
+ * docs/raptor-changes.tsv, docs/raptor2-sections.txt,
+ src/raptor2.h.in, src/raptor_parse.c, src/raptor_serialize.c:
+ (raptor_world_get_parsers_count,
+ raptor_world_get_serializers_count): Added
+
+ Fixes Issue #0000581
+ http://bugs.librdf.org/mantis/view.php?id=581
+
+2014-10-26 Dave Beckett <dave@dajobe.org>
+
+ * src/raptor_general.c: doc fix
+
+ Fixes Issue #0000579
+ http://bugs.librdf.org/mantis/view.php?id=579
+
+ * src/raptor_iostream.c: Code tidy; use nobj for
+ raptor_iostream_write_bytes() return value.
+
+ Related to Issue #0000575 fix
+
+ * src/raptor_iostream.c:
+ Fix return values for
+ raptor_iostream_{hexa,}decimal_write
+
+ (raptor_iostream_decimal_write,
+ raptor_iostream_hexadecimal_write): Return non-0 if number of
+ objects returned from raptor_iostream_write_bytes() does not match
+ expected length.
+
+ Fixes Issue #0000575
+ http://bugs.librdf.org/mantis/view.php?id=575
+
+ * src/raptor_ntriples.c, src/raptor_term.c,
+ tests/ntriples/Makefile.am, tests/ntriples/bug-574.nt,
+ tests/ntriples/bug-574.out: Accept '_' as alias/typo for '-' in
+ lang strings.
+
+ Replace on parsing.
+ Fixes Issue #0000574
+ http://bugs.librdf.org/mantis/view.php?id=574
+
+2014-10-20 Dave Beckett <dave@dajobe.org>
+
+ * Merge pull request #16 from rhmccullough/rdf-nil do not change
+ "( )" to "rdf:nil"
+
2014-10-19 Dave Beckett <dave@dajobe.org>
+ * docs/Makefile.am, docs/raptor-1-to-2-map.tsv,
+ docs/raptor-changes.tsv: Rename changes file to raptor-changes.tsv
+
+ Not just about v1 to v2
+
+ * scripts/process-changes.pl: Make process-changes.pl report wrong
+ fields count
+
+ * .travis.yml: run autogen.sh not configure twice
+
+ * scripts/install-bison3.sh:
+ delete working dir
+
+ * scripts/install-bison3.sh: sudo
+
+ * .travis.yml: Looks like Travis OS support is not generally
+ available
+
+ http://blog.travis-ci.com/2014-05-13-multi-os-feature-available/
+
+2014-10-19 Richard H. McCullough <rhmccullough@gmail.com>
+
+ * src/raptor_serialize_turtle.c: do not change "( )" to "rdf:nil"
+
+ In tests/turtle: rapper -i turtle -o turtle test-08.ttl
+ changes "( )" to "rdf:nil".
+ This change to src/raptor_serialize_turtle.c will produce "( )" in
+ the output file.
+
+2014-10-19 Dave Beckett <dave@dajobe.org>
+
+ * .travis.yml: Quote TRAVIS_OS_NAME that doesn't always seem to be
+ defined
+
+ * .travis.yml: use test not [ ]
+
+ * RELEASE.html: 2.0.15
+
* .travis.yml, scripts/install-bison3.sh: Travis update attempt
2014-10-12 Dave Beckett <dave@dajobe.org>
diff --git a/NEWS.html b/NEWS.html
index f2677059..3e7a9bac 100644
--- a/NEWS.html
+++ b/NEWS.html
@@ -14,8 +14,14 @@
</p>
<p>Added utility functions for re-entrant sorting of objects and sequences.<br />
-Made other fixes and improvements including fixing reported issue:
-<a href="http://bugs.librdf.org/mantis/view.php?id=576">0000576</a>.
+Made other fixes and improvements including fixing reported issues:
+<a href="http://bugs.librdf.org/mantis/view.php?id=574">0000574</a>,
+<a href="http://bugs.librdf.org/mantis/view.php?id=575">0000575</a>,
+<a href="http://bugs.librdf.org/mantis/view.php?id=576">0000576</a>,
+<a href="http://bugs.librdf.org/mantis/view.php?id=577">0000577</a>,
+<a href="http://bugs.librdf.org/mantis/view.php?id=579">0000579</a>,
+<a href="http://bugs.librdf.org/mantis/view.php?id=581">0000581</a> and
+<a href="http://bugs.librdf.org/mantis/view.php?id=584">0000584</a>.
</p>
<p>See the <a href="RELEASE.html#rel2_0_15">Raptor2 2.0.15 Release Notes</a>
diff --git a/RELEASE.html b/RELEASE.html
index 21b918f9..dfb9952e 100644
--- a/RELEASE.html
+++ b/RELEASE.html
@@ -16,19 +16,58 @@
<p>Issues Fixed:</p>
<ul>
+<li><a href="http://bugs.librdf.org/mantis/view.php?id=574">0000574</a>: Language tags with underscore</li>
+<li><a href="http://bugs.librdf.org/mantis/view.php?id=575">0000575</a>: Wrong API or wrong API documentation</li>
<li><a href="http://bugs.librdf.org/mantis/view.php?id=576">0000576</a>: Wrong assert for a counted string being nul terminated</li>
+<li><a href="http://bugs.librdf.org/mantis/view.php?id=577">0000577</a>: iri parsing does not conform to REC-n-quads-20140225</li>
+<li><a href="http://bugs.librdf.org/mantis/view.php?id=579">0000579</a>: raptor_world_generate_bnodeid accepts world not parser</li>
+<li><a href="http://bugs.librdf.org/mantis/view.php?id=581">0000581</a>: My patch for parser and serializers count</li>
+<li><a href="http://bugs.librdf.org/mantis/view.php?id=584">0000584</a>: raptor fails to parse trig files with dos line endings</li>
</ul>
-<h3>Parser class changes</h3>
+
+<h3>Parser changes</h3>
<p>Fixed <code>raptor_grddl_filter_triples()</code> check for three
URIs which has been broken since 2007 but just did more work. Found
via gcc5 warning.</p>
-<p>Updated librdfa to support full URLs for <code>typeof</code> from
-upstream. Re-checked several tests which have been passing for some
-time but the expected output was not a correct conversion from the
-testsuite sparql.</p>
+<p>The TRiG parser now accepts \r newlines between the graph name and
+the following '{'.
+Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=584">Issue #0000584</a>
+</p>
+
+<p>Turtle, TRiG, N-Triples and N-Quads parsers now check escapes
+correctly for URI strings. \t \b \n \r \f are forbidden. Check that
+raw ' ' or \u0020, \u003C or \u003E are also not accepted.
+Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=577">Issue #0000577</a>
+</p>
+
+<p>N-Triples / N-Quads parsers nwo accept '_' as an alias for '-' in
+lang strings. '_' is not legal.
+Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=574">Issue #0000574</a>
+</p>
+
+<p>Updated RDFa parser (librdfa) to support full URLs for
+<code>typeof</code> from upstream. Re-checked several tests which
+have been passing for some time but the expected output was not a
+correct conversion from the testsuite sparql.</p>
+
+<h3>Serializer changes</h3>
+
+<p>Turtle serializer now writes <code>()</code> instead of
+<code>rdf:nil</code> via
+<a href="https://github.com/dajobe/raptor/pull/16">Pull Request #16</a>
+from Richard H. McCullough. Thanks!
+</p>
+
+<h3>I/O-stream class changes</h3>
+
+<p><code>raptor_iostream_decimal_write()</code> and
+<code>raptor_iostream_hexadecimal_write</code> now return non-0 if
+they do not succeed in writing successfully.
+Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=575">Issue #0000575</a>
+</p>
<h3>Term class changes</h3>
@@ -57,8 +96,18 @@ the length internally.
Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=576">Issue #0000576</a>.
</p>
+<h3>World class Changes</h3>
+
+<p>Added <code>raptor_world_get_parsers_count()</code>
+and <code>raptor_world_get_serializers_count()</code>
+with patch from Victor Porton. Thanks!
+Fixes <a href="http://bugs.librdf.org/mantis/view.php?id=581">Issue #0000581</a>.</p>
+
<h3>Other Changes</h3>
+<p>Made raptor work with Travis CI again; have to download and
+install Bison 3.</p>
+
<p>Added <code>raptor_sort_r()</code> and
<code>raptor_sequence_sort_r()</code> re-entrant sort utility methods
based on the public domain <a