Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-13 | Add SerdField to public API | David Robillard | 2 | -47/+55 | |
A statement field enum was previously only used by the writer internally, but will be used in the public API (without a sentinel value) in following commits. | |||||
2022-01-13 | Add serd_world_get_blank() | David Robillard | 5 | -2/+86 | |
2022-01-13 | Remove serd_reader_set_default_graph() | David Robillard | 4 | -72/+30 | |
2022-01-13 | Use thread-safe strerror_r() if available | David Robillard | 4 | -6/+37 | |
2022-01-13 | Move fopen wrapper to world | David Robillard | 5 | -26/+35 | |
2022-01-13 | Move error handling to world | David Robillard | 5 | -51/+57 | |
2022-01-13 | Add SerdWorld for shared library state | David Robillard | 18 | -105/+225 | |
2022-01-13 | Clean up base64 node construction and access API | David Robillard | 6 | -122/+132 | |
2022-01-13 | Clean up numeric node construction and access API | David Robillard | 7 | -91/+451 | |
2022-01-13 | Add serd_new_boolean() | David Robillard | 4 | -0/+35 | |
2022-01-13 | Use exess for reading and writing numeric and binary literals | David Robillard | 13 | -368/+221 | |
2022-01-13 | Clean up nodes in reader/writer tests | David Robillard | 1 | -12/+20 | |
2022-01-13 | Simplify literal construction API | David Robillard | 5 | -68/+122 | |
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 | |