aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_writer.c
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02Add SerdWorld for shared library stateDavid Robillard1-11/+24
2023-12-02Add SerdSink interface and hide implementationsDavid Robillard1-12/+19
2023-12-02Bring read/write interface closer to the C standardDavid Robillard1-3/+10
2023-12-02Simplify literal construction APIDavid Robillard1-3/+1
2023-12-02Simplify node construction APIDavid Robillard1-23/+53
2023-12-02Merge datatype/language into nodeDavid Robillard1-10/+8
This moves closer to the sord API, and is more convenient in most cases.
2023-12-02Make nodes opaqueDavid Robillard1-18/+30
2023-12-02Use more human-readable status codesDavid Robillard1-3/+3
2023-12-02Split up public API headerDavid Robillard1-1/+8
2023-12-02Rename SerdStyle to SerdWriterFlagsDavid Robillard1-6/+6
2023-12-02Add SerdBuffer type for mutable buffersDavid Robillard1-3/+3
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2023-12-02Use char* for strings in public APIDavid Robillard1-16/+13
The constant casting just makes user code a mess, for no benefit.
2023-05-03Remove test output file after executionDavid Robillard1-0/+1
2023-04-16Gracefully handle errors when writing textDavid Robillard1-0/+66
2023-04-05Fix potential memory leaks when a write is abortedDavid Robillard1-0/+49
Also clean up and simplify writer context management in general.
2023-04-02Improve TriG pretty-printing and remove trailing newlinesDavid Robillard1-2/+2
2022-08-31Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2021-07-10Add missing includeDavid Robillard1-0/+1
2021-07-09Fix accidentally disabled writer testDavid Robillard1-4/+1
2021-02-15Fix writing long literals with triple quotesDavid Robillard1-0/+65