Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-14 | Move SerdEnv mutation from writer to reader | David Robillard | 1 | -0/+2 | |
Writing having side-effects seems questionable in general, and this prepares things for expanding URIs in the reader. | |||||
2022-01-14 | Add extensible logging API | David Robillard | 1 | -4/+5 | |
2022-01-13 | Add support for parsing variables | David Robillard | 1 | -0/+1 | |
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. | |||||
2022-01-13 | Make Reader always read from a ByteSource | David Robillard | 1 | -57/+30 | |
2022-01-13 | Add support for reading multiple files at once | David Robillard | 1 | -3/+0 | |
2022-01-13 | Simplify ByteSource implementation | David Robillard | 1 | -5/+0 | |
2022-01-13 | Be precise about the meaning of node "length" and "size" | David Robillard | 1 | -7/+9 | |
2022-01-13 | Align nodes on the reader stack | David Robillard | 1 | -2/+2 | |
2022-01-13 | Replace serd_reader_set_strict() with SerdReaderFlags | David Robillard | 1 | -7/+2 | |
2022-01-13 | Handle read errors more precisely | David Robillard | 1 | -1/+16 | |
2022-01-13 | Split up serd_internal.h | David Robillard | 1 | -1/+1 | |
2022-01-13 | Simplify streaming API and improve pretty printing | David Robillard | 1 | -1/+1 | |
This removes the obligation from the caller to correctly maintain flags to describe the current anonymous context, instead making the writer handle this itself as much as possible. Flags remain for the cases the writer can not infer from context: the start of anonymous subject and object nodes. | |||||
2022-01-13 | Add SerdStatement | David Robillard | 1 | -2/+6 | |
2022-01-13 | Add SerdCaret | David Robillard | 1 | -13/+17 | |
2022-01-13 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -22/+7 | |
2022-01-13 | Move fopen wrapper to world | David Robillard | 1 | -1/+1 | |
2022-01-13 | Move error handling to world | David Robillard | 1 | -1/+2 | |
2022-01-13 | Add SerdWorld for shared library state | David Robillard | 1 | -11/+4 | |
2022-01-13 | Improve reader error handling | David Robillard | 1 | -0/+4 | |
2022-01-13 | Zero node padding before passing to reader sinks | David Robillard | 1 | -0/+4 | |
2022-01-13 | Simplify stack management by popping in bulk at higher levels | David Robillard | 1 | -27/+7 | |
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. | |||||
2022-01-13 | Use a fixed-size reader stack | David Robillard | 1 | -35/+48 | |
2022-01-13 | Simplify reader interface | David Robillard | 1 | -116/+49 | |
2022-01-13 | Add SerdSink interface and hide implementations | David Robillard | 1 | -36/+15 | |
2022-01-13 | Bring read/write interface closer to C standard | David Robillard | 1 | -4/+4 | |
2022-01-13 | Merge datatype/language into node | David Robillard | 1 | -8/+2 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2022-01-13 | Simplify URI API and implementation | David Robillard | 1 | -1/+1 | |
2022-01-13 | Make nodes opaque | David Robillard | 1 | -21/+20 | |
2022-01-13 | Remove "get" from accessor names | David Robillard | 1 | -1/+1 | |
2022-01-13 | Rename function types for consistency | David Robillard | 1 | -13/+13 | |
2022-01-13 | Rename SerdType to SerdNodeType | David Robillard | 1 | -9/+9 | |
The old name will be even more ambiguous with the increased scope. | |||||
2022-01-13 | Use char* for strings in public API | David Robillard | 1 | -23/+22 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2022-01-13 | Remove useless character counting | David Robillard | 1 | -5/+5 | |
2021-05-31 | Make most function parameters const | David Robillard | 1 | -56/+68 | |
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 | Fix include order | David Robillard | 1 | -1/+2 | |
2021-01-10 | Add missing includes | David Robillard | 1 | -0/+2 | |
2021-01-02 | Use email address instead of website for attribution | David Robillard | 1 | -1/+1 | |
2020-12-31 | Format all code with clang-format | David Robillard | 1 | -213/+216 | |
2020-12-31 | Avoid "else" after "break" and "return" | David Robillard | 1 | -1/+3 | |
2020-11-13 | Improve add and chop prefix functions when given empty strings | David Robillard | 1 | -4/+5 | |
2020-08-16 | Ensure that all free methods tolerate NULL | David Robillard | 1 | -0/+4 | |
2020-08-15 | Clean up reader error handling | David Robillard | 1 | -19/+27 | |
2020-08-15 | Make r_err() return a status | David Robillard | 1 | -2/+2 | |
2020-08-15 | Fix stack check C++ compatibility | David Robillard | 1 | -1/+1 | |
2020-08-14 | Clean up and separate internal headers | David Robillard | 1 | -0/+2 | |
2020-07-05 | Remove redundant switch statement | David Robillard | 1 | -3/+1 | |
2020-06-21 | Clean up includes | David Robillard | 1 | -2/+1 | |
2019-12-08 | Fix reading from a null-delimited socket | David Robillard | 1 | -0/+6 | |
2019-10-27 | Simplify syntax dispatch condition | David Robillard | 1 | -4/+2 | |
This avoids the Wswitch-enum warning in clang. | |||||
2019-10-27 | Fix integer conversion warnings | David Robillard | 1 | -3/+3 | |