David Robillard
7f1d0be3b6
Use more portable defines instead of -D in CFLAGS.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@362 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
87dcd1b035
Clean up wscript.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@361 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
79dc6df5c5
Support digits at start of local names as per new grammar.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@360 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
6fc8a337af
Update to r72/autowaf (don't run ldconfig when destdir is given as an option).
...
git-svn-id: http://svn.drobilla.net/serd/trunk@359 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
dc07fda286
Improve documentation style.
...
Update to r71/autowaf.
git-svn-id: http://svn.drobilla.net/serd/trunk@358 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
4ec88b5ad2
Improve INSTALL file.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@357 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
e7a4fd12b1
Update to r69/autowaf (fix Python3 compatibility).
...
git-svn-id: http://svn.drobilla.net/serd/trunk@356 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
ebf2873856
Bump version.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@355 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
02a41f39b2
Add error callback to reader and writer for custom error reporting.
...
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
11 years ago
David Robillard
1c7fb2461a
Update to r68/autowaf.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@353 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
c65f5f12bb
Fix dead assignment.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@352 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
72e9384685
Reset indent when finishing a write.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@351 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
4de86fdfb6
Add incremental read interface suitable for reading from infinite streams.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@350 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
b05e48f333
Fix absolute path in documentation.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@348 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
8ca845b7dd
Normalise indentation.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@347 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
515cdb91cf
ChangeLog => NEWS.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@346 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
b6ed4d89a1
Update ChangeLog.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@345 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
6a58af6d37
Update to waf 1.6.11 and r67/autowaf.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@344 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
6befd146d6
Use standard command synopsis style.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@343 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
32da26f159
Don't break relative URIs with up-references when parsing a document with no base URI.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@342 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
75ad5aa2a1
Strip duplicate blank lines.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@341 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
08b6811d84
Delete trailing whitespace.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@340 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
1a095b4e8a
Don't emit a ; at the end of anonymous descriptions.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@339 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
91ae836711
Add serd_reader_set_default_graph() for reading a file as a named graph.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@338 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
90830a30aa
Tolerate NULL URI parameter in serd_env_get_base_uri().
...
git-svn-id: http://svn.drobilla.net/serd/trunk@337 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
d14a7d1136
Add serd_writer_set_root_uri(), root parameter to
...
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
11 years ago
David Robillard
60d7a9ff14
Trim redundant case.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@335 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
8c2b149cb2
Fix compilation in VC++.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@334 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
44177f8c18
Add escape parameter to serd_node_new_file_uri().
...
git-svn-id: http://svn.drobilla.net/serd/trunk@333 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
362fa11510
Make serd_node_from_string tolerate NULL.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@332 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
1725dfdf7c
serd_node_new_uri_from_path => serd_node_new_file_uri.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@331 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
f4365012b5
Add serd_writer_get_env().
...
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
11 years ago
David Robillard
7b022006c4
Add serd_chunk_sink for easy writing to a string.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@329 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
5d73ff3a0b
Fix reading of empty files (e.g. /dev/null) test case.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@328 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
fd3eaa93bd
Tolerate NULL endptr in serd_strtod.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@327 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
79545ea09d
Handle files and strings that start with a UTF-8 Byte Order Mark ( fix #814 ).
...
git-svn-id: http://svn.drobilla.net/serd/trunk@326 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
11a87df284
Fix serialisation of decimals like 10.0, 20.0, etc.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@325 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
1663e3e994
Add prefix to generated node IDs as well, to avoid clashing when reading multiple documents into one model.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@324 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
6d82fc9ff3
Bump version.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@323 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
079da60958
Trim code.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@322 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
418a485c00
Add test case and update ChangeLog.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@321 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
30aa350f3e
Report read error if both "genid" and "docid" IDs are found in the same document, to prevent silent merging of distinct blank nodes.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@320 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
5121ecc536
Make -p actually work as advertised.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@319 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
8893d8fcc1
Remove dead code.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@318 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
62b72ec9b7
Trim code.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@317 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
99f6eefd32
Further isolate collection writing stuff.
...
Trim code.
git-svn-id: http://svn.drobilla.net/serd/trunk@316 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
751f22590b
Avoid comparing against NS_XSD several times per node.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@315 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
945ce48b31
Tidy.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@314 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
ae46d9dfd9
Print command name in serdi error messages.
...
Trim code.
git-svn-id: http://svn.drobilla.net/serd/trunk@313 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago
David Robillard
3b8b0a4732
Remove odd assertion.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@312 490d8e77-9747-427b-9fa3-0b8f29cee8a0
11 years ago