aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02Simplify reader interfaceDavid Robillard5-189/+106
2023-12-02Add SerdSink interface and hide implementationsDavid Robillard7-81/+179
2023-12-02Bring read/write interface closer to the C standardDavid Robillard8-57/+66
2023-12-02Add serd_new_boolean()David Robillard1-0/+8
2023-12-02Simplify literal construction APIDavid Robillard1-31/+61
2023-12-02Set datatypes on integer, decimal, and base64 nodesDavid Robillard1-30/+68
2023-12-02Simplify node construction APIDavid Robillard5-158/+171
2023-12-02Merge datatype/language into nodeDavid Robillard5-73/+171
This moves closer to the sord API, and is more convenient in most cases.
2023-12-02Simplify URI API and implementationDavid Robillard8-267/+259
2023-12-02Add serd_node_uri_view()David Robillard1-0/+12
2023-12-02Add serd_node_string_view()David Robillard1-0/+9
2023-12-02Align node allocationsDavid Robillard3-6/+46
2023-12-02Make nodes opaqueDavid Robillard9-315/+363
2023-12-02Add node accessor APIDavid Robillard1-0/+24
2023-12-02Shorten node constructor namesDavid Robillard3-29/+27
2023-12-02Rename string view fieldsDavid Robillard5-72/+72
2023-12-02Use more human-readable status codesDavid Robillard10-121/+129
2023-12-02Add version constants to public headerDavid Robillard2-4/+7
2023-12-02Split up public API headerDavid Robillard20-47/+66
2023-12-02Remove "get" from accessor namesDavid Robillard3-6/+6
2023-12-02Rename function types for consistencyDavid Robillard7-36/+36
2023-12-02Rename SerdStyle to SerdWriterFlagsDavid Robillard2-38/+38
2023-12-02Rename SerdType to SerdNodeTypeDavid Robillard4-21/+24
The old name will be even more ambiguous with the increased scope.
2023-12-02Rename SerdURI to SerdURIViewDavid Robillard6-64/+66
2023-12-02Rename SerdChunk to SerdStringViewDavid Robillard4-15/+15
2023-12-02Add SerdBuffer type for mutable buffersDavid Robillard3-22/+20
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2023-12-02Use char* for strings in public APIDavid Robillard16-252/+228
The constant casting just makes user code a mess, for no benefit.
2023-12-02Remove support for reading Turtle named inline nodes extensionDavid Robillard1-20/+0
2023-12-02Remove escape parameter from serd_node_new_file_uriDavid Robillard2-4/+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 Robillard7-79/+43
2023-12-02Remove serd_uri_to_path()David Robillard2-27/+2
2023-10-22Serd 0.32.0v0.32.0David Robillard1-1/+1
2023-09-22Fix potential realloc leaksDavid Robillard2-6/+12
2023-09-22Remove unused includeDavid Robillard1-1/+0
2023-05-08Avoid use of strtoul()David Robillard3-9/+16
This function is overkill for the simple cases actually needed here, and pretty slow anyway.
2023-05-04Fix whitespaceDavid Robillard1-2/+2
2023-05-03Make serd_reader_read_chunk() work with NQuadsDavid Robillard3-2/+7
2023-05-03Factor out read_nquads_statement()David Robillard1-42/+54
2023-05-03Remove redundant wrapper functionDavid Robillard1-7/+1
2023-04-30Add long "help" and "version" options to serdiDavid Robillard2-1/+9
Although serdi still "officially" has a BSD-style interface, meson uses --version to find the version of executables. So, support that, and also add --help, since users will often try that for unknown commands.
2023-04-16Gracefully handle errors when writing textDavid Robillard5-85/+143
2023-04-06Clean up error handling and use TRY macros more broadlyDavid Robillard2-37/+41
2023-04-06Improve pretty-printing of lists and inline subjectsDavid Robillard4-161/+247
2023-04-06Remove support for writing Turtle named inline nodes extensionDavid Robillard1-30/+6
2023-04-06Simplify remove_dot_segments() implementationDavid Robillard1-53/+15
2023-04-06Make URI writing stricter by defaultDavid Robillard2-8/+11
2023-04-06Gracefully handle boolean subject and predicate errorsDavid Robillard1-0/+3
2023-04-06Improve help textDavid Robillard1-2/+2
2023-04-05Fix sign conversion warningsDavid Robillard2-2/+2
2023-04-05Improve writer error handlingDavid Robillard6-149/+198