aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
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.
2021-03-07Rename SerdURI to SerdURIViewDavid Robillard1-39/+39
2021-03-07Rename SerdChunk to SerdStringViewDavid Robillard1-13/+13
2021-03-07Use char* for strings in public APIDavid Robillard1-52/+51
The constant casting just makes user code a mess, for no benefit.
2021-03-07Remove escape parameter from serd_node_new_file_uriDavid Robillard1-5/+3
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best.
2021-03-07Remove useless character countingDavid Robillard1-5/+2
2021-03-07Add SerdBuffer type for mutable buffersDavid Robillard1-8/+14
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2021-03-07Remove serd_uri_to_path()David Robillard1-28/+0
2021-01-10Only use modern deprecated attributes on clang 7 and newerDavid Robillard1-1/+1
2021-01-10Only use nullability attributes on clang 7 and newerDavid Robillard1-1/+1
These have existed for longer, but the names were changed.
2021-01-09Fix SERD_DISABLE_DEPRECATEDDavid Robillard1-0/+4