aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27Reset writer to empty when finished to avoid spurious blank linesDavid Robillard1-0/+1
2020-10-27Pass context flags to write_sep()David Robillard1-22/+24
2020-10-27Add initial flags to write contextDavid Robillard1-14/+22
2020-10-27Simplify internal writer context APIDavid Robillard1-21/+17
2020-10-27Strengthen writer statement preconditionsDavid Robillard1-1/+3
2020-10-27Add option for writing terse output without newlinesDavid Robillard5-28/+36
2020-10-27Factor out writing top level separatorDavid Robillard1-6/+10
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