aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-04-18Fix absolute path in documentation.David Robillard2-3/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@348 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-04-18Normalise indentation.David Robillard1-8/+8
git-svn-id: http://svn.drobilla.net/serd/trunk@347 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-04-18ChangeLog => NEWS.David Robillard1-0/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@346 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-04-18Update ChangeLog.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@345 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-04-17Update to waf 1.6.11 and r67/autowaf.David Robillard1-0/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@344 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-04-13Use standard command synopsis style.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@343 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-29Don't break relative URIs with up-references when parsing a document with no ↵David Robillard4-7/+11
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 Robillard2-2/+2
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 Robillard5-19/+61
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 Robillard13-116/+235
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 Robillard3-9/+16
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 Robillard2-0/+9
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 Robillard4-14/+14
git-svn-id: http://svn.drobilla.net/serd/trunk@331 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08Add serd_writer_get_env().David Robillard9-101/+464
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 Robillard5-3/+66
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 Robillard4-1/+20
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 Robillard2-3/+3
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
2012-02-21Bump version.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@323 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Trim code.David Robillard1-4/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@322 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Add test case and update ChangeLog.David Robillard2-0/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@321 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Report read error if both "genid" and "docid" IDs are found in the same ↵David Robillard1-7/+13
document, to prevent silent merging of distinct blank nodes. git-svn-id: http://svn.drobilla.net/serd/trunk@320 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Make -p actually work as advertised.David Robillard1-17/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@319 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Remove dead code.David Robillard1-8/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@318 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Trim code.David Robillard1-16/+9
git-svn-id: http://svn.drobilla.net/serd/trunk@317 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Further isolate collection writing stuff.David Robillard1-34/+24
Trim code. git-svn-id: http://svn.drobilla.net/serd/trunk@316 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Avoid comparing against NS_XSD several times per node.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/serd/trunk@315 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Tidy.David Robillard1-7/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@314 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-21Print command name in serdi error messages.David Robillard3-51/+33
Trim code. git-svn-id: http://svn.drobilla.net/serd/trunk@313 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-20Remove odd assertion.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@312 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-20Update ChangeLog.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@311 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-20Trim some fat by taking advantage of ReadContext for statement emission.David Robillard1-16/+9
git-svn-id: http://svn.drobilla.net/serd/trunk@310 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-20Fix collection parsing code to not leak stack space.David Robillard4-183/+151
Collection parsing now truly uses O(1) memory. Trim some fat. git-svn-id: http://svn.drobilla.net/serd/trunk@309 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-20Fix collection writing memory leaks.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@308 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-20Break collection writing out into a simple separate case to avoid confusing ↵David Robillard1-22/+24
the triple writing code. git-svn-id: http://svn.drobilla.net/serd/trunk@307 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-20Use iterative algorithm for collection parsing.David Robillard4-61/+57
git-svn-id: http://svn.drobilla.net/serd/trunk@306 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-20Implement pretty-printing for collections.David Robillard13-96/+319
git-svn-id: http://svn.drobilla.net/serd/trunk@305 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-09Add missing files.David Robillard2-0/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@304 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-05Add Windows path test cases (100% coverage for uri.c).David Robillard1-0/+8
git-svn-id: http://svn.drobilla.net/serd/trunk@303 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-05Update to r65/autowaf and waf-1.6.10.David Robillard3-2/+11
git-svn-id: http://svn.drobilla.net/serd/trunk@302 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-01Update to r64/autowaf.David Robillard1-0/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@301 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-01Use failure() function for all test failures.David Robillard1-108/+70
git-svn-id: http://svn.drobilla.net/serd/trunk@300 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-01Fix jumps past variable initialization.David Robillard1-4/+6
git-svn-id: http://svn.drobilla.net/serd/trunk@299 490d8e77-9747-427b-9fa3-0b8f29cee8a0