aboutsummaryrefslogtreecommitdiffstats
path: root/serd
AgeCommit message (Collapse)AuthorFilesLines
2019-04-13Automatically finish reader on destructionDavid Robillard1-0/+5
2019-04-13Make SerdSink opaqueDavid Robillard1-11/+52
2019-04-13Simplify SerdEnv APIDavid Robillard1-24/+6
2019-04-13Add cursor to statementDavid Robillard1-0/+7
This allows the file and position of statements to be used in sinks, for example for more helpful error reporting outside the parser.
2019-04-13Add SerdCursor to public APIDavid Robillard1-8/+77
2019-04-13Remove escape parameter from serd_new_file_uriDavid Robillard1-4/+3
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best.
2019-04-13Shorten node constructor namesDavid Robillard1-22/+32
2019-04-13Make statement sink take a statement rather than nodesDavid Robillard1-6/+3
This makes the interface more extensible, towards associating more information with statements. The serd_sink_write_nodes wrapper remains so that user code does not need to allocate in order to write statement.
2019-04-13Add sink interfaceDavid Robillard1-0/+60
2019-04-13Add SerdStatementDavid Robillard1-0/+48
2019-04-13Move syntax name/extension utilities to public APIDavid Robillard1-0/+36
2019-04-13Move SerdField to public APIDavid Robillard1-0/+10
2019-04-13Use a fixed-size reader stackDavid Robillard1-2/+6
This improves performance, and makes the reader more suitable for embedded or network-facing applications, at the cost of requiring the user to specify a maximum stack size.
2019-04-13Set datatypes on integer, decimal, and base64 nodesDavid Robillard1-4/+20
2019-04-13Add serd_world_get_blank()David Robillard1-0/+10
2019-04-13Clean up node construction APIDavid Robillard1-57/+40
2019-04-13Hide fopen wrapper and use reader interface consistentlyDavid Robillard1-11/+3
2019-04-13Add blank node APIDavid Robillard1-0/+10
2019-04-13Make serd_node_new_literal take datatype as a nodeDavid Robillard1-1/+3
2019-04-13Add SerdWorld for shared library stateDavid Robillard1-26/+45
2019-04-13Add SerdSink interface and hide individual function implementationsDavid Robillard1-49/+19
2019-04-13Bring read/write interface closer to C standardDavid Robillard1-21/+23
2019-04-13Merge datatype and/or language into nodeDavid Robillard1-8/+30
This moves closer to the sord API, and is more convenient in most cases.
2019-04-13Simplify reader interfaceDavid Robillard1-36/+18
2019-04-13Remove serd_uri_to_path()David Robillard1-11/+0
2019-04-13Make nodes opaqueDavid Robillard1-36/+22
2019-04-13Add node accessor APIDavid Robillard1-0/+28
2019-04-13Make 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-04-13Rename SerdChunk to SerdStringViewDavid Robillard1-13/+13
2019-04-13Use char* for strings in public APIDavid Robillard1-45/+45
The constant casting just makes user code a mess, for no benefit.
2019-04-13Remove useless character countingDavid Robillard1-5/+3
2019-04-13Use 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