Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | [WIP] Simplify reader and writer flags | David Robillard | 3 | -6/+7 | |
[WIP] Testing? | |||||
2023-12-02 | [WIP] Remove serd_new_resolved_uri() | David Robillard | 3 | -63/+12 | |
2023-12-02 | [WIP] Remove SERD_CURIE node datatype entirely | David Robillard | 6 | -127/+58 | |
2023-12-02 | [WIP] Expand URIs in reader | David Robillard | 6 | -24/+147 | |
This expands relative and prefixed URIs in the reader on the stack, rather than passing them to the caller to be dealt with. This pushes these context-full forms to the edge of the system as much as possible to minimise the headaches they can cause. Towards having stricter guarantees about nodes and eliminating the CURIE node type altogether. | |||||
2023-12-02 | [WIP] Move SerdEnv mutation from writer to reader | David Robillard | 4 | -13/+20 | |
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 | 7 | -154/+87 | |
2023-12-02 | Leave statement caret at the start of literals | David Robillard | 3 | -5/+24 | |
This allows a precise location to be reported for errors within literals, by adding the offset of the error in the literal to the caret. This will be used to report nice errors for things like regular expressions and supported XSD datatypes. | |||||
2023-12-02 | [WIP] Add extensible logging API | David Robillard | 9 | -96/+392 | |
2023-12-02 | [WIP] Preserve anonymous graph syntax in TriG | David Robillard | 2 | -1/+3 | |
[WIP] Untested | |||||
2023-12-02 | [WIP] Add support for reading and writing variables | David Robillard | 7 | -4/+86 | |
[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 | [TESTED] Replace -b and -e options with a block size option | David Robillard | 1 | -17/+0 | |
This is more powerful, and reduces the number of command line options that almost nobody needs to care about. | |||||
2023-12-02 | Move serdi to tools subdirectory | David Robillard | 4 | -343/+0 | |
This separates the command-line tool code from the library implementation. | |||||
2023-12-02 | Factor out command line version printing | David Robillard | 3 | -19/+24 | |
2023-12-02 | Factor out Windows UTF-8 console setup code | David Robillard | 3 | -12/+33 | |
2023-12-02 | Remove datatype arguments from integer and base64 constructors | David Robillard | 1 | -9/+11 | |
2023-12-02 | Simplify output stream API | David Robillard | 7 | -107/+241 | |
2023-12-02 | Simplify input stream API | David Robillard | 12 | -229/+272 | |
2023-12-02 | Rename SerdErrorFunc to SerdLogFunc | David Robillard | 3 | -9/+9 | |
2023-12-02 | Reduce complexity of URI parsing code | David Robillard | 2 | -101/+97 | |
2023-12-02 | Make serd_writer_set_root_uri() take a string view | David Robillard | 2 | -6/+4 | |
This is generally more convenient, and the node was just being copied anyway. | |||||
2023-12-02 | Make SerdBuffer an output stream | David Robillard | 4 | -34/+47 | |
2023-12-02 | Factor out and expose serd_write_file_uri() | David Robillard | 2 | -82/+89 | |
2023-12-02 | Strengthen handling of corrupt UTF-8 input | David Robillard | 3 | -15/+24 | |
2023-12-02 | Improve URI read performance | David Robillard | 1 | -15/+12 | |
2023-12-02 | Use tighter types for UTF-8 | David Robillard | 3 | -17/+19 | |
2023-12-02 | Support writing all escapes in Turtle and TriG prefixed names | David Robillard | 3 | -74/+74 | |
2023-12-02 | Simplify reading code with TRY_LAX macro | David Robillard | 1 | -14/+14 | |
2023-12-02 | Separate Turtle and TriG reading code | David Robillard | 6 | -150/+400 | |
2023-12-02 | Reduce complexity of Turtle and TriG block reading functions | David Robillard | 1 | -87/+108 | |
2023-12-02 | Reduce complexity of Turtle object reading code | David Robillard | 1 | -41/+66 | |
2023-12-02 | Factor out and expose prefixed name predicates | David Robillard | 5 | -63/+63 | |
Towards using these in the writer to escape names more precisely. | |||||
2023-12-02 | Factor out NQuads reader | David Robillard | 7 | -113/+167 | |
2023-12-02 | Factor out NTriples reader | David Robillard | 6 | -521/+1009 | |
2023-12-02 | Factor out UTF-8 reading utilities | David Robillard | 3 | -85/+133 | |
2023-12-02 | Use Zix attributes directly | David Robillard | 9 | -47/+49 | |
2023-12-02 | Make r_err take a single line without trailing newline | David Robillard | 4 | -57/+57 | |
Towards having an actual logging (rather than printing) mechanism. | |||||
2023-12-02 | Add assertions for all non-null pointers in the public API | David Robillard | 11 | -2/+112 | |
2023-12-02 | Make serd_env_expand_in_place() take a string view instead of a node | David Robillard | 3 | -8/+11 | |
2023-12-02 | Add serd_env_copy() and serd_env_equals() | David Robillard | 1 | -0/+47 | |
2023-12-02 | Split up serd_env_expand() implementation | David Robillard | 1 | -17/+35 | |
2023-12-02 | Simplify SerdEnv API | David Robillard | 3 | -20/+59 | |
2023-12-02 | Make serd_uri_string_length() precise and add it to public API | David Robillard | 2 | -21/+44 | |
2023-12-02 | Support reading lone lists in lax mode | David Robillard | 1 | -1/+1 | |
This allows parsing documents like "(42) ." | |||||
2023-12-02 | Simplify ByteSource implementation | David Robillard | 2 | -29/+20 | |
2023-12-02 | Be precise about the meaning of node "length" and "size" | David Robillard | 4 | -39/+36 | |
2023-12-02 | Align nodes on the reader stack | David Robillard | 2 | -13/+10 | |
2023-12-02 | Replace serd_reader_set_strict() with SerdReaderFlags | David Robillard | 2 | -12/+6 | |
2023-12-02 | Handle read errors more precisely | David Robillard | 3 | -20/+39 | |
2023-12-02 | Simplify reader stack pushing code | David Robillard | 1 | -6/+6 | |
2023-12-02 | Split up serd_internal.h | David Robillard | 9 | -15/+19 | |