aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-03-30Improve branch coverage.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@442 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-30Don't escape backspace or form feed for ntriples.David Robillard1-2/+6
git-svn-id: http://svn.drobilla.net/serd/trunk@440 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-24Set SERD_HAS_NEWLINE and SERD_HAS_QUOTE flags when unescaped newlines or ↵David Robillard2-8/+26
quotes are read. Don't escape legal ASCII characters when writing long literals. git-svn-id: http://svn.drobilla.net/serd/trunk@439 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-24Remove unused SERD_URI enum value.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@438 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-04Support dots and colons in pnames.David Robillard1-29/+50
git-svn-id: http://svn.drobilla.net/serd/trunk@436 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-04Add missing newline.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@434 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-04Improve dot support.David Robillard1-35/+35
Extend test suite to cover more of the new Turtle draft. git-svn-id: http://svn.drobilla.net/serd/trunk@433 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-03Fix crazy logic and redundant call in read_PN_LOCAL().David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@432 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-03Pass negative eval tests (reject invalid escaped URI characters).David Robillard1-15/+18
git-svn-id: http://svn.drobilla.net/serd/trunk@430 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-03Remove dead code.David Robillard1-8/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@429 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-03Don't write xsd:decimal literals to Turtle bare if they would not be read backDavid Robillard1-1/+9
with the same type. Run thru tests on manifest-based test suites. git-svn-id: http://svn.drobilla.net/serd/trunk@428 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-03Remove comments referring to old grammar rules.David Robillard1-33/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@425 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-03Pass turtle-syntax-bad-prefix-01 (propagate errors in write_node).David Robillard1-5/+8
git-svn-id: http://svn.drobilla.net/serd/trunk@424 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-03-02Pass turtle-syntax-number-08.ttl (integer followed by terminating dot).David Robillard1-112/+145
Better error handling. git-svn-id: http://svn.drobilla.net/serd/trunk@423 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-25Support most of the latest Turtle Editor's Draft.David Robillard2-374/+467
git-svn-id: http://svn.drobilla.net/serd/trunk@418 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-24Fix typo.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@415 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-24Generate shorter blank node IDs like the new Turtle test suite.David Robillard1-13/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@414 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-02-03Correctly handle posix_memalign failureDavid Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@411 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2013-01-22Fix possible crash in serd_writer_end_anon() when writing invalid listsDavid Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@409 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-12-23Windows compatibility fixes.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@405 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-12-21Fix crash when serd_node_new_decimal is called with infinity or NaN.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@401 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-12-20Fix crash when resolving against non-standard base URIs.David Robillard1-4/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@400 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-11-14Fix bug that caused "a" abbreviation in non-predicate position (#862).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@399 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-09-09Fix clashing symbol "error" in amalgamation build.David Robillard2-20/+20
git-svn-id: http://svn.drobilla.net/serd/trunk@384 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-08-08Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes ↵David Robillard6-23/+22
-Wmissing-prototypes. git-svn-id: http://svn.drobilla.net/serd/trunk@374 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-08-08Fix incorrect prototype.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@373 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-07-17Support digits at start of local names as per new grammar.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@360 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-07-05Add error callback to reader and writer for custom error reporting.David Robillard6-60/+139
Add -q option to serdi to suppress all non-data output, e.g. errors. Resolves #815. git-svn-id: http://svn.drobilla.net/serd/trunk@354 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-05-13Fix dead assignment.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@352 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-05-10Reset indent when finishing a write.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@351 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-05-08Add incremental read interface suitable for reading from infinite streams.David Robillard2-15/+82
git-svn-id: http://svn.drobilla.net/serd/trunk@350 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-29Don't break relative URIs with up-references when parsing a document with no ↵David Robillard2-7/+9
base URI. git-svn-id: http://svn.drobilla.net/serd/trunk@342 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-28Strip duplicate blank lines.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@341 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-27Delete trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@340 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-27Don't emit a ; at the end of anonymous descriptions.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@339 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-18Add serd_reader_set_default_graph() for reading a file as a named graph.David Robillard1-1/+17
git-svn-id: http://svn.drobilla.net/serd/trunk@338 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-18Tolerate NULL URI parameter in serd_env_get_base_uri().David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@337 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-10Add serd_writer_set_root_uri(), root parameter toDavid Robillard5-115/+188
serd_uri_serialise_relative(), and -r option to serdi, to enable writing URIs with up references (../) within a parent namespace. Resolve dot segments in serd_uri_resolve() instead of at write time. git-svn-id: http://svn.drobilla.net/serd/trunk@336 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-10Trim redundant case.David Robillard1-3/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@335 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08Fix compilation in VC++.David Robillard2-4/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@334 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08Add escape parameter to serd_node_new_file_uri().David Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@333 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08Make serd_node_from_string tolerate NULL.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@332 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08serd_node_new_uri_from_path => serd_node_new_file_uri.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@331 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08Add serd_writer_get_env().David Robillard5-96/+313
Add serd_node_new_uri_from_path() and serd_file_uri_parse() and implement proper URI to/from path hex escaping, etc. Add serd_uri_serialise_relative() for making URIs relative to a base where possible (by chopping a common prefix and adding dot segments). Make URIs serialised by the writer properly escape characters. git-svn-id: http://svn.drobilla.net/serd/trunk@330 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-03Add serd_chunk_sink for easy writing to a string.David Robillard1-0/+19
git-svn-id: http://svn.drobilla.net/serd/trunk@329 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-03Fix reading of empty files (e.g. /dev/null) test case.David Robillard2-8/+8
git-svn-id: http://svn.drobilla.net/serd/trunk@328 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-01Tolerate NULL endptr in serd_strtod.David Robillard1-1/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@327 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-29Handle files and strings that start with a UTF-8 Byte Order Mark (fix #814).David Robillard1-1/+15
git-svn-id: http://svn.drobilla.net/serd/trunk@326 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-28Fix serialisation of decimals like 10.0, 20.0, etc.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@325 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Add prefix to generated node IDs as well, to avoid clashing when reading ↵David Robillard1-8/+13
multiple documents into one model. git-svn-id: http://svn.drobilla.net/serd/trunk@324 490d8e77-9747-427b-9fa3-0b8f29cee8a0