Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-13 | Add empty syntax type for suppressing output | David Robillard | 1 | -0/+34 | |
2022-01-13 | Replace SERD_WRITE_STRICT flag with SERD_WRITE_LAX | David Robillard | 1 | -3/+3 | |
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. | |||||
2022-01-13 | Improve writer error handling | David Robillard | 1 | -0/+101 | |
2022-01-13 | Simplify streaming API and improve pretty printing | David Robillard | 1 | -6/+6 | |
This removes the obligation from the caller to correctly maintain flags to describe the current anonymous context, instead making the writer handle this itself as much as possible. Flags remain for the cases the writer can not infer from context: the start of anonymous subject and object nodes. | |||||
2022-01-13 | Replace multiple stream callbacks with SerdEvent | David Robillard | 1 | -0/+26 | |
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. | |||||
2022-01-13 | Use SerdNodes to simplify some tests | David Robillard | 1 | -20/+21 | |
2022-01-13 | Add SerdWorld for shared library state | David Robillard | 1 | -4/+13 | |
2022-01-13 | Simplify literal construction API | David Robillard | 1 | -3/+1 | |
2022-01-13 | Handle writer stack overflows gracefully | David Robillard | 1 | -0/+56 | |
2022-01-13 | Add SerdSink interface and hide implementations | David Robillard | 1 | -2/+3 | |
2022-01-13 | Simplify node construction API | David Robillard | 1 | -5/+34 | |
2022-01-13 | Merge datatype/language into node | David Robillard | 1 | -1/+1 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2022-01-13 | Make nodes opaque | David Robillard | 1 | -4/+7 | |
2022-01-13 | Rename SerdStyle to SerdWriterFlags | David Robillard | 1 | -2/+2 | |
2022-01-13 | Use char* for strings in public API | David Robillard | 1 | -8/+4 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2022-01-13 | 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. | |||||
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 | |