aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27Rename writer flags for consistency with enum typeDavid Robillard3-8/+8
2020-10-27Support reading lone lists in lax modeDavid Robillard1-1/+1
This allows parsing documents like "(42) ."
2020-10-27Simplify writer statement validity checkingDavid Robillard1-3/+2
2020-10-27WIP: Fix reading from socket-like streamsDavid Robillard1-0/+1
2020-10-27Make reader tolerant of being started several timesDavid Robillard1-0/+4
2020-10-27Fix various warnings and conversion issuesDavid Robillard15-66/+63
2020-10-27Add serd_new_boolean()David Robillard4-0/+29
2020-10-27Handle read errors more preciselyDavid Robillard5-25/+22
2020-10-27Add model validationDavid Robillard6-4/+928
2020-10-27Add model to benchmarksDavid Robillard1-3/+4
2020-10-27Add modelDavid Robillard20-5/+3070
2020-10-27Add function to SerdSink for freeing opaque handleDavid Robillard7-10/+23
This can be used to associate dynamically allocated data with a sink and have it managed along with the sink's lifetime.
2020-10-27Use consistent naming for function typesDavid Robillard4-23/+23
2020-10-27Add extensible logging APIDavid Robillard8-73/+281
2020-10-27Use line comments where appropriate and clean up headerDavid Robillard1-435/+212
2020-10-27Use public sink interface in readerDavid Robillard4-18/+14
2020-10-27Rename SerdStyle to SerdWriterFlagsDavid Robillard3-35/+35
2020-10-27Rename SerdType to SerdNodeTypeDavid Robillard5-20/+27
The old name has become ambiguous with the expanded scope of serd.
2020-10-27Clean up and expose base64 implementationDavid Robillard6-26/+194
2020-10-27Expose the node cache in the worldDavid Robillard2-0/+17
2020-10-27Remove serd_env_foreach()David Robillard3-21/+4
This is not particularly useful except to write prefixes, which is what serd_env_write_prefixes is for, and the name implies that namespace prefixes are the only thing in an Env, which will be problematic in the future.
2020-10-27Add serd_env_write_prefixes()David Robillard2-0/+16
2020-10-27Simplify reader test sinkDavid Robillard1-34/+29
2020-10-27Add serd_node_compare()David Robillard2-0/+30
2020-10-27Add stack overflow testsDavid Robillard2-0/+71
2020-10-27Simplify reader stack pushing codeDavid Robillard1-8/+10
2020-10-27Ensure serd_new_resolved_uri returns an absolute URI or NULLDavid Robillard3-8/+17
2020-10-27Use simpler names for statement flagsDavid Robillard3-26/+24
2020-10-27Simplify streaming API and improve pretty printingDavid Robillard9-169/+326
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.
2020-10-27Cache commonly used nodes in the worldDavid Robillard3-14/+32
2020-10-27Add SerdNodes class for storing a cache of nodesDavid Robillard7-2/+309
2020-10-27Add serd_env_copy() and serd_env_equals()David Robillard3-0/+69
2020-10-27Separate ByteSink from WriterDavid Robillard4-18/+26
2020-10-27Expose SerdByteSink in public APIDavid Robillard5-5/+148
2020-10-27Remove serd_reader_set_default_graph()David Robillard4-38/+3
2020-10-27Add zix data structures for use in modelDavid Robillard9-0/+1688
2020-10-27Add rooted URI resolution testDavid Robillard1-1/+2
2020-10-27Simplify writer style optionsDavid Robillard6-32/+41
2020-10-27Avoid writing invalid prefixed name prefixesDavid Robillard1-1/+2
2020-10-27Separate style enum from style flags typesDavid Robillard4-25/+30
2020-10-27Automatically finish reader on destructionDavid Robillard2-0/+6
2020-10-27Make SerdSink opaqueDavid Robillard9-35/+175
2020-10-27Simplify SerdEnv APIDavid Robillard5-82/+119
2020-10-27Add cursor to statementDavid Robillard5-3/+21
This allows the file and position of statements to be used in sinks, for example for more helpful error reporting outside the parser.
2020-10-27Add SerdCursor to public APIDavid Robillard13-47/+301
2020-10-27Remove 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.
2020-10-27Shorten node constructor namesDavid Robillard8-181/+305
2020-10-27Make statement sink take a statement rather than nodesDavid Robillard6-58/+42
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.
2020-10-27Add sink interfaceDavid Robillard3-0/+123
2020-10-27Add SerdStatementDavid Robillard4-0/+129