aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2021-03-08Make const Env functions tolerant of NULLDavid Robillard1-4/+4
This is convenient in places where you don't necessarily need an Env, since in this case these methods work the same as if with an empty Env.
2021-03-08Add empty syntax type for suppressing outputDavid Robillard1-8/+9
2021-03-08Replace serd_reader_set_strict() with SerdReaderFlagsDavid Robillard1-13/+11
This makes reader options extensible and should hopefully prevent the need for grafting on more similar functions in the future.
2021-03-08Report writer errors and add strict write modeDavid Robillard1-2/+5
2021-03-08Add support for writing terse collectionsDavid Robillard1-1/+3
2021-03-08Add option for writing terse output without newlinesDavid Robillard1-2/+3
2021-03-08Handle read errors more preciselyDavid Robillard1-1/+2
2021-03-08Use simpler names for statement flagsDavid Robillard1-5/+5
2021-03-08Simplify 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.
2021-03-08Cache commonly used nodes in the worldDavid Robillard1-0/+11
2021-03-08Add SerdNodes class for storing a cache of nodesDavid Robillard1-0/+60
2021-03-08Add serd_env_copy() and serd_env_equals()David Robillard1-0/+10
2021-03-08Separate ByteSink from WriterDavid Robillard1-2/+1
2021-03-08Expose SerdByteSink in public APIDavid Robillard1-0/+38
2021-03-08Simplify writer style optionsDavid Robillard1-5/+4
2021-03-08Replace multiple stream callbacks with SerdEventDavid Robillard1-46/+65
This makes plumbing easier since everything goes through the same "stream" and only one callback is required to handling everything. It's also more easily extensible in case more event types need to be added in the future.
2021-03-08Add SerdStatementDavid Robillard1-6/+51
2021-03-08Add SerdCursorDavid Robillard1-9/+72
2021-03-08Remove serd_reader_set_default_graph()David Robillard1-12/+0
2021-03-08Move SerdField to public APIDavid Robillard1-0/+8
2021-03-08Simplify SerdEnv APIDavid Robillard1-18/+8
2021-03-08Add serd_world_get_blank()David Robillard1-0/+10
2021-03-08Add SerdWorld for shared library stateDavid Robillard1-26/+46
2021-03-08Add numeric node construction and access APIDavid Robillard1-15/+48
2021-03-08Add serd_new_float() and serd_new_double()David Robillard1-1/+31
2021-03-08Add serd_new_boolean()David Robillard1-0/+5
2021-03-08WIP: Use exess for reading and writing numeric and binary literalsDavid Robillard1-14/+4
2021-03-08Simplify literal construction APIDavid Robillard1-5/+14
2021-03-08Expand datatype of literal nodes in serd_env_expand_nodeDavid Robillard1-1/+5
2021-03-08Move syntax name/extension utilities to public APIDavid Robillard1-0/+36
2021-03-08Use a fixed-size reader stackDavid Robillard1-2/+5
This improves performance, and makes the reader more suitable for embedded or network-facing applications, at the cost of requiring the user to specify a maximum stack size.
2021-03-07Simplify reader interfaceDavid Robillard1-11/+14
2021-03-07Add SerdSink interface and hide implementationsDavid Robillard1-48/+91
2021-03-07Use consistent naming for function typesDavid Robillard1-19/+19
2021-03-07Bring read/write interface closer to C standardDavid Robillard1-32/+33
2021-03-07Simplify reader interfaceDavid Robillard1-38/+22
2021-03-07Set datatypes on integer, decimal, and base64 nodesDavid Robillard1-4/+16
2021-03-07Simplify node construction APIDavid Robillard1-40/+38
2021-03-07Simplify URI API and implementationDavid Robillard1-82/+90
2021-03-07Add serd_node_uri_view()David Robillard1-0/+15
2021-03-07Add serd_node_string_view()David Robillard1-0/+10
2021-03-07Merge datatype/language into nodeDavid Robillard1-15/+36
This moves closer to the sord API, and is more convenient in most cases.
2021-03-07Remove SERD_NOTHING node typeDavid Robillard1-7/+0
2021-03-07Make nodes opaqueDavid Robillard1-53/+32
2021-03-07Add node accessor APIDavid Robillard1-0/+20
2021-03-07Shorten node constructor namesDavid Robillard1-22/+22
2021-03-07Add string view construction macrosDavid Robillard1-0/+30
2021-03-07Remove "get" from accessor namesDavid Robillard1-4/+4
2021-03-07Rename SerdStyle to SerdWriterFlagsDavid Robillard1-8/+11
2021-03-07Rename SerdType to SerdNodeTypeDavid Robillard1-4/+4
The old name will be even more ambiguous with the increased scope.