Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | Add empty syntax type for suppressing output | David Robillard | 3 | -0/+68 | |
2023-12-02 | Factor out test runner script argument parsing | David Robillard | 4 | -46/+41 | |
2023-12-02 | Use a simple type-safe stack in writer | David Robillard | 1 | -0/+47 | |
2023-12-02 | Add a set of limits to the world | David Robillard | 2 | -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-02 | Replace SERD_WRITE_STRICT flag with SERD_WRITE_LAX | David Robillard | 2 | -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-02 | Add support for writing terse output with minimal newlines | David Robillard | 11 | -2/+172 | |
2023-12-02 | Simplify statement flags | David Robillard | 1 | -2/+2 | |
2023-12-02 | Replace multiple stream callbacks with SerdEvent | David Robillard | 5 | -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-02 | Simplify writer style options and write UTF-8 by default | David Robillard | 5 | -10/+13 | |
2023-12-02 | Add SerdStatement | David Robillard | 4 | -35/+166 | |
2023-12-02 | Add SerdCaret | David Robillard | 5 | -3/+56 | |
2023-12-02 | Add serd_world_get_blank() | David Robillard | 2 | -0/+36 | |
2023-12-02 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -14/+7 | |
2023-12-02 | Add SerdWorld for shared library state | David Robillard | 4 | -45/+75 | |
2023-12-02 | Add serd_node_compare() | David Robillard | 1 | -0/+60 | |
2023-12-02 | Clean up base64 node construction and access API | David Robillard | 1 | -19/+49 | |
2023-12-02 | Clean up numeric node construction and access API | David Robillard | 2 | -68/+264 | |
2023-12-02 | [WIP] Use exess for reading and writing numeric and binary literals | David Robillard | 2 | -48/+71 | |
2023-12-02 | Clean up nodes in reader/writer tests | David Robillard | 1 | -12/+20 | |
2023-12-02 | Move syntax name/extension utilities to public API | David Robillard | 2 | -0/+60 | |
2023-12-02 | Improve reader error handling | David Robillard | 2 | -0/+153 | |
2023-12-02 | Use a fixed-size reader stack | David Robillard | 2 | -8/+17 | |
2023-12-02 | Simplify reader interface | David Robillard | 1 | -32/+38 | |
2023-12-02 | Add SerdSink interface and hide implementations | David Robillard | 5 | -68/+226 | |
2023-12-02 | Bring read/write interface closer to the C standard | David Robillard | 2 | -10/+24 | |
2023-12-02 | Add serd_new_boolean() | David Robillard | 1 | -0/+21 | |
2023-12-02 | Simplify literal construction API | David Robillard | 3 | -30/+45 | |
2023-12-02 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -7/+27 | |
2023-12-02 | Simplify node construction API | David Robillard | 5 | -97/+157 | |
2023-12-02 | Merge datatype/language into node | David Robillard | 3 | -53/+69 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2023-12-02 | Simplify URI API and implementation | David Robillard | 2 | -31/+142 | |
2023-12-02 | Add serd_node_uri_view() | David Robillard | 1 | -5/+11 | |
2023-12-02 | Add serd_node_string_view() | David Robillard | 1 | -0/+2 | |
2023-12-02 | Make nodes opaque | David Robillard | 6 | -189/+195 | |
2023-12-02 | Shorten node constructor names | David Robillard | 2 | -15/+14 | |
2023-12-02 | Rename string view fields | David Robillard | 1 | -3/+3 | |
2023-12-02 | Use more human-readable status codes | David Robillard | 3 | -5/+5 | |
2023-12-02 | Add version constants to public header | David Robillard | 1 | -0/+1 | |
2023-12-02 | Split up public API header | David Robillard | 7 | -8/+41 | |
2023-12-02 | Remove "get" from accessor names | David Robillard | 2 | -8/+8 | |
2023-12-02 | Rename function types for consistency | David Robillard | 1 | -4/+4 | |
2023-12-02 | Rename SerdStyle to SerdWriterFlags | David Robillard | 2 | -13/+14 | |
2023-12-02 | Rename SerdURI to SerdURIView | David Robillard | 1 | -8/+8 | |
2023-12-02 | Rename SerdChunk to SerdStringView | David Robillard | 2 | -3/+3 | |
2023-12-02 | Add SerdBuffer type for mutable buffers | David Robillard | 2 | -14/+14 | |
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 | 6 | -126/+108 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2023-12-02 | Remove support for reading Turtle named inline nodes extension | David Robillard | 7 | -41/+0 | |
2023-12-02 | Remove escape parameter from serd_node_new_file_uri | David Robillard | 1 | -25/+10 | |
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best. | |||||
2023-12-02 | Remove useless character counting | David Robillard | 2 | -17/+9 | |
2023-12-02 | Remove serd_uri_to_path() | David Robillard | 1 | -45/+0 | |