Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | Factor out NQuads reader | David Robillard | 1 | -91/+1 | |
2023-12-02 | Factor out NTriples reader | David Robillard | 1 | -516/+18 | |
2023-12-02 | Factor out UTF-8 reading utilities | David Robillard | 1 | -85/+10 | |
2023-12-02 | Make r_err take a single line without trailing newline | David Robillard | 1 | -54/+53 | |
Towards having an actual logging (rather than printing) mechanism. | |||||
2023-12-02 | Support reading lone lists in lax mode | David Robillard | 1 | -1/+1 | |
This allows parsing documents like "(42) ." | |||||
2023-12-02 | Be precise about the meaning of node "length" and "size" | David Robillard | 1 | -2/+3 | |
2023-12-02 | Handle read errors more precisely | David Robillard | 1 | -19/+20 | |
2023-12-02 | Split up serd_internal.h | David Robillard | 1 | -1/+1 | |
2023-12-02 | Reduce complexity of blank node reading functions | David Robillard | 1 | -18/+28 | |
2023-12-02 | Simplify statement flags | David Robillard | 1 | -21/+13 | |
2023-12-02 | Improve reader error handling | David Robillard | 1 | -129/+152 | |
2023-12-02 | Set flags directly when reading literal nodes | David Robillard | 1 | -64/+43 | |
2023-12-02 | Zero node padding before passing to reader sinks | David Robillard | 1 | -1/+4 | |
2023-12-02 | Remove datatype and language from reader context | David Robillard | 1 | -38/+32 | |
2023-12-02 | Simplify stack management by popping in bulk at higher levels | David Robillard | 1 | -74/+37 | |
Since all memory used by the reader is POD in the stack, there is no benefit to forcing code to explicitly pop everything pushed to the stack, since any function can record an offset and pop back down to it regardless of what its callers pushed if it knows that it does not need those items. This is slightly more efficient (due to avoiding many pop calls), but also more resilient since "leaks" at deeper levels of recursion get nuked by some caller regardless of what was pushed. This should help prevent future regressions like f6437f606 (Fix memory consumption when reading documents). | |||||
2023-12-02 | Use a fixed-size reader stack | David Robillard | 1 | -116/+145 | |
2023-12-02 | Add SerdSink interface and hide implementations | David Robillard | 1 | -11/+5 | |
2023-12-02 | Merge datatype/language into node | David Robillard | 1 | -14/+19 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2023-12-02 | Make nodes opaque | David Robillard | 1 | -16/+19 | |
2023-12-02 | Use more human-readable status codes | David Robillard | 1 | -81/+73 | |
2023-12-02 | Split up public API header | David Robillard | 1 | -1/+5 | |
2023-12-02 | Rename function types for consistency | David Robillard | 1 | -6/+6 | |
2023-12-02 | Use char* for strings in public API | David Robillard | 1 | -7/+5 | |
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 | 1 | -20/+0 | |
2023-09-22 | Remove unused include | David Robillard | 1 | -1/+0 | |
2023-05-08 | Avoid use of strtoul() | David Robillard | 1 | -7/+7 | |
This function is overkill for the simple cases actually needed here, and pretty slow anyway. | |||||
2023-05-03 | Make serd_reader_read_chunk() work with NQuads | David Robillard | 1 | -1/+1 | |
2023-05-03 | Factor out read_nquads_statement() | David Robillard | 1 | -42/+54 | |
2023-04-16 | Gracefully handle errors when writing text | David Robillard | 1 | -15/+14 | |
2023-04-06 | Clean up error handling and use TRY macros more broadly | David Robillard | 1 | -29/+35 | |
2023-04-06 | Improve pretty-printing of lists and inline subjects | David Robillard | 1 | -9/+14 | |
2023-04-06 | Gracefully handle boolean subject and predicate errors | David Robillard | 1 | -0/+3 | |
2023-04-05 | Improve writer error handling | David Robillard | 1 | -7/+1 | |
2023-04-05 | Use conventional status variable name | David Robillard | 1 | -17/+17 | |
2023-03-31 | Fix incorrect parsing of strange quote escape patterns | David Robillard | 1 | -3/+9 | |
2023-03-31 | Factor out read_string_escape() | David Robillard | 1 | -11/+20 | |
2022-12-20 | Avoid using ASCII grave as a quote | David Robillard | 1 | -15/+15 | |
2022-12-09 | Add serd_reader_skip_until_byte() to public API | David Robillard | 1 | -4/+9 | |
2022-11-25 | Always handle the return value of eat_byte_safe() | David Robillard | 1 | -54/+40 | |
2022-11-24 | Gracefully handle bad characters in Turtle blank node syntax | David Robillard | 1 | -1/+3 | |
2022-11-24 | Gracefully handle bad characters in Turtle datatype syntax | David Robillard | 1 | -2/+5 | |
2022-11-24 | Avoid redundant comparison | David Robillard | 1 | -1/+1 | |
2022-11-24 | Simplify error handling logic | David Robillard | 1 | -6/+5 | |
2022-10-23 | Fix hang when skipping an error at EOF when lax parsing | David Robillard | 1 | -1/+1 | |
2022-10-23 | Use uppercase integer literal suffixes | David Robillard | 1 | -3/+3 | |
2022-08-31 | Adopt REUSE machine-readable licensing standard | David Robillard | 1 | -15/+2 | |
2022-06-10 | Fix memory consumption when reading documents | David Robillard | 1 | -1/+13 | |
2021-05-31 | Make most function parameters const | David Robillard | 1 | -69/+102 | |
More const never hurts in general, but in particular this allows the compiler to make better nullability deductions, which reduces the amount of manual nullability casting required. | |||||
2021-05-31 | Remove "static inline" for functions in implementation files | David Robillard | 1 | -12/+12 | |
This is just noise since these are static functions local to a C compilation unit. | |||||
2021-05-31 | Fix unannotated switch fallthroughs | David Robillard | 1 | -4/+19 | |
Unfortunately, clang does not support doing this with comments, requiring yet more preprocessor gunk. |