aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard2-18/+20
Fix amalgamation. git-svn-id: http://svn.drobilla.net/serd/trunk@298 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-18Make serd_node_new_integer take int64_t instead of long.David Robillard3-7/+7
Turns out long is sometimes 32-bits even on modern 64-bit machines on certain insane Operating Systems... git-svn-id: http://svn.drobilla.net/serd/trunk@297 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-17Fix syntax errors in man pages.David Robillard1-19/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@296 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Avoid non-portable %zu (offset is of dubious value in this case anyway).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@295 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Compile with -MD on Windows so passing a FILE* between DLLs doesn't crash.David Robillard1-6/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@294 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Fix test suite on UNIX when . is not in PATH.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@293 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Fix compilation on sane platforms.David Robillard4-6/+15
git-svn-id: http://svn.drobilla.net/serd/trunk@292 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Support compilation as C++ under MSVC++David Robillard12-72/+111
git-svn-id: http://svn.drobilla.net/serd/trunk@291 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Update to r63/autowafDavid Robillard1-0/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@290 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Update to r62/autowaf.David Robillard1-0/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@289 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Fix test suite link errors when gcov is unavailable.David Robillard1-9/+10
git-svn-id: http://svn.drobilla.net/serd/trunk@288 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Make gcov check non-mandatory.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@287 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Fix test suite compilation when -lgcov is unavailable.David Robillard1-2/+11
git-svn-id: http://svn.drobilla.net/serd/trunk@286 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Update copyright dates.David Robillard12-13/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@285 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Fix test suite with Python 2.4.David Robillard1-2/+7
git-svn-id: http://svn.drobilla.net/serd/trunk@284 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-14Lint.David Robillard5-11/+11
git-svn-id: http://svn.drobilla.net/serd/trunk@283 490d8e77-9747-427b-9fa3-0b8f29cee8a0