aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02Simplify writer style options and write UTF-8 by defaultDavid Robillard5-10/+13
2023-12-02Add SerdStatementDavid Robillard4-35/+166
2023-12-02Add SerdCaretDavid Robillard5-3/+56
2023-12-02Add serd_world_get_blank()David Robillard2-0/+36
2023-12-02Remove serd_reader_set_default_graph()David Robillard1-14/+7
2023-12-02Add SerdWorld for shared library stateDavid Robillard4-45/+75
2023-12-02Add serd_node_compare()David Robillard1-0/+60
2023-12-02Clean up base64 node construction and access APIDavid Robillard1-19/+49
2023-12-02Clean up numeric node construction and access APIDavid Robillard2-68/+264
2023-12-02[WIP] Use exess for reading and writing numeric and binary literalsDavid Robillard2-48/+71
2023-12-02Clean up nodes in reader/writer testsDavid Robillard1-12/+20
2023-12-02Move syntax name/extension utilities to public APIDavid Robillard2-0/+60
2023-12-02Improve reader error handlingDavid Robillard2-0/+153
2023-12-02Use a fixed-size reader stackDavid Robillard2-8/+17
2023-12-02Simplify reader interfaceDavid Robillard1-32/+38
2023-12-02Add SerdSink interface and hide implementationsDavid Robillard5-68/+226
2023-12-02Bring read/write interface closer to the C standardDavid Robillard2-10/+24
2023-12-02Add serd_new_boolean()David Robillard1-0/+21
2023-12-02Simplify literal construction APIDavid Robillard3-30/+45
2023-12-02Set datatypes on integer, decimal, and base64 nodesDavid Robillard1-7/+27
2023-12-02Simplify node construction APIDavid Robillard5-97/+157
2023-12-02Merge datatype/language into nodeDavid Robillard3-53/+69
This moves closer to the sord API, and is more convenient in most cases.
2023-12-02Simplify URI API and implementationDavid Robillard2-31/+142
2023-12-02Add serd_node_uri_view()David Robillard1-5/+11
2023-12-02Add serd_node_string_view()David Robillard1-0/+2
2023-12-02Make nodes opaqueDavid Robillard6-189/+195
2023-12-02Shorten node constructor namesDavid Robillard2-15/+14
2023-12-02Rename string view fieldsDavid Robillard1-3/+3
2023-12-02Use more human-readable status codesDavid Robillard3-5/+5
2023-12-02Add version constants to public headerDavid Robillard1-0/+1
2023-12-02Split up public API headerDavid Robillard7-8/+41
2023-12-02Remove "get" from accessor namesDavid Robillard2-8/+8
2023-12-02Rename function types for consistencyDavid Robillard1-4/+4
2023-12-02Rename SerdStyle to SerdWriterFlagsDavid Robillard2-13/+14
2023-12-02Rename SerdURI to SerdURIViewDavid Robillard1-8/+8
2023-12-02Rename SerdChunk to SerdStringViewDavid Robillard2-3/+3
2023-12-02Add SerdBuffer type for mutable buffersDavid Robillard2-14/+14
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2023-12-02Use char* for strings in public APIDavid Robillard6-126/+108
The constant casting just makes user code a mess, for no benefit.
2023-12-02Remove support for reading Turtle named inline nodes extensionDavid Robillard7-41/+0
2023-12-02Remove escape parameter from serd_node_new_file_uriDavid Robillard1-25/+10
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 Robillard2-17/+9
2023-12-02Remove serd_uri_to_path()David Robillard1-45/+0
2023-10-06Tolerate reduce floating point precision on Apple SiliconDavid Robillard1-2/+2
This is... strange, and slightly worrying, although it's already known that this conversion code isn't exact in all cases. The next major version will fix that (and I've confirmed that these issues aren't present there), but that's a major change so, for now, just reduce the very large number in the test case slightly so that it passes on these chips as well.
2023-09-23Avoid use of deprecated meson string formatting with filesDavid Robillard1-10/+29
Meson annoyingly doesn't provide access to the path of file objects (but it should). It was possible to do that by formatting a string with a file argument, but now this triggers a loud warning that claims it has always been broken and will be deprecated. So, avoid this by juggling things around and maintaining unchecked path strings instead, and hope that they're all passed to files() at some point so they can't get stale.
2023-09-22Clean up meson formattingDavid Robillard1-35/+73
Formatted automatically with muon, with some manual changes to make things format more nicely.
2023-05-03Make serd_reader_read_chunk() work with NQuadsDavid Robillard1-7/+101
2023-05-03Remove test output file after executionDavid Robillard1-0/+1
2023-04-30Suppress cross-compilation warnings in MacOS buildsDavid Robillard1-0/+5
2023-04-30Add long "help" and "version" options to serdiDavid Robillard1-0/+2
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 Robillard3-1/+164