aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27Add integer and bit math utilitiesDavid Robillard2-0/+129
2020-10-27Add validation to command line interfaceDavid Robillard1-1/+11
2020-10-27Add support for reading multiple files at onceDavid Robillard1-34/+90
2020-10-27Add empty syntax type for suppressing outputDavid Robillard3-10/+21
2020-10-27Improve add and chop prefix functions when given empty stringsDavid Robillard2-8/+10
2020-10-27Simplify handling of input string argumentsDavid Robillard1-10/+12
2020-10-27Add input base URI optionDavid Robillard1-5/+9
2020-10-27Replace serd_reader_set_strict() with SerdReaderFlagsDavid Robillard3-16/+12
This makes reader options extensible and should hopefully prevent the need for grafting on more similar functions in the future.
2020-10-27Report writer errors and add strict write modeDavid Robillard3-173/+228
2020-10-27Align nodes with posix_memalign if possibleDavid Robillard9-28/+80
2020-10-27Add support for writing terse collectionsDavid Robillard1-12/+23
2020-10-27Tolerate lack of predicate when context is poppedDavid Robillard1-1/+2
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 Robillard2-27/+29
2020-10-27Factor out writing top level separatorDavid Robillard1-6/+10
2020-10-27Rename writer flags for consistency with enum typeDavid Robillard2-5/+5
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 Robillard12-44/+37
2020-10-27Add serd_new_boolean()David Robillard2-0/+7
2020-10-27Handle read errors more preciselyDavid Robillard3-23/+19
2020-10-27Add model validationDavid Robillard2-0/+881
2020-10-27Add modelDavid Robillard12-2/+1598
2020-10-27Add function to SerdSink for freeing opaque handleDavid Robillard2-3/+12
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 Robillard3-12/+12
2020-10-27Add extensible logging APIDavid Robillard6-50/+178
2020-10-27Use public sink interface in readerDavid Robillard3-18/+13
2020-10-27Rename SerdStyle to SerdWriterFlagsDavid Robillard2-30/+30
2020-10-27Rename SerdType to SerdNodeTypeDavid Robillard4-17/+24
The old name has become ambiguous with the expanded scope of serd.
2020-10-27Clean up and expose base64 implementationDavid Robillard2-16/+19
2020-10-27Expose the node cache in the worldDavid Robillard1-0/+6
2020-10-27Remove serd_env_foreach()David Robillard1-10/+0
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 Robillard1-0/+9
2020-10-27Add serd_node_compare()David Robillard1-0/+19
2020-10-27Simplify reader stack pushing codeDavid Robillard1-8/+10
2020-10-27Ensure serd_new_resolved_uri returns an absolute URI or NULLDavid Robillard2-7/+14
2020-10-27Use simpler names for statement flagsDavid Robillard2-21/+19
2020-10-27Simplify streaming API and improve pretty printingDavid Robillard3-159/+221
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 Robillard3-1/+145
2020-10-27Add serd_env_copy() and serd_env_equals()David Robillard1-0/+36
2020-10-27Separate ByteSink from WriterDavid Robillard2-11/+12
2020-10-27Expose SerdByteSink in public APIDavid Robillard2-5/+104
2020-10-27Remove serd_reader_set_default_graph()David Robillard2-17/+1