aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02[TESTED] Replace -b and -e options with a block size optionDavid Robillard1-2/+6
This is more powerful, and reduces the number of command line options that almost nobody needs to care about.
2023-12-02Add support for reading multiple files at onceDavid Robillard5-0/+52
2023-12-02Simplify handling of input string argumentsDavid Robillard1-1/+2
2023-12-02Add base URI command-line optionDavid Robillard5-14/+52
2023-12-02Rename serdi to serd-pipeDavid Robillard7-33/+40
2023-12-02Move serdi to tools subdirectoryDavid Robillard2-2/+2
This separates the command-line tool code from the library implementation.
2023-12-02Remove datatype arguments from integer and base64 constructorsDavid Robillard1-12/+9
2023-12-02Simplify output stream APIDavid Robillard3-56/+97
2023-12-02Simplify input stream APIDavid Robillard4-55/+151
2023-12-02Make SerdBuffer an output streamDavid Robillard3-17/+22
2023-12-02Strengthen handling of corrupt UTF-8 inputDavid Robillard8-26/+208
2023-12-02Support writing all escapes in Turtle and TriG prefixed namesDavid Robillard3-2/+82
2023-12-02Separate Turtle and TriG reading codeDavid Robillard1-1/+2
2023-12-02Factor out NQuads readerDavid Robillard2-0/+10
2023-12-02Factor out NTriples readerDavid Robillard9-7/+74
2023-12-02Use Zix attributes directlyDavid Robillard3-4/+5
2023-12-02Use portable zix filesystem API in testsDavid Robillard4-57/+39
2023-12-02[WIP] Add zix dependencyDavid Robillard1-1/+3
Most of the system-specific code will be replaced with calls to portable zix functions, and the data structures will be used for in-memory node and statement storage.
2023-12-02Clean up SerdEnv testsDavid Robillard1-65/+249
2023-12-02Add serd_env_copy() and serd_env_equals()David Robillard1-0/+43
2023-12-02Simplify SerdEnv APIDavid Robillard1-40/+45
2023-12-02Test lax NTriples parsing separatelyDavid Robillard14-25/+89
2023-12-02Support reading lone lists in lax modeDavid Robillard3-0/+10
This allows parsing documents like "(42) ."
2023-12-02Align nodes on the reader stackDavid Robillard1-1/+3
2023-12-02Replace serd_reader_set_strict() with SerdReaderFlagsDavid Robillard3-11/+11
2023-12-02Split out simple reader unit testsDavid Robillard3-317/+404
2023-12-02Reduce complexity of statement writing functionsDavid Robillard1-1/+1
2023-12-02Add empty syntax type for suppressing outputDavid Robillard3-0/+68
2023-12-02Factor out test runner script argument parsingDavid Robillard4-46/+41
2023-12-02Use a simple type-safe stack in writerDavid Robillard1-0/+47
2023-12-02Add a set of limits to the worldDavid Robillard2-9/+19
The idea here is to remove the burden of passing things around like stack sizes (where most users don't care and will be happy with a reasonably large default) and keeping the call sites to things like serd_reader_new() clean. The cost is a bit more state, so it's both more powerful and more potentially flaky, since changing the limits has action at a distance that isn't clear from the call site. I think it's worth it for the cleaner API in the common case, and the much better forward compatibility.
2023-12-02Replace SERD_WRITE_STRICT flag with SERD_WRITE_LAXDavid Robillard2-10/+9
The unset value for flags should represent the best default, which in this case is strict parsing. Lax parsing is the riskier opt-in option.
2023-12-02Add support for writing terse output with minimal newlinesDavid Robillard11-2/+172
2023-12-02Simplify statement flagsDavid Robillard1-2/+2
2023-12-02Replace multiple stream callbacks with SerdEventDavid Robillard5-144/+170
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 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