aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02Simplify statement flagsDavid Robillard1-8/+6
2023-12-02Replace multiple stream callbacks with SerdEventDavid Robillard6-37/+113
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.
2023-12-02Simplify writer style options and write UTF-8 by defaultDavid Robillard1-6/+5
2023-12-02Add SerdStatementDavid Robillard2-6/+93
2023-12-02Add SerdCaretDavid Robillard4-9/+88
2023-12-02Add SerdField to public APIDavid Robillard1-0/+8
A statement field enum was previously only used by the writer internally, but will be used in the public API (without a sentinel value) in following commits.
2023-12-02Add serd_world_get_blank()David Robillard1-0/+10
2023-12-02Remove serd_reader_set_default_graph()David Robillard1-12/+0
2023-12-02Add SerdWorld for shared library stateDavid Robillard5-26/+61
2023-12-02Add serd_node_compare()David Robillard1-0/+13
2023-12-02Clean up base64 node construction and access APIDavid Robillard3-0/+83
2023-12-02Clean up numeric node construction and access APIDavid Robillard2-11/+69
2023-12-02[WIP] Use exess for reading and writing numeric and binary literalsDavid Robillard2-26/+21
2023-12-02Move syntax name/extension utilities to public APIDavid Robillard1-5/+33
2023-12-02Use a fixed-size reader stackDavid Robillard1-1/+3
2023-12-02Simplify reader interfaceDavid Robillard1-45/+35
2023-12-02Add SerdSink interface and hide implementationsDavid Robillard3-47/+73
2023-12-02Bring read/write interface closer to the C standardDavid Robillard5-38/+39
2023-12-02Add serd_new_boolean()David Robillard1-0/+6
2023-12-02Simplify literal construction APIDavid Robillard1-9/+17
2023-12-02Set datatypes on integer, decimal, and base64 nodesDavid Robillard1-4/+16
2023-12-02Simplify node construction APIDavid Robillard3-39/+37
2023-12-02Merge datatype/language into nodeDavid Robillard3-14/+42
This moves closer to the sord API, and is more convenient in most cases.
2023-12-02Simplify URI API and implementationDavid Robillard2-79/+89
2023-12-02Add serd_node_uri_view()David Robillard1-0/+14
2023-12-02Add serd_node_string_view()David Robillard1-0/+10
2023-12-02Make nodes opaqueDavid Robillard6-91/+87
2023-12-02Add node accessor APIDavid Robillard1-0/+20
2023-12-02Shorten node constructor namesDavid Robillard2-22/+26
2023-12-02Rename string view fieldsDavid Robillard1-2/+2
2023-12-02Use more human-readable status codesDavid Robillard2-13/+23
2023-12-02Add version constants to public headerDavid Robillard2-0/+51
2023-12-02Split up public API headerDavid Robillard17-921/+1426
2023-12-02Remove "get" from accessor namesDavid Robillard1-4/+4
2023-12-02Rename function types for consistencyDavid Robillard1-22/+22
2023-12-02Rename SerdStyle to SerdWriterFlagsDavid Robillard1-9/+12
2023-12-02Rename SerdType to SerdNodeTypeDavid Robillard1-4/+4
The old name will be even more ambiguous with the increased scope.
2023-12-02Rename SerdURI to SerdURIViewDavid Robillard1-39/+39
2023-12-02Rename SerdChunk to SerdStringViewDavid Robillard1-14/+19
2023-12-02Add SerdBuffer type for mutable buffersDavid Robillard1-9/+15
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2023-12-02Use char* for strings in public APIDavid Robillard1-52/+51
The constant casting just makes user code a mess, for no benefit.
2023-12-02Remove 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.
2023-12-02Remove useless character countingDavid Robillard1-5/+2
2023-12-02Remove serd_uri_to_path()David Robillard1-27/+0
2023-04-16Gracefully handle errors when writing textDavid Robillard1-0/+2
2023-04-05Improve writer error handlingDavid Robillard1-0/+1
2023-04-05Update to clang-format 12David Robillard1-128/+63
2022-12-20Avoid using ASCII grave as a quoteDavid Robillard1-2/+2
2022-12-19Allow SERD_API to be defined by the userDavid Robillard1-8/+11
2022-12-09Add serd_reader_skip_until_byte() to public APIDavid Robillard1-0/+13