Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-27 | 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. | |||||
2020-10-27 | Add extensible logging API | David Robillard | 1 | -1/+1 | |
2020-10-27 | Rename SerdType to SerdNodeType | David Robillard | 1 | -10/+12 | |
The old name has become ambiguous with the expanded scope of serd. | |||||
2020-10-27 | Simplify reader stack pushing code | David Robillard | 1 | -8/+10 | |
2020-10-27 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -1/+0 | |
2020-10-27 | Improve push_byte() performance | David Robillard | 1 | -4/+4 | |
2020-10-27 | Remove datatype and language from reader context | David Robillard | 1 | -2/+0 | |
2020-10-27 | Simplify stack management by popping in bulk at higher levels | David Robillard | 1 | -3/+1 | |
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. | |||||
2020-10-27 | Use a fixed-size reader stack | David Robillard | 1 | -33/+34 | |
This improves performance, and makes the reader more suitable for embedded or network-facing applications, at the cost of requiring the user to specify a maximum stack size. | |||||
2020-10-27 | Add SerdWorld for shared library state | David Robillard | 1 | -0/+1 | |
2020-10-27 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -6/+1 | |
2020-10-27 | Merge datatype and/or language into node | David Robillard | 1 | -1/+1 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2020-10-27 | Make nodes opaque | David Robillard | 1 | -1/+2 | |
2020-10-27 | Use char* for strings in public API | David Robillard | 1 | -2/+2 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2020-10-27 | Remove useless character counting | David Robillard | 1 | -3/+0 | |
2020-10-27 | Simplify reader byte reading interface | David Robillard | 1 | -10/+3 | |
This eliminates eat_byte() and the way it conflates the status of advancing the source with the current character, which can cause problems with custom sinks. | |||||
2020-08-15 | Clean up reader error handling | David Robillard | 1 | -13/+12 | |
2020-08-15 | Make r_err() return a status | David Robillard | 1 | -3/+4 | |
2020-08-15 | Move prototype to a more sensible location | David Robillard | 1 | -4/+4 | |
2020-08-14 | Make serd_stack_push() return a void pointer | David Robillard | 1 | -1/+1 | |
This avoids some unnecessary type punning. | |||||
2020-08-14 | Clean up and separate internal headers | David Robillard | 1 | -1/+93 | |
2020-06-21 | Clean up includes | David Robillard | 1 | -1/+5 | |
2019-10-27 | Use int as internal character type so it can represent EOF | David Robillard | 1 | -12/+19 | |
2019-01-05 | Fix unused parameter warnings | David Robillard | 1 | -0/+2 | |
2018-02-04 | Factor out syntax-specific reader implementation | David Robillard | 1 | -0/+86 | |