Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-13 | Move syntax name/extension utilities to public API | David Robillard | 4 | -59/+117 | |
2022-01-13 | Improve reader error handling | David Robillard | 5 | -131/+350 | |
2022-01-13 | Set flags directly when reading literal nodes | David Robillard | 1 | -61/+43 | |
2022-01-13 | Add debug checks for node padding | David Robillard | 3 | -14/+37 | |
2022-01-13 | Zero node padding before passing to reader sinks | David Robillard | 5 | -2/+41 | |
2022-01-13 | Remove datatype and language from reader context | David Robillard | 2 | -38/+31 | |
2022-01-13 | Simplify stack management by popping in bulk at higher levels | David Robillard | 4 | -126/+49 | |
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 | Handle writer stack overflows gracefully | David Robillard | 2 | -7/+74 | |
2022-01-13 | Use a fixed-size reader stack | David Robillard | 15 | -212/+292 | |
2022-01-13 | Simplify reader interface | David Robillard | 9 | -284/+190 | |
2022-01-13 | Add SerdSink interface and hide implementations | David Robillard | 15 | -163/+500 | |
2022-01-13 | Bring read/write interface closer to C standard | David Robillard | 11 | -92/+99 | |
2022-01-13 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 4 | -38/+132 | |
2022-01-13 | Simplify node construction API | David Robillard | 11 | -299/+395 | |
2022-01-13 | Merge datatype/language into node | David Robillard | 10 | -144/+273 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2022-01-13 | Improve URI tests | David Robillard | 1 | -9/+29 | |
2022-01-13 | Simplify URI API and implementation | David Robillard | 13 | -443/+514 | |
2022-01-13 | Add nullability annotations to internal node functions | David Robillard | 1 | -6/+7 | |
2022-01-13 | Add serd_node_uri_view() | David Robillard | 2 | -0/+27 | |
2022-01-13 | Add serd_node_string_view() | David Robillard | 2 | -0/+18 | |
2022-01-13 | Align node allocations | David Robillard | 3 | -11/+55 | |
2022-01-13 | Make nodes opaque | David Robillard | 19 | -545/+582 | |
2022-01-13 | Add node accessor API | David Robillard | 2 | -0/+44 | |
2022-01-13 | Shorten node constructor names | David Robillard | 6 | -66/+62 | |
2022-01-13 | Add string view construction macros | David Robillard | 1 | -1/+69 | |
2022-01-13 | Remove redundant null check in serd_env_set_base_uri() | David Robillard | 1 | -1/+1 | |
The env parameter here is declared as nonnull in the API, so it is an error to call it with NULL (which clang can statically flag as a warning). | |||||
2022-01-13 | Remove "get" from accessor names | David Robillard | 6 | -18/+21 | |
2022-01-13 | Rename function types for consistency | David Robillard | 8 | -58/+58 | |
2022-01-13 | Rename SerdStyle to SerdWriterFlags | David Robillard | 5 | -50/+52 | |
2022-01-13 | Rename SerdType to SerdNodeType | David Robillard | 5 | -25/+28 | |
The old name will be even more ambiguous with the increased scope. | |||||
2022-01-13 | Rename SerdURI to SerdURIView | David Robillard | 8 | -113/+115 | |
2022-01-13 | Rename SerdChunk to SerdStringView | David Robillard | 7 | -35/+36 | |
2022-01-13 | Use char* for strings in public API | David Robillard | 24 | -397/+354 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2022-01-13 | Add SerdBuffer type for mutable buffers | David Robillard | 9 | -41/+47 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2022-01-13 | Remove support for Turtle named inline nodes extension | David Robillard | 10 | -84/+7 | |
2022-01-13 | Remove escape parameter from serd_node_new_file_uri | David Robillard | 4 | -19/+11 | |
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best. | |||||
2022-01-13 | Remove useless character counting | David Robillard | 11 | -101/+55 | |
2022-01-13 | Remove serd_uri_to_path() | David Robillard | 4 | -95/+7 | |
2022-01-13 | Define _POSIX_C_SOURCE globally in the build system | David Robillard | 4 | -8/+8 | |
Using inconsistent defines like this that affect the standard library implementation can cause issues. So, doing this consistently for the whole library is a better approach, although it unfortunately makes the code more difficult to compile manually. | |||||
2022-01-13 | Switch to Meson | David Robillard | 22 | -727/+859 | |
2022-01-13 | Factor out test suite running to a standalone script | David Robillard | 2 | -199/+442 | |
2022-01-13 | Add dark theme for HTML man pages | David Robillard | 1 | -10/+70 | |
2022-01-13 | Fix name shadowing in benchmarking script | David Robillard | 1 | -3/+3 | |
2022-01-13 | Suppress new warnings in clang-tidy 13 | David Robillard | 2 | -2/+4 | |
2021-07-10 | Fix out of bounds read in test | David Robillard | 1 | -0/+4 | |
2021-07-10 | Clean up socket-like stream reading test | David Robillard | 1 | -5/+17 | |
2021-07-10 | Add missing include | David Robillard | 1 | -0/+1 | |
2021-07-09 | Fix accidentally disabled writer test | David Robillard | 2 | -5/+4 | |
2021-07-08 | Suppress new warnings in clang-tidy 12 | David Robillard | 2 | -0/+5 | |
2021-06-30 | dox_to_sphinx.py: Show macro parameter names in prototype | David Robillard | 1 | -2/+16 | |