aboutsummaryrefslogtreecommitdiffstats
path: root/serd
AgeCommit message (Collapse)AuthorFilesLines
2019-12-19Add SerdWorld for shared library stateDavid Robillard1-26/+45
2019-12-19Add SerdSink interface and hide individual function implementationsDavid Robillard1-49/+19
2019-12-19Bring read/write interface closer to C standardDavid Robillard1-21/+23
2019-12-19Merge datatype and/or language into nodeDavid Robillard1-8/+30
This moves closer to the sord API, and is more convenient in most cases.
2019-12-19Simplify reader interfaceDavid Robillard1-36/+18
2019-12-19Remove serd_uri_to_path()David Robillard1-11/+0
2019-12-19Remove SERD_NOTHING node typeDavid Robillard1-7/+0
2019-12-19Make nodes opaqueDavid Robillard1-36/+22
2019-12-19Add node accessor APIDavid Robillard1-0/+28
2019-12-19Make serd_strtod API const-correctDavid Robillard1-3/+5
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API.
2019-12-18Rename SerdChunk to SerdStringViewDavid Robillard1-13/+13
2019-12-18Use char* for strings in public APIDavid Robillard1-45/+45
The constant casting just makes user code a mess, for no benefit.
2019-12-18Remove useless character countingDavid Robillard1-5/+3
2019-12-14Use SerdBuffer for mutable buffersDavid Robillard1-6/+14
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2019-01-05Remove ancient MSVC workaround for stdbool.hDavid Robillard1-2/+1
2018-07-22Add serd_free for freeing memory allocated by serdDavid Robillard1-2/+13
2018-06-03Move byte source/sink functions into their own sectionDavid Robillard1-31/+37
2018-06-03Fix comment typoDavid Robillard1-1/+1
2018-05-27Clarify errors returned by serd_env_expand()David Robillard1-0/+5
2018-04-01Fix comment typoDavid Robillard1-1/+1
2018-02-04Fix comment typoDavid Robillard1-1/+1
2017-07-09Add serd_node_from_substring()David Robillard1-0/+10
This allows creating nodes in-place from substrings of other strings to allow zero-copy serialization from existing delimited buffers.
2017-06-30Use consistent parameter namesDavid Robillard1-5/+5
2017-06-30Fix various clang-tidy issuesDavid Robillard1-7/+9
2017-04-24Allow arbitrary page size to be passed for custom sourcesDavid Robillard1-4/+5
2017-04-14Factor out file reading from readerDavid Robillard1-0/+52
2017-01-06Add support for reading TriGDavid Robillard1-2/+7
2017-01-05Add support for NQuadsDavid Robillard1-2/+8
2016-09-18Update copyright datesDavid Robillard1-1/+1
2016-09-10Fix cross-links in documentationDavid Robillard1-2/+2
2016-07-10Add serd_node_new_relative_uri()David Robillard1-1/+20
2016-03-15Use NULL for null pointer constantsDavid Robillard1-2/+4
2015-10-07Update copyright datesDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@500 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2015-01-29Fix incorrect comment.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@487 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-12-10Configurable strict parsing to tolerate invalid URIs.David Robillard1-0/+11
git-svn-id: http://svn.drobilla.net/serd/trunk@480 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-11-22Fix warnings when building with ISO C++ compilers.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@477 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-08Use Markdown in doc comments for better source readability.David Robillard1-46/+46
git-svn-id: http://svn.drobilla.net/serd/trunk@470 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2014-08-08Use Markdown in doc comments for better source readability.David Robillard1-5/+5
git-svn-id: http://svn.drobilla.net/serd/trunk@469 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-07-05Add error callback to reader and writer for custom error reporting.David Robillard1-1/+50
Add -q option to serdi to suppress all non-data output, e.g. errors. Resolves #815. git-svn-id: http://svn.drobilla.net/serd/trunk@354 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-05-08Add incremental read interface suitable for reading from infinite streams.David Robillard1-0/+34
git-svn-id: http://svn.drobilla.net/serd/trunk@350 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-18Add serd_reader_set_default_graph() for reading a file as a named graph.David Robillard1-0/+12
git-svn-id: http://svn.drobilla.net/serd/trunk@338 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-10Add serd_writer_set_root_uri(), root parameter toDavid Robillard1-0/+20
serd_uri_serialise_relative(), and -r option to serdi, to enable writing URIs with up references (../) within a parent namespace. Resolve dot segments in serd_uri_resolve() instead of at write time. git-svn-id: http://svn.drobilla.net/serd/trunk@336 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08Add escape parameter to serd_node_new_file_uri().David Robillard1-1/+7
git-svn-id: http://svn.drobilla.net/serd/trunk@333 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08serd_node_new_uri_from_path => serd_node_new_file_uri.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@331 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-08Add serd_writer_get_env().David Robillard1-2/+46
Add serd_node_new_uri_from_path() and serd_file_uri_parse() and implement proper URI to/from path hex escaping, etc. Add serd_uri_serialise_relative() for making URIs relative to a base where possible (by chopping a common prefix and adding dot segments). Make URIs serialised by the writer properly escape characters. git-svn-id: http://svn.drobilla.net/serd/trunk@330 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-03-03Add serd_chunk_sink for easy writing to a string.David Robillard1-1/+23
git-svn-id: http://svn.drobilla.net/serd/trunk@329 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-02-20Implement pretty-printing for collections.David Robillard1-1/+4
git-svn-id: http://svn.drobilla.net/serd/trunk@305 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-18Make serd_node_new_integer take int64_t instead of long.David Robillard1-1/+1
Turns out long is sometimes 32-bits even on modern 64-bit machines on certain insane Operating Systems... git-svn-id: http://svn.drobilla.net/serd/trunk@297 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Support compilation as C++ under MSVC++David Robillard1-2/+3
git-svn-id: http://svn.drobilla.net/serd/trunk@291 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2012-01-16Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/serd/trunk@285 490d8e77-9747-427b-9fa3-0b8f29cee8a0