Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | Add "longhand" mode to write rdf:type predicates normally | David Robillard | 1 | -0/+7 | |
2023-12-02 | Make blank node prefixing automatic | David Robillard | 1 | -10/+0 | |
Though potentially useful, I don't think the complexity cost of the old interface (both to the implementation and to the user) is worth it. A special tool to transform blank node labels (for example with regular expressions) would be a better approach to this if it's ever needed in the future. | |||||
2023-12-02 | [WIP] Simplify reader and writer flags | David Robillard | 1 | -5/+44 | |
[WIP] Testing? | |||||
2023-12-02 | [WIP] Move SerdEnv mutation from writer to reader | David Robillard | 1 | -1/+1 | |
Writing having side-effects seems questionable in general, and this prepares things for expanding URIs in the reader. | |||||
2023-12-02 | Simplify output stream API | David Robillard | 1 | -10/+10 | |
2023-12-02 | Make serd_writer_set_root_uri() take a string view | David Robillard | 1 | -3/+2 | |
This is generally more convenient, and the node was just being copied anyway. | |||||
2023-12-02 | Factor out and expose serd_write_file_uri() | David Robillard | 1 | -1/+0 | |
2023-12-02 | Use Zix attributes directly | David Robillard | 1 | -15/+17 | |
2023-12-02 | Replace SERD_WRITE_STRICT flag with SERD_WRITE_LAX | David Robillard | 1 | -1/+1 | |
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 | -0/+1 | |
2023-12-02 | Replace multiple stream callbacks with SerdEvent | David Robillard | 1 | -9/+0 | |
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 | -6/+5 | |
2023-12-02 | Add SerdWorld for shared library state | David Robillard | 1 | -13/+3 | |
2023-12-02 | Add SerdSink interface and hide implementations | David Robillard | 1 | -36/+4 | |
2023-12-02 | Bring read/write interface closer to the C standard | David Robillard | 1 | -17/+5 | |
2023-12-02 | Simplify node construction API | David Robillard | 1 | -6/+5 | |
2023-12-02 | Merge datatype/language into node | David Robillard | 1 | -3/+1 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2023-12-02 | Make nodes opaque | David Robillard | 1 | -9/+7 | |
2023-12-02 | Split up public API header | David Robillard | 1 | -0/+172 | |