aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-01-05Add validation test suiteDavid Robillard32-8/+2178
2019-01-05WIP: Add C++ bindingsDavid Robillard4-6/+1512
2018-12-31WIP: Add validationDavid Robillard7-15/+1076
2018-12-31Add model to benchmarksDavid Robillard1-3/+4
2018-12-31WIP: Add modelDavid Robillard20-10/+2796
2018-12-31Use line comments where appropriate and clean up headerDavid Robillard2-450/+220
2018-12-31Add Env to SinkDavid Robillard7-15/+33
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 Robillard3-16/+16
2018-12-31Rename SerdType to SerdNodeTypeDavid Robillard5-19/+24
The old name has become ambiguous with the expanded scope of serd.
2018-12-31Expose the node cache in the worldDavid Robillard2-0/+17
2018-12-31Remove serd_env_foreach()David Robillard3-21/+4
2018-12-31Add serd_env_send_prefixes()David Robillard2-0/+15
2018-12-31Simplify reader test sinkDavid Robillard1-13/+8
2018-12-31Add serd_node_compare()David Robillard2-0/+39
2018-12-31Rename SerdError to SerdMessageDavid Robillard7-58/+70
Towards more general usage for all types of logging.
2018-12-31Add stack overflow testsDavid Robillard2-2/+77
2018-12-31Improve node test coverageDavid Robillard1-0/+8
2018-12-31Add test for bad blank graph labelsDavid Robillard2-0/+9
2018-12-31Fix writer flags typeDavid Robillard1-18/+18
2018-12-31Simplify reader stack pushing codeDavid Robillard1-14/+16
2018-12-31Ensure serd_new_resolved_uri returns an absolute URI or NULLDavid Robillard3-8/+17
2018-12-31Use simpler names for statement flagsDavid Robillard3-21/+21
2018-12-31Simplify streaming API and improve pretty printingDavid Robillard8-134/+251
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-31Cache commonly used nodes in the worldDavid Robillard3-14/+32
2018-12-31Add SerdNodes class for storing a cache of nodesDavid Robillard6-4/+307
2018-12-31Add serd_env_copy() and serd_env_equals()David Robillard3-0/+66
2018-12-31Separate ByteSink from WriterDavid Robillard4-16/+24
2018-12-31Expose SerdByteSink in public APIDavid Robillard5-102/+146
2018-12-31Remove Remove serd_reader_set_default_graph()David Robillard4-34/+2
2018-12-31Factor out some generic test suite running codeDavid Robillard1-43/+52
2018-12-31Add debug check that BTree nodes are properly sortedDavid Robillard1-0/+26
2018-12-31Add zix data structures for use in modelDavid Robillard7-0/+1453
2018-12-31Add rooted URI resolution testDavid Robillard1-1/+3
2018-12-31Add test for reading chunksDavid Robillard2-2/+114
2018-12-31Make reader return failure when no statement is readDavid Robillard1-1/+1
2018-12-31Fix warningsDavid Robillard3-7/+9
2018-12-31Simplify writer style optionsDavid Robillard5-39/+16
2018-12-31Separate style enum from style flags typesDavid Robillard4-6/+11
2018-12-31Automatically finish reader on destructionDavid Robillard2-0/+6
2018-12-31Make SerdSink opaqueDavid Robillard7-23/+151
2018-12-31Simplify SerdEnv APIDavid Robillard5-76/+113
2018-12-31Add cursor to statementDavid Robillard5-3/+19
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 Robillard9-37/+157
2018-12-31Remove escape parameter from serd_new_file_uriDavid Robillard4-16/+12
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 Robillard8-147/+175
2018-12-31Make statement sink take a statement rather than nodesDavid Robillard5-42/+35
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 Robillard3-0/+120
2018-12-31Add SerdStatementDavid Robillard4-0/+129
2018-12-31Expand datatype of literal nodes in serd_env_expand_nodeDavid Robillard1-0/+12
2018-12-31Move syntax name/extension utilities to public APIDavid Robillard4-48/+106