Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | Use SerdNodes to simplify some tests | David Robillard | 1 | -55/+62 | |
2023-12-02 | Cache commonly used nodes in the world | David Robillard | 1 | -2/+1 | |
2023-12-02 | Add SerdNodes for storing a cache of interned nodes | David Robillard | 1 | -9/+12 | |
2023-12-02 | [WIP] Generalize node construction API | David Robillard | 1 | -33/+38 | |
2023-12-02 | Add support for custom allocators | David Robillard | 1 | -87/+182 | |
This makes it explicit in the API where memory is allocated, and allows the user to provide a custom allocator to avoid the use of the default system allocator for whatever reason. | |||||
2023-12-02 | Add command-line option to write output to a file | David Robillard | 1 | -1/+1 | |
2023-12-02 | [WIP] Remove SERD_CURIE node datatype entirely | David Robillard | 1 | -1/+2 | |
2023-12-02 | [WIP] Expand URIs in reader | David Robillard | 1 | -0/+31 | |
This expands relative and prefixed URIs in the reader on the stack, rather than passing them to the caller to be dealt with. This pushes these context-full forms to the edge of the system as much as possible to minimise the headaches they can cause. Towards having stricter guarantees about nodes and eliminating the CURIE node type altogether. | |||||
2023-12-02 | [WIP] Move SerdEnv mutation from writer to reader | David Robillard | 1 | -32/+0 | |
Writing having side-effects seems questionable in general, and this prepares things for expanding URIs in the reader. | |||||
2023-12-02 | [WIP] Preserve long or short quoting from input documents | David Robillard | 1 | -1/+3 | |
2023-12-02 | Simplify output stream API | David Robillard | 1 | -38/+71 | |
2023-12-02 | Make SerdBuffer an output stream | David Robillard | 1 | -10/+15 | |
2023-12-02 | Support writing all escapes in Turtle and TriG prefixed names | David Robillard | 1 | -0/+74 | |
2023-12-02 | Add empty syntax type for suppressing output | David Robillard | 1 | -0/+33 | |
2023-12-02 | Use a simple type-safe stack in writer | David Robillard | 1 | -0/+47 | |
2023-12-02 | Replace SERD_WRITE_STRICT flag with SERD_WRITE_LAX | David Robillard | 1 | -4/+4 | |
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-02 | Simplify statement flags | David Robillard | 1 | -2/+2 | |
2023-12-02 | Replace multiple stream callbacks with SerdEvent | David Robillard | 1 | -1/+27 | |
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-02 | Add SerdWorld for shared library state | David Robillard | 1 | -11/+24 | |
2023-12-02 | Add SerdSink interface and hide implementations | David Robillard | 1 | -12/+19 | |
2023-12-02 | Bring read/write interface closer to the C standard | David Robillard | 1 | -3/+10 | |
2023-12-02 | Simplify literal construction API | David Robillard | 1 | -3/+1 | |
2023-12-02 | Simplify node construction API | David Robillard | 1 | -23/+53 | |
2023-12-02 | Merge datatype/language into node | David Robillard | 1 | -10/+8 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2023-12-02 | Make nodes opaque | David Robillard | 1 | -18/+30 | |
2023-12-02 | Use more human-readable status codes | David Robillard | 1 | -3/+3 | |
2023-12-02 | Split up public API header | David Robillard | 1 | -1/+8 | |
2023-12-02 | Rename SerdStyle to SerdWriterFlags | David Robillard | 1 | -6/+6 | |
2023-12-02 | Add SerdBuffer type for mutable buffers | David Robillard | 1 | -3/+3 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2023-12-02 | Use char* for strings in public API | David Robillard | 1 | -16/+13 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2023-05-03 | Remove test output file after execution | David Robillard | 1 | -0/+1 | |
2023-04-16 | Gracefully handle errors when writing text | David Robillard | 1 | -0/+66 | |
2023-04-05 | Fix potential memory leaks when a write is aborted | David Robillard | 1 | -0/+49 | |
Also clean up and simplify writer context management in general. | |||||
2023-04-02 | Improve TriG pretty-printing and remove trailing newlines | David Robillard | 1 | -2/+2 | |
2022-08-31 | Adopt REUSE machine-readable licensing standard | David Robillard | 1 | -15/+2 | |
2021-07-10 | Add missing include | David Robillard | 1 | -0/+1 | |
2021-07-09 | Fix accidentally disabled writer test | David Robillard | 1 | -4/+1 | |
2021-02-15 | Fix writing long literals with triple quotes | David Robillard | 1 | -0/+65 | |