Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | Zero node padding before passing to reader sinks | David Robillard | 5 | -2/+41 | |
2023-12-02 | Remove datatype and language from reader context | David Robillard | 2 | -40/+32 | |
2023-12-02 | Simplify stack management by popping in bulk at higher levels | David Robillard | 4 | -139/+55 | |
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 | 8 | -199/+273 | |
2023-12-02 | Simplify reader interface | David Robillard | 5 | -189/+106 | |
2023-12-02 | Add SerdSink interface and hide implementations | David Robillard | 7 | -81/+179 | |
2023-12-02 | Bring read/write interface closer to the C standard | David Robillard | 8 | -57/+66 | |
2023-12-02 | Add serd_new_boolean() | David Robillard | 1 | -0/+8 | |
2023-12-02 | Simplify literal construction API | David Robillard | 1 | -31/+61 | |
2023-12-02 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -30/+68 | |
2023-12-02 | Simplify node construction API | David Robillard | 5 | -158/+171 | |
2023-12-02 | Merge datatype/language into node | David Robillard | 5 | -73/+171 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2023-12-02 | Simplify URI API and implementation | David Robillard | 8 | -267/+259 | |
2023-12-02 | Add serd_node_uri_view() | David Robillard | 1 | -0/+12 | |
2023-12-02 | Add serd_node_string_view() | David Robillard | 1 | -0/+9 | |
2023-12-02 | Align node allocations | David Robillard | 3 | -6/+46 | |
2023-12-02 | Make nodes opaque | David Robillard | 9 | -315/+363 | |
2023-12-02 | Add node accessor API | David Robillard | 1 | -0/+24 | |
2023-12-02 | Shorten node constructor names | David Robillard | 3 | -29/+27 | |
2023-12-02 | Rename string view fields | David Robillard | 5 | -72/+72 | |
2023-12-02 | Use more human-readable status codes | David Robillard | 10 | -121/+129 | |
2023-12-02 | Add version constants to public header | David Robillard | 2 | -4/+7 | |
2023-12-02 | Split up public API header | David Robillard | 20 | -47/+66 | |
2023-12-02 | Remove "get" from accessor names | David Robillard | 3 | -6/+6 | |
2023-12-02 | Rename function types for consistency | David Robillard | 7 | -36/+36 | |
2023-12-02 | Rename SerdStyle to SerdWriterFlags | David Robillard | 2 | -38/+38 | |
2023-12-02 | Rename SerdType to SerdNodeType | David Robillard | 4 | -21/+24 | |
The old name will be even more ambiguous with the increased scope. | |||||
2023-12-02 | Rename SerdURI to SerdURIView | David Robillard | 6 | -64/+66 | |
2023-12-02 | Rename SerdChunk to SerdStringView | David Robillard | 4 | -15/+15 | |
2023-12-02 | Add SerdBuffer type for mutable buffers | David Robillard | 3 | -22/+20 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2023-12-02 | Use char* for strings in public API | David Robillard | 16 | -252/+228 | |
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-12-02 | Remove escape parameter from serd_node_new_file_uri | David Robillard | 2 | -4/+3 | |
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best. | |||||
2023-12-02 | Remove useless character counting | David Robillard | 7 | -79/+43 | |
2023-12-02 | Remove serd_uri_to_path() | David Robillard | 2 | -27/+2 | |
2023-10-22 | Serd 0.32.0v0.32.0 | David Robillard | 1 | -1/+1 | |
2023-09-22 | Fix potential realloc leaks | David Robillard | 2 | -6/+12 | |
2023-09-22 | Remove unused include | David Robillard | 1 | -1/+0 | |
2023-05-08 | Avoid use of strtoul() | David Robillard | 3 | -9/+16 | |
This function is overkill for the simple cases actually needed here, and pretty slow anyway. | |||||
2023-05-04 | Fix whitespace | David Robillard | 1 | -2/+2 | |
2023-05-03 | Make serd_reader_read_chunk() work with NQuads | David Robillard | 3 | -2/+7 | |
2023-05-03 | Factor out read_nquads_statement() | David Robillard | 1 | -42/+54 | |
2023-05-03 | Remove redundant wrapper function | David Robillard | 1 | -7/+1 | |
2023-04-30 | Add long "help" and "version" options to serdi | David Robillard | 2 | -1/+9 | |
Although serdi still "officially" has a BSD-style interface, meson uses --version to find the version of executables. So, support that, and also add --help, since users will often try that for unknown commands. | |||||
2023-04-16 | Gracefully handle errors when writing text | David Robillard | 5 | -85/+143 | |
2023-04-06 | Clean up error handling and use TRY macros more broadly | David Robillard | 2 | -37/+41 | |
2023-04-06 | Improve pretty-printing of lists and inline subjects | David Robillard | 4 | -161/+247 | |
2023-04-06 | Remove support for writing Turtle named inline nodes extension | David Robillard | 1 | -30/+6 | |
2023-04-06 | Simplify remove_dot_segments() implementation | David Robillard | 1 | -53/+15 | |
2023-04-06 | Make URI writing stricter by default | David Robillard | 2 | -8/+11 | |