aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-01-25Fix/test reading empty files.David Robillard2-4/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@70 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Add serd_reader_read_string.David Robillard4-50/+92
git-svn-id: http://svn.drobilla.net/serd/trunk@69 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Add standard command line stuff (-h and -v).David Robillard1-2/+22
git-svn-id: http://svn.drobilla.net/serd/trunk@68 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Fix memory leaks.David Robillard4-43/+55
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
2011-01-25Fix UTF-8 test file.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@66 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Fix handling of EOF in collections.David Robillard2-2/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@65 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Fix URI resolution of absolute URIs.David Robillard4-18/+17
Better URI test coverage. git-svn-id: http://svn.drobilla.net/serd/trunk@64 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Localise use of fread.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@63 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25fread returns size_t.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@62 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25readahead => peek_string.David Robillard1-6/+6
git-svn-id: http://svn.drobilla.net/serd/trunk@61 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Remove odd/nonsensical/impossible else case.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@60 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Fix crash when parsing malformed numbers.David Robillard4-8/+12
Add bad test cases (reach 95% test coverage). git-svn-id: http://svn.drobilla.net/serd/trunk@59 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Remove unused character escape code.David Robillard2-9/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@58 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Add URI test cases.David Robillard2-0/+11
git-svn-id: http://svn.drobilla.net/serd/trunk@57 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Fix parsing of numbers that begin with a `.'.David Robillard3-1/+16
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 Robillard3-27/+2
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 Robillard6-143/+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 Robillard8-294/+367
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 Robillard4-16/+25
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 Robillard4-126/+63
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 Robillard5-52/+63
git-svn-id: http://svn.drobilla.net/serd/trunk@45 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Document styles.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@44 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23SerdNodeType => SerdType.David Robillard4-30/+30
git-svn-id: http://svn.drobilla.net/serd/trunk@43 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Test language tags with hyphens.David Robillard3-8/+4
Remove unused reader->err. git-svn-id: http://svn.drobilla.net/serd/trunk@42 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Streaming abbreviation.David Robillard5-153/+363
git-svn-id: http://svn.drobilla.net/serd/trunk@41 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Cleaner spacing for documenation stylesheet.David Robillard1-6/+11
git-svn-id: http://svn.drobilla.net/serd/trunk@40 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Add custom doxygen stylesheet (lighter, more standard).David Robillard2-1/+539
git-svn-id: http://svn.drobilla.net/serd/trunk@39 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Emit triples in the correct order for streaming abbreviation.David Robillard2-9/+24
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 Robillard6-159/+156
git-svn-id: http://svn.drobilla.net/serd/trunk@36 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Add custom documentation layout file.David Robillard2-1/+185
git-svn-id: http://svn.drobilla.net/serd/trunk@35 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Cleanup.David Robillard2-477/+475
git-svn-id: http://svn.drobilla.net/serd/trunk@34 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Add output for language test (oops).David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@33 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Add AUTHORS file.David Robillard1-0/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@32 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Add language tag test.David Robillard1-0/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@31 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 Robillard4-29/+84
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 Robillard4-52/+286
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 Robillard2-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@21 490d8e77-9747-427b-9fa3-0b8f29cee8a0