aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-05-04Fix too-short buffer.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@156 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-30Use descriptive return codes instead of boolDavid Robillard6-74/+63
git-svn-id: http://svn.drobilla.net/serd/trunk@154 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-30Consistent error messagesDavid Robillard4-14/+14
git-svn-id: http://svn.drobilla.net/serd/trunk@152 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-27Don't hide pointers in typedefs.David Robillard4-119/+118
git-svn-id: http://svn.drobilla.net/serd/trunk@150 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-24Fix reader memory stack use and verify read_object fully clears its stack.David Robillard3-33/+66
Make abbreviation in writer not assume equivalent nodes have equivalent addresses (abbreviate more than on input if triples are sorted correctly, e.g. abbrevate ntriples) git-svn-id: http://svn.drobilla.net/serd/trunk@149 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-23Fix stack memory leak (unbounded memory increasing per read triple, oops).David Robillard1-3/+5
Parsing of arbitrarily large ntriples files now takes place in a single page of memory, provided the data for a single triple fits in a single page (e.g. any case but very large literal objects). git-svn-id: http://svn.drobilla.net/serd/trunk@148 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-23Improve node struct alignmentDavid Robillard2-5/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@147 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-23Fix parsing of language tags with several hyphens.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@146 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-23Tidy.David Robillard7-7/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@145 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-23Fix crazy define name.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@144 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-22Fix license header (awk oops).David Robillard7-7/+7
git-svn-id: http://svn.drobilla.net/serd/trunk@143 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-22Switch to ISC license (legally equivalent to MIT license but with less ↵David Robillard7-140/+84
obnoxious lawyer noise). git-svn-id: http://svn.drobilla.net/serd/trunk@139 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-16Update copyright headersDavid Robillard3-3/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@137 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-03-28Fix serdi on Windows (support file:///C:/... URIs)David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@132 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-03-19Fix references to old license.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@127 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-03-02Shrink.David Robillard1-2/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@115 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-03-02Fix parsing several files/strings with the same parser.David Robillard1-0/+26
Add serd_read_state_expand. git-svn-id: http://svn.drobilla.net/serd/trunk@114 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-25Abstract common read state tracking code (SerdReadState) to make user code ↵David Robillard2-73/+118
less tedious. git-svn-id: http://svn.drobilla.net/serd/trunk@110 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-25Switch to 2-clause BSD license.David Robillard7-120/+168
git-svn-id: http://svn.drobilla.net/serd/trunk@105 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-16Make serd_writer_set_prefix return bool so it is compatible with ↵David Robillard2-11/+20
SerdPrefixSink and can be used with serd_env_foreach. Add SERD_STYLE_CURIED option to shorten URIs in output where possible. Fix serd_env_qualify. git-svn-id: http://svn.drobilla.net/serd/trunk@102 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-16Add SERD_STYLE_RESOLVED option for resolving (expanding) relative URIs in ↵David Robillard2-0/+38
output. Add serd_env_qualify and serd_env_foreach. git-svn-id: http://svn.drobilla.net/serd/trunk@101 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-16Fix serd_node_new_uri_from_string with empty string.David Robillard1-5/+8
git-svn-id: http://svn.drobilla.net/serd/trunk@100 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-16Turtle rdf:type, xsd:decimal, xsd:integer, and xsd:float abbreviation.David Robillard1-1/+21
Automatically finish writing in serd_writer_free if necessary. git-svn-id: http://svn.drobilla.net/serd/trunk@99 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-10Add serd_node_new_uri_from_string.David Robillard1-1/+10
git-svn-id: http://svn.drobilla.net/serd/trunk@98 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-10Add base parameter to serd_node_new_uri and add serd_node_new_uri_from_node.David Robillard2-28/+50
git-svn-id: http://svn.drobilla.net/serd/trunk@97 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-10Make serd_uri_resolve return void, since it has no error case anyway.David Robillard3-17/+10
git-svn-id: http://svn.drobilla.net/serd/trunk@96 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-04Fix parsing double with signs in their exponents (e.g. 1.234e+56).David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@95 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-03Fix memory error caused by r89.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@92 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-03Add ability to set blank node prefix for parsing several files without conflict.David Robillard1-2/+16
git-svn-id: http://svn.drobilla.net/serd/trunk@91 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-03Add serd_node_from_string.David Robillard1-0/+10
git-svn-id: http://svn.drobilla.net/serd/trunk@90 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-03Write "//" for URIs with empty authorities (e.g. the correct file:///foo/bar ↵David Robillard1-1/+4
instead of the incorrect file:/foo/bar, even though the authority has length zero). git-svn-id: http://svn.drobilla.net/serd/trunk@89 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-28Fix crashes when passed NULL nodes.David Robillard2-4/+6
git-svn-id: http://svn.drobilla.net/serd/trunk@88 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-26Tolerate NULL base URI.David Robillard2-2/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@83 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-26Fix compilation in C++ (which won't implicitly cast 0 to an enum).David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@82 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Add `amalgamate' waf target for building single source file distribution.David Robillard5-0/+10
git-svn-id: http://svn.drobilla.net/serd/trunk@78 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Move node functions into API.David Robillard4-74/+90
git-svn-id: http://svn.drobilla.net/serd/trunk@75 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Lint.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@74 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Change source header tag line.David Robillard6-6/+6
git-svn-id: http://svn.drobilla.net/serd/trunk@72 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Remove cruft.David Robillard1-8/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@71 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Fix/test reading empty files.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@70 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Add serd_reader_read_string.David Robillard2-49/+84
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 handling of EOF in collections.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@65 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Fix URI resolution of absolute URIs.David Robillard2-18/+7
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 Robillard1-8/+9
Add bad test cases (reach 95% test coverage). git-svn-id: http://svn.drobilla.net/serd/trunk@59 490d8e77-9747-427b-9fa3-0b8f29cee8a0