aboutsummaryrefslogtreecommitdiffstats
path: root/serd
AgeCommit message (Collapse)AuthorFilesLines
2019-01-05WIP: Add C++ bindingsDavid Robillard1-0/+1111
2018-12-31WIP: Add validationDavid Robillard1-1/+6
2018-12-31WIP: Add modelDavid Robillard1-0/+378
2018-12-31Use line comments where appropriate and clean up headerDavid Robillard1-448/+218
2018-12-31Add Env to SinkDavid Robillard1-1/+9
This isn't technically necessary for any sink, but is a pattern common to every sink implementation in serd, so having it here reduces boilerplate and parameters in user code.
2018-12-31Rename SerdStyle to SerdWriterFlagsDavid Robillard1-5/+5
2018-12-31Rename SerdType to SerdNodeTypeDavid Robillard1-2/+2
The old name has become ambiguous with the expanded scope of serd.
2018-12-31Expose the node cache in the worldDavid Robillard1-0/+11
2018-12-31Remove serd_env_foreach()David Robillard1-9/+0
2018-12-31Add serd_env_send_prefixes()David Robillard1-0/+7
2018-12-31Add serd_node_compare()David Robillard1-0/+11
2018-12-31Rename SerdError to SerdMessageDavid Robillard1-14/+24
Towards more general usage for all types of logging.
2018-12-31Use simpler names for statement flagsDavid Robillard1-5/+5
2018-12-31Simplify streaming API and improve pretty printingDavid Robillard1-8/+5
This removes the obligation from the caller to correctly maintain flags to describe the current anonymous context, instead making the writer handle this itself as much as possible. Flags remain for the cases the writer can not infer from context: the start of anonymous subject and object nodes.
2018-12-31Add SerdNodes class for storing a cache of nodesDavid Robillard1-0/+65
2018-12-31Add serd_env_copy() and serd_env_equals()David Robillard1-0/+14
2018-12-31Separate ByteSink from WriterDavid Robillard1-1/+0
2018-12-31Expose SerdByteSink in public APIDavid Robillard1-0/+42
2018-12-31Remove Remove serd_reader_set_default_graph()David Robillard1-12/+0
2018-12-31Simplify writer style optionsDavid Robillard1-5/+2
2018-12-31Separate style enum from style flags typesDavid Robillard1-1/+6
2018-12-31Automatically finish reader on destructionDavid Robillard1-0/+5
2018-12-31Make SerdSink opaqueDavid Robillard1-11/+52
2018-12-31Simplify SerdEnv APIDavid Robillard1-24/+6
2018-12-31Add 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.
2018-12-31Add SerdCursor to public APIDavid Robillard1-8/+43
2018-12-31Remove 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.
2018-12-31Shorten node constructor namesDavid Robillard1-22/+32
2018-12-31Make 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.
2018-12-31Add sink interfaceDavid Robillard1-0/+58
2018-12-31Add SerdStatementDavid Robillard1-0/+48
2018-12-31Move syntax name/extension utilities to public APIDavid Robillard1-0/+36
2018-12-31Move SerdField to public APIDavid Robillard1-0/+10
2018-12-31Use fixed size stackDavid Robillard1-2/+6
2018-12-30Set datatypes on integer, decimal, and base64 nodesDavid Robillard1-4/+20
2018-12-30Add serd_world_get_blank()David Robillard1-0/+10
2018-12-30Clean up node construction APIDavid Robillard1-57/+40
2018-12-30Hide fopen wrapper and use reader interface consistentlyDavid Robillard1-11/+3
2018-12-30Add blank node APIDavid Robillard1-0/+10
2018-12-30Make serd_node_new_literal take datatype as a nodeDavid Robillard1-1/+3
2018-12-30Add SerdWorld for shared library stateDavid Robillard1-26/+45
2018-12-30Add SerdSink interface and hide individual function implementationsDavid Robillard1-49/+19
2018-12-30Bring read/write interface closer to C standardDavid Robillard1-21/+23
2018-12-30Merge datatype and/or language into nodeDavid Robillard1-8/+30
This moves closer to the sord API, and is more convenient in most cases.
2018-12-30Simplify reader interfaceDavid Robillard1-36/+18
2018-12-30Remove serd_uri_to_path()David Robillard1-11/+0
2018-12-30Make nodes opaqueDavid Robillard1-36/+22
2018-12-30Add node accessor APIDavid Robillard1-0/+28
2018-12-30Make 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.
2018-12-30Rename SerdChunk to SerdSliceDavid Robillard1-13/+13