aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-05-12Only abbreviate rdf:type to "a" in predicate position.David Robillard1-12/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@173 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-12Tidy.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@172 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-12Print newline after @prefix statements.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@171 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-12Correctly abbreviate repeated inline blank node objects ("] , [").David Robillard1-6/+19
git-svn-id: http://svn.drobilla.net/serd/trunk@170 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-11Fix crash when setting an identical namespace prefix.David Robillard2-2/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@169 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-11Create SerdNodeFlags typedef for flags.David Robillard3-48/+44
Expose serd_strlen. Make serd_node_copy tolerate a NULL parameter. git-svn-id: http://svn.drobilla.net/serd/trunk@168 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-11Record whether strings contains quotes or newlines for smart selection of ↵David Robillard5-64/+100
long strings vs short strings in writer output. git-svn-id: http://svn.drobilla.net/serd/trunk@167 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-09Improve documentation and const-correctness.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@165 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-06Make writer methods directly compatible with reader callbacks.David Robillard2-72/+35
Connect writer directly to reader in serdi. git-svn-id: http://svn.drobilla.net/serd/trunk@164 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-06Merge SerdEnv and SerdReadState.David Robillard3-121/+96
git-svn-id: http://svn.drobilla.net/serd/trunk@163 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-05Tidy.David Robillard3-28/+28
git-svn-id: http://svn.drobilla.net/serd/trunk@161 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-05Remove datatype and lang from internal Node struct (use less stack space).David Robillard1-58/+76
git-svn-id: http://svn.drobilla.net/serd/trunk@160 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-05Replace strlen of string constants with sizeof.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@159 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-05Fix comments mangled by search/replace.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@158 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-05Make serd_read_state_get_base_uri return a pointer.David Robillard2-12/+14
git-svn-id: http://svn.drobilla.net/serd/trunk@157 490d8e77-9747-427b-9fa3-0b8f29cee8a0
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