aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-03-08Use simpler names for statement flagsDavid Robillard2-22/+19
2021-03-08Simplify streaming API and improve pretty printingDavid Robillard4-164/+270
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-08WIP: Leave statement cursor at the start of literalsDavid Robillard1-1/+11
2021-03-08Cache commonly used nodes in the worldDavid Robillard3-15/+47
2021-03-08Add SerdNodes class for storing a cache of nodesDavid Robillard3-1/+146
2021-03-08Add zix data structuresDavid Robillard8-0/+1838
2021-03-08Add serd_env_copy() and serd_env_equals()David Robillard1-0/+42
2021-03-08Separate ByteSink from WriterDavid Robillard2-12/+18
2021-03-08Expose SerdByteSink in public APIDavid Robillard2-5/+110
2021-03-08Simplify writer style optionsDavid Robillard2-33/+6
2021-03-08Avoid writing invalid prefixed name prefixesDavid Robillard1-1/+2
2021-03-08Replace multiple stream callbacks with SerdEventDavid Robillard4-41/+58
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 Robillard5-12/+115
2021-03-08Add SerdCursorDavid Robillard7-39/+162
2021-03-08Remove serd_reader_set_default_graph()David Robillard2-22/+7
2021-03-08Move SerdField to public APIDavid Robillard1-46/+40
2021-03-08Simplify SerdEnv APIDavid Robillard3-13/+59
2021-03-08Add serd_world_get_blank()David Robillard2-2/+27
2021-03-08Move fopen wrapper to worldDavid Robillard5-29/+37
2021-03-08Move error handling to worldDavid Robillard5-51/+53
2021-03-08Add SerdWorld for shared library stateDavid Robillard9-39/+105
2021-03-08Add numeric node construction and access APIDavid Robillard3-13/+68
2021-03-08Add serd_new_float() and serd_new_double()David Robillard3-0/+30
2021-03-08Add serd_new_boolean()David Robillard2-0/+9
2021-03-08Remove serd_node_align constantDavid Robillard1-10/+8
2021-03-08WIP: Use exess for reading and writing numeric and binary literalsDavid Robillard3-261/+102
2021-03-08Simplify literal construction APIDavid Robillard2-40/+76
2021-03-08Expand datatype of literal nodes in serd_env_expand_nodeDavid Robillard1-2/+14
2021-03-08Move syntax name/extension utilities to public APIDavid Robillard2-51/+73
2021-03-08Improve reader error handlingDavid Robillard1-31/+40
2021-03-08Remove unnecessary parameter from read_LANGTAG()David Robillard1-8/+8
2021-03-08Set flags directly when reading literal nodesDavid Robillard1-57/+35
2021-03-08Improve push_byte() performanceDavid Robillard1-5/+4
2021-03-08Add debug checks for node paddingDavid Robillard2-9/+37
2021-03-08Zero node padding before passing to reader sinksDavid Robillard5-2/+41
2021-03-08Remove datatype and language from reader contextDavid Robillard2-32/+25
2021-03-08Simplify stack management by popping in bulk at higher levelsDavid Robillard4-109/+51
Since all memory used by the reader is POD in the stack, there is no benefit to forcing code to explicitly pop everything pushed to the stack, since any function can record an offset and pop back down to it regardless of what its callers pushed if it knows that it does not need those items.
2021-03-08Use a fixed-size reader stackDavid Robillard7-198/+235
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 Robillard5-135/+78
2021-03-07Add SerdSink interface and hide implementationsDavid Robillard7-77/+197
2021-03-07Use consistent naming for function typesDavid Robillard7-36/+36
2021-03-07Bring read/write interface closer to C standardDavid Robillard8-56/+53
2021-03-07Simplify reader interfaceDavid Robillard3-92/+74
2021-03-07Set datatypes on integer, decimal, and base64 nodesDavid Robillard2-28/+92
2021-03-07Simplify node construction APIDavid Robillard5-150/+177
2021-03-07Simplify URI API and implementationDavid Robillard8-312/+290
2021-03-07Add serd_node_uri_view()David Robillard1-0/+12
2021-03-07Add serd_node_string_view()David Robillard1-0/+8
2021-03-07Merge datatype/language into nodeDavid Robillard5-65/+174
This moves closer to the sord API, and is more convenient in most cases.
2021-03-07Remove SERD_NOTHING node typeDavid Robillard2-4/+0