aboutsummaryrefslogtreecommitdiffstats
path: root/serd
AgeCommit message (Collapse)AuthorFilesLines
2011-05-12Use conventional string lengths not including NULL terminatorDavid Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@174 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-11Create SerdNodeFlags typedef for flags.David Robillard1-1/+17
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 Robillard1-18/+25
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-9/+8
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 Robillard1-2/+10
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 Robillard1-67/+30
git-svn-id: http://svn.drobilla.net/serd/trunk@163 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-06Improve documentation.David Robillard1-23/+24
git-svn-id: http://svn.drobilla.net/serd/trunk@162 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-05Tidy.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@161 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-05-05Make serd_read_state_get_base_uri return a pointer.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@157 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-30Use descriptive return codes instead of boolDavid Robillard1-25/+37
git-svn-id: http://svn.drobilla.net/serd/trunk@154 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-27Don't hide pointers in typedefs.David Robillard1-31/+31
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 Robillard1-0/+7
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-23Improve node struct alignmentDavid Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@147 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-23Tidy.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@145 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-04-22Fix license header (awk oops).David Robillard1-1/+1
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 Robillard1-20/+12
obnoxious lawyer noise). git-svn-id: http://svn.drobilla.net/serd/trunk@139 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-03-29Update library preprocessor boilerplateDavid Robillard1-13/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@135 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-03-17Improve documentation.David Robillard1-24/+32
git-svn-id: http://svn.drobilla.net/serd/trunk@123 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-03-07Fix documentation typo.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@119 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-03-06Fix Doxygen warning.David Robillard1-3/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@118 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-03-02Fix parsing several files/strings with the same parser.David Robillard1-0/+10
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 Robillard1-5/+58
less tedious. git-svn-id: http://svn.drobilla.net/serd/trunk@110 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-25Tidy.David Robillard1-11/+13
git-svn-id: http://svn.drobilla.net/serd/trunk@106 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-25Switch to 2-clause BSD license.David Robillard1-19/+27
git-svn-id: http://svn.drobilla.net/serd/trunk@105 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-25Switch to standard Javadoc/Doxygen style comments without leading asterisks.David Robillard1-154/+296
git-svn-id: http://svn.drobilla.net/serd/trunk@104 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-16Make serd_writer_set_prefix return bool so it is compatible with ↵David Robillard1-2/+3
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 Robillard1-23/+44
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-10Add serd_node_new_uri_from_string.David Robillard1-7/+8
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 Robillard1-1/+15
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 Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/serd/trunk@96 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-02-03Add ability to set blank node prefix for parsing several files without conflict.David Robillard1-0/+12
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/+7
git-svn-id: http://svn.drobilla.net/serd/trunk@90 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-26Change documentation tag line.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@85 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-26Fix compilation in C++ (which won't implicitly cast 0 to an enum).David Robillard1-1/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@82 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-26Remove prototype for nonexistent serd_uri_write.David Robillard1-5/+0
git-svn-id: http://svn.drobilla.net/serd/trunk@81 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Move node functions into API.David Robillard1-0/+24
git-svn-id: http://svn.drobilla.net/serd/trunk@75 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Change source header tag line.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@72 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-25Add serd_reader_read_string.David Robillard1-0/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@69 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-24Remove SerdString from public API in favour of more expressive (and not ↵David Robillard1-63/+44
necessarily inline with data payload) SerdNode. git-svn-id: http://svn.drobilla.net/serd/trunk@53 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Shrink code.David Robillard1-20/+16
git-svn-id: http://svn.drobilla.net/serd/trunk@47 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Code cleanup (appease cpplint).David Robillard1-4/+2
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 Robillard1-8/+8
git-svn-id: http://svn.drobilla.net/serd/trunk@43 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-23Streaming abbreviation.David Robillard1-13/+65
git-svn-id: http://svn.drobilla.net/serd/trunk@41 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22SerdNamespaces => SerdEnv.David Robillard1-25/+26
git-svn-id: http://svn.drobilla.net/serd/trunk@36 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-22Cleanup.David Robillard1-25/+25
git-svn-id: http://svn.drobilla.net/serd/trunk@34 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Preliminary support for writing abbreviated Turtle.David Robillard1-1/+20
git-svn-id: http://svn.drobilla.net/serd/trunk@22 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-21Make writer write to any sink passed in by the user.David Robillard1-3/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@20 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Support passing no base URI on command line (use filename as base URI).David Robillard1-2/+4
Decent usage output. git-svn-id: http://svn.drobilla.net/serd/trunk@15 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-01-20Add writer API.David Robillard1-12/+35
git-svn-id: http://svn.drobilla.net/serd/trunk@14 490d8e77-9747-427b-9fa3-0b8f29cee8a0