aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-01-25Fix parsing of numbers that begin with a `.'.David Robillard1-1/+1
Add number parsing test case. git-svn-id: http://svn.drobilla.net/serd/trunk@56 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-24Remove support for 5 and 6 byte UTF-8 characters.David Robillard2-24/+0
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
2011-01-24Remove SerdString cruft.David Robillard5-142/+55
git-svn-id: http://svn.drobilla.net/serd/trunk@54 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-24Remove SerdString from public API in favour of more expressive (and not ↵David Robillard7-231/+323
necessarily inline with data payload) SerdNode. git-svn-id: http://svn.drobilla.net/serd/trunk@53 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Add missing include.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@52 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Fix build (oops).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@51 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Faster serd_uri_serialise.David Robillard2-23/+37
git-svn-id: http://svn.drobilla.net/serd/trunk@50 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Fix abbreviation.David Robillard1-4/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@49 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Gracefully handle failure to emit statement.David Robillard2-15/+18
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
2011-01-23Shrink code.David Robillard3-106/+47
git-svn-id: http://svn.drobilla.net/serd/trunk@47 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Rearrange code, put common internal stuff in serd_internal.h.David Robillard4-45/+37
git-svn-id: http://svn.drobilla.net/serd/trunk@46 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Code cleanup (appease cpplint).David Robillard4-48/+61
git-svn-id: http://svn.drobilla.net/serd/trunk@45 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23SerdNodeType => SerdType.David Robillard3-22/+22
git-svn-id: http://svn.drobilla.net/serd/trunk@43 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Test language tags with hyphens.David Robillard1-8/+2
Remove unused reader->err. git-svn-id: http://svn.drobilla.net/serd/trunk@42 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Streaming abbreviation.David Robillard4-140/+298
git-svn-id: http://svn.drobilla.net/serd/trunk@41 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Emit triples in the correct order for streaming abbreviation.David Robillard1-8/+23
git-svn-id: http://svn.drobilla.net/serd/trunk@38 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Pass context (current graph, subject, predicate) as a struct to functions ↵David Robillard1-49/+59
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
2011-01-22SerdNamespaces => SerdEnv.David Robillard4-133/+129
git-svn-id: http://svn.drobilla.net/serd/trunk@36 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Cleanup.David Robillard1-452/+450
git-svn-id: http://svn.drobilla.net/serd/trunk@34 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Remove unnecessary case.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@30 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Remove unnecessary writer->prev_o.David Robillard1-6/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@29 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Full rount-trip test coverage for Turtle reading and writing.David Robillard3-14/+51
Fix writing UTF-8 URIs. Improved test coverage. git-svn-id: http://svn.drobilla.net/serd/trunk@28 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Fix command line argument handling when options are given.David Robillard1-3/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@27 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Tidy.David Robillard1-5/+9
git-svn-id: http://svn.drobilla.net/serd/trunk@26 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Faster/terser/more consistent character escape reading.David Robillard1-48/+45
git-svn-id: http://svn.drobilla.net/serd/trunk@25 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Clean up whitespace handling (properly deal with errors while expecting ↵David Robillard1-20/+12
whitespace). git-svn-id: http://svn.drobilla.net/serd/trunk@24 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Gracefully stop parsing on error (i.e. report exactly one error for each bad ↵David Robillard3-66/+97
test). git-svn-id: http://svn.drobilla.net/serd/trunk@23 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Preliminary support for writing abbreviated Turtle.David Robillard2-34/+247
git-svn-id: http://svn.drobilla.net/serd/trunk@22 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Rename write.c to writer.c for consistency.David Robillard1-0/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@21 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Make writer write to any sink passed in by the user.David Robillard3-57/+56
git-svn-id: http://svn.drobilla.net/serd/trunk@20 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Fix language tag reading and writing.David Robillard3-4/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@18 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Shhh.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@16 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Support passing no base URI on command line (use filename as base URI).David Robillard3-22/+45
Decent usage output. git-svn-id: http://svn.drobilla.net/serd/trunk@15 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Add writer API.David Robillard3-23/+86
git-svn-id: http://svn.drobilla.net/serd/trunk@14 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Add serd_string_free to API.David Robillard3-6/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@13 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Flesh out documentation.David Robillard4-6/+6
git-svn-id: http://svn.drobilla.net/serd/trunk@12 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Fix memory errors (full test suite passes with zero errors or leaks reported ↵David Robillard1-3/+2
by valgrind). git-svn-id: http://svn.drobilla.net/serd/trunk@11 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Run, and pass all, bad tests.David Robillard4-68/+74
Fix memory errors. git-svn-id: http://svn.drobilla.net/serd/trunk@10 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Use appropriate type (uint8_t, i.e. byte) for peek/eat/push API (which is ↵David Robillard1-145/+135
byte-oriented, not wide character oriented). git-svn-id: http://svn.drobilla.net/serd/trunk@9 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Rework character reading functions to support reading multi-byte characters ↵David Robillard6-300/+401
(take a string dest parameter instead of returning uchar). Escape ntriples output. Pass all good read tests with output verification. git-svn-id: http://svn.drobilla.net/serd/trunk@8 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Fix memory management on collection parsing.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@7 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Collection parsing.David Robillard1-20/+92
git-svn-id: http://svn.drobilla.net/serd/trunk@6 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-19Add autowaf external.David Robillard1-29/+53
git-svn-id: http://svn.drobilla.net/serd/trunk@3 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-19Initial import.David Robillard4-0/+2068
git-svn-id: http://svn.drobilla.net/serd/trunk@2 490d8e77-9747-427b-9fa3-0b8f29cee8a0