Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | [WIP] Generalize node construction API | David Robillard | 1 | -2/+5 | |
2023-12-02 | Add support for custom allocators | David Robillard | 1 | -41/+54 | |
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 | [WIP] Simplify reader and writer flags | David Robillard | 1 | -4/+4 | |
[WIP] Testing? | |||||
2023-12-02 | [WIP] Remove SERD_CURIE node datatype entirely | David Robillard | 1 | -45/+10 | |
2023-12-02 | [WIP] Move SerdEnv mutation from writer to reader | David Robillard | 1 | -13/+8 | |
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 | -2/+1 | |
2023-12-02 | [WIP] Add extensible logging API | David Robillard | 1 | -8/+16 | |
2023-12-02 | [WIP] Preserve anonymous graph syntax in TriG | David Robillard | 1 | -1/+2 | |
[WIP] Untested | |||||
2023-12-02 | [WIP] Add support for reading and writing variables | David Robillard | 1 | -0/+15 | |
[WIP] Command line option, move later? This adds a reader flag and serdi option for extending a syntax with support for SPARQL-like variables, for storing things like patterns or simple queries. | |||||
2023-12-02 | Simplify output stream API | David Robillard | 1 | -15/+20 | |
2023-12-02 | Make serd_writer_set_root_uri() take a string view | David Robillard | 1 | -3/+3 | |
This is generally more convenient, and the node was just being copied anyway. | |||||
2023-12-02 | Make SerdBuffer an output stream | David Robillard | 1 | -27/+0 | |
2023-12-02 | Strengthen handling of corrupt UTF-8 input | David Robillard | 1 | -2/+2 | |
2023-12-02 | Use tighter types for UTF-8 | David Robillard | 1 | -6/+6 | |
2023-12-02 | Support writing all escapes in Turtle and TriG prefixed names | David Robillard | 1 | -71/+70 | |
2023-12-02 | Add assertions for all non-null pointers in the public API | David Robillard | 1 | -0/+13 | |
2023-12-02 | Make serd_env_expand_in_place() take a string view instead of a node | David Robillard | 1 | -1/+2 | |
2023-12-02 | Simplify SerdEnv API | David Robillard | 1 | -2/+2 | |
2023-12-02 | Split up serd_internal.h | David Robillard | 1 | -1/+1 | |
2023-12-02 | Reduce complexity of string writing functions | David Robillard | 1 | -77/+97 | |
2023-12-02 | Reduce complexity of URI node writing functions | David Robillard | 1 | -21/+38 | |
2023-12-02 | Reduce complexity of statement writing functions | David Robillard | 1 | -78/+174 | |
2023-12-02 | Add empty syntax type for suppressing output | David Robillard | 1 | -1/+5 | |
2023-12-02 | Use a simple type-safe stack in writer | David Robillard | 1 | -42/+42 | |
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 | Add support for writing terse output with minimal newlines | David Robillard | 1 | -14/+43 | |
2023-12-02 | Pass context flags to write_sep() | David Robillard | 1 | -17/+20 | |
2023-12-02 | Add initial flags to write context | David Robillard | 1 | -12/+17 | |
2023-12-02 | Simplify statement flags | David Robillard | 1 | -17/+24 | |
2023-12-02 | Replace multiple stream callbacks with SerdEvent | David Robillard | 1 | -10/+30 | |
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 | Simplify writer style options and write UTF-8 by default | David Robillard | 1 | -3/+4 | |
2023-12-02 | Add SerdStatement | David Robillard | 1 | -7/+8 | |
2023-12-02 | Add SerdField to public API | David Robillard | 1 | -41/+33 | |
A statement field enum was previously only used by the writer internally, but will be used in the public API (without a sentinel value) in following commits. | |||||
2023-12-02 | Use thread-safe strerror_r() if available | David Robillard | 1 | -1/+4 | |
2023-12-02 | Move error handling to world | David Robillard | 1 | -3/+4 | |
2023-12-02 | Add SerdWorld for shared library state | David Robillard | 1 | -14/+7 | |
2023-12-02 | Use a fixed-size reader stack | David Robillard | 1 | -11/+18 | |
2023-12-02 | Add SerdSink interface and hide implementations | David Robillard | 1 | -5/+19 | |
2023-12-02 | Bring read/write interface closer to the C standard | David Robillard | 1 | -14/+18 | |
2023-12-02 | Simplify node construction API | David Robillard | 1 | -16/+26 | |
2023-12-02 | Merge datatype/language into node | David Robillard | 1 | -45/+35 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2023-12-02 | Simplify URI API and implementation | David Robillard | 1 | -15/+13 | |
2023-12-02 | Make nodes opaque | David Robillard | 1 | -125/+131 | |
2023-12-02 | Rename string view fields | David Robillard | 1 | -4/+4 | |
2023-12-02 | Use more human-readable status codes | David Robillard | 1 | -11/+9 | |
2023-12-02 | Split up public API header | David Robillard | 1 | -2/+12 | |
2023-12-02 | Remove "get" from accessor names | David Robillard | 1 | -4/+4 | |
2023-12-02 | Rename function types for consistency | David Robillard | 1 | -4/+4 | |
2023-12-02 | Rename SerdStyle to SerdWriterFlags | David Robillard | 1 | -26/+26 | |
2023-12-02 | Rename SerdURI to SerdURIView | David Robillard | 1 | -12/+12 | |