Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | [WIP] Preserve anonymous graph syntax in TriG | David Robillard | 1 | -6/+7 | |
[WIP] Untested | |||||
2023-12-02 | [WIP] Add support for reading and writing variables | David Robillard | 2 | -4/+23 | |
[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 | Remove datatype arguments from integer and base64 constructors | David Robillard | 1 | -6/+2 | |
2023-12-02 | Simplify output stream API | David Robillard | 5 | -31/+108 | |
2023-12-02 | Simplify input stream API | David Robillard | 4 | -24/+136 | |
2023-12-02 | Rename SerdErrorFunc to SerdLogFunc | David Robillard | 2 | -6/+6 | |
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 | Make SerdBuffer an output stream | David Robillard | 1 | -14/+19 | |
2023-12-02 | Factor out and expose serd_write_file_uri() | David Robillard | 11 | -11/+27 | |
2023-12-02 | Separate Turtle and TriG reading code | David Robillard | 1 | -1/+1 | |
2023-12-02 | Use Zix attributes directly | David Robillard | 19 | -274/+288 | |
2023-12-02 | Add serd_env_copy() and serd_env_equals() | David Robillard | 1 | -0/+10 | |
2023-12-02 | Simplify SerdEnv API | David Robillard | 1 | -15/+13 | |
2023-12-02 | Make serd_uri_string_length() precise and add it to public API | David Robillard | 1 | -1/+14 | |
2023-12-02 | Replace serd_reader_set_strict() with SerdReaderFlags | David Robillard | 1 | -10/+9 | |
2023-12-02 | Add empty syntax type for suppressing output | David Robillard | 1 | -6/+9 | |
2023-12-02 | Use a simple type-safe stack in writer | David Robillard | 1 | -0/+1 | |
2023-12-02 | Add a set of limits to the world | David Robillard | 2 | -2/+30 | |
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 | 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 | 2 | -0/+3 | |
2023-12-02 | Simplify statement flags | David Robillard | 1 | -8/+6 | |
2023-12-02 | Replace multiple stream callbacks with SerdEvent | David Robillard | 6 | -37/+113 | |
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 SerdStatement | David Robillard | 2 | -6/+93 | |
2023-12-02 | Add SerdCaret | David Robillard | 4 | -9/+88 | |
2023-12-02 | Add SerdField to public API | David Robillard | 1 | -0/+8 | |
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 | Add serd_world_get_blank() | David Robillard | 1 | -0/+10 | |
2023-12-02 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -12/+0 | |
2023-12-02 | Add SerdWorld for shared library state | David Robillard | 5 | -26/+61 | |
2023-12-02 | Add serd_node_compare() | David Robillard | 1 | -0/+13 | |
2023-12-02 | Clean up base64 node construction and access API | David Robillard | 3 | -0/+83 | |
2023-12-02 | Clean up numeric node construction and access API | David Robillard | 2 | -11/+69 | |
2023-12-02 | [WIP] Use exess for reading and writing numeric and binary literals | David Robillard | 2 | -26/+21 | |
2023-12-02 | Move syntax name/extension utilities to public API | David Robillard | 1 | -5/+33 | |
2023-12-02 | Use a fixed-size reader stack | David Robillard | 1 | -1/+3 | |
2023-12-02 | Simplify reader interface | David Robillard | 1 | -45/+35 | |
2023-12-02 | Add SerdSink interface and hide implementations | David Robillard | 3 | -47/+73 | |
2023-12-02 | Bring read/write interface closer to the C standard | David Robillard | 5 | -38/+39 | |
2023-12-02 | Add serd_new_boolean() | David Robillard | 1 | -0/+6 | |
2023-12-02 | Simplify literal construction API | David Robillard | 1 | -9/+17 | |
2023-12-02 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -4/+16 | |
2023-12-02 | Simplify node construction API | David Robillard | 3 | -39/+37 | |
2023-12-02 | Merge datatype/language into node | David Robillard | 3 | -14/+42 | |
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 | -79/+89 | |
2023-12-02 | Add serd_node_uri_view() | David Robillard | 1 | -0/+14 | |
2023-12-02 | Add serd_node_string_view() | David Robillard | 1 | -0/+10 | |
2023-12-02 | Make nodes opaque | David Robillard | 6 | -91/+87 | |
2023-12-02 | Add node accessor API | David Robillard | 1 | -0/+20 | |
2023-12-02 | Shorten node constructor names | David Robillard | 2 | -22/+26 | |
2023-12-02 | Rename string view fields | David Robillard | 1 | -2/+2 | |