David Robillard
111f9ae323
Add `amalgamate' waf target for building single source file distribution.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@78 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
204428cdee
Remove unused test file.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@77 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
8a2478b3ef
Add man page for serdi.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@76 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
839dd67ed1
Move node functions into API.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@75 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
ee5b1d33ac
Lint.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@74 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
2a4db42ee2
Add `lint' waf target.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@73 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
33c8bc0564
Change source header tag line.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@72 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
69a24cc2a7
Remove cruft.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@71 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
c6d028b2ea
Fix/test reading empty files.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@70 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
b56591a083
Add serd_reader_read_string.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@69 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
b06ab73633
Add standard command line stuff (-h and -v).
...
git-svn-id: http://svn.drobilla.net/serd/trunk@68 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
5b0c4fec31
Fix memory leaks.
...
Push builtin URIs (rdf:type, etc) on parser creation/deletion, rather than at each parse.
git-svn-id: http://svn.drobilla.net/serd/trunk@67 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
2e3ec18723
Fix UTF-8 test file.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@66 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
03e48f15a3
Fix handling of EOF in collections.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@65 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
da60fb781d
Fix URI resolution of absolute URIs.
...
Better URI test coverage.
git-svn-id: http://svn.drobilla.net/serd/trunk@64 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
e6b7791d17
Localise use of fread.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@63 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
835bee0853
fread returns size_t.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@62 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
799a828b02
readahead => peek_string.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@61 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
9640997796
Remove odd/nonsensical/impossible else case.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@60 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
eab3301711
Fix crash when parsing malformed numbers.
...
Add bad test cases (reach 95% test coverage).
git-svn-id: http://svn.drobilla.net/serd/trunk@59 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
e03b4041c0
Remove unused character escape code.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@58 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
18563159fb
Add URI test cases.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@57 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
702208e541
Fix parsing of numbers that begin with a `.'.
...
Add number parsing test case.
git-svn-id: http://svn.drobilla.net/serd/trunk@56 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
634b5459db
Remove support for 5 and 6 byte UTF-8 characters.
...
The UTF-8 spec supports this, but I can't even find real characters to test
it with. There don't seem to be actual Unicode code points this high yet.
If it can't be tested, it can't be useful. Gone.
git-svn-id: http://svn.drobilla.net/serd/trunk@55 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
e4daedb841
Remove SerdString cruft.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@54 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
6903e56e24
Remove SerdString from public API in favour of more expressive (and not necessarily inline with data payload) SerdNode.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@53 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
cffc0e7bb7
Add missing include.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@52 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
ce6f8d7f4e
Fix build (oops).
...
git-svn-id: http://svn.drobilla.net/serd/trunk@51 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
0993d312cb
Faster serd_uri_serialise.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@50 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
2c45a0e0d3
Fix abbreviation.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@49 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
eaec2a93dc
Gracefully handle failure to emit statement.
...
Add test cases for 5 and 6-byte UTF-* characters and undefined namespaces.
git-svn-id: http://svn.drobilla.net/serd/trunk@48 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
bdae0a9015
Shrink code.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@47 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
ebcef72577
Rearrange code, put common internal stuff in serd_internal.h.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@46 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
5de15ccf0a
Code cleanup (appease cpplint).
...
git-svn-id: http://svn.drobilla.net/serd/trunk@45 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
5daf94366e
Document styles.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@44 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
c7dfad1db6
SerdNodeType => SerdType.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@43 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
a3c9e1dacb
Test language tags with hyphens.
...
Remove unused reader->err.
git-svn-id: http://svn.drobilla.net/serd/trunk@42 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
983c964a11
Streaming abbreviation.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@41 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
d7ebb11e67
Cleaner spacing for documenation stylesheet.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@40 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
785e82abee
Add custom doxygen stylesheet (lighter, more standard).
...
git-svn-id: http://svn.drobilla.net/serd/trunk@39 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
70b81af906
Emit triples in the correct order for streaming abbreviation.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@38 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
88a315b8ec
Pass context (current graph, subject, predicate) as a struct to functions that need it.
...
Allows for proper support for graphs (i.e. TriG), among other things...
git-svn-id: http://svn.drobilla.net/serd/trunk@37 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
752051a76a
SerdNamespaces => SerdEnv.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@36 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
af3398a407
Add custom documentation layout file.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@35 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
cb8a2efb80
Cleanup.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@34 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
ab6e7da833
Add output for language test (oops).
...
git-svn-id: http://svn.drobilla.net/serd/trunk@33 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
080e365140
Add AUTHORS file.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@32 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
d66979a8e8
Add language tag test.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@31 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
f022298e80
Remove unnecessary case.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@30 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago
David Robillard
87e4ef197e
Remove unnecessary writer->prev_o.
...
git-svn-id: http://svn.drobilla.net/serd/trunk@29 490d8e77-9747-427b-9fa3-0b8f29cee8a0
13 years ago