Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-13 | Simplify literal construction API | David Robillard | 1 | -32/+62 | |
2022-01-13 | Move syntax name/extension utilities to public API | David Robillard | 2 | -51/+73 | |
2022-01-13 | Improve reader error handling | David Robillard | 3 | -131/+186 | |
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 | 1 | -7/+18 | |
2022-01-13 | Use a fixed-size reader stack | David Robillard | 8 | -199/+259 | |
2022-01-13 | Simplify reader interface | David Robillard | 6 | -186/+108 | |
2022-01-13 | Add SerdSink interface and hide implementations | David Robillard | 7 | -80/+200 | |
2022-01-13 | Bring read/write interface closer to C standard | David Robillard | 8 | -58/+62 | |
2022-01-13 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 2 | -27/+89 | |
2022-01-13 | Simplify node construction API | David Robillard | 5 | -184/+214 | |
2022-01-13 | Merge datatype/language into node | David Robillard | 5 | -75/+171 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2022-01-13 | Simplify URI API and implementation | David Robillard | 8 | -318/+280 | |
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 | 1 | -0/+12 | |
2022-01-13 | Add serd_node_string_view() | David Robillard | 1 | -0/+8 | |
2022-01-13 | Align node allocations | David Robillard | 3 | -11/+55 | |
2022-01-13 | Make nodes opaque | David Robillard | 11 | -302/+356 | |
2022-01-13 | Add node accessor API | David Robillard | 1 | -0/+24 | |
2022-01-13 | Shorten node constructor names | David Robillard | 3 | -29/+27 | |
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 | 3 | -7/+10 | |
2022-01-13 | Rename function types for consistency | David Robillard | 7 | -36/+36 | |
2022-01-13 | Rename SerdStyle to SerdWriterFlags | David Robillard | 2 | -35/+35 | |
2022-01-13 | Rename SerdType to SerdNodeType | David Robillard | 4 | -21/+24 | |
The old name will be even more ambiguous with the increased scope. | |||||
2022-01-13 | Rename SerdURI to SerdURIView | David Robillard | 6 | -65/+67 | |
2022-01-13 | Rename SerdChunk to SerdStringView | David Robillard | 4 | -19/+14 | |
2022-01-13 | Use char* for strings in public API | David Robillard | 16 | -242/+217 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2022-01-13 | Add SerdBuffer type for mutable buffers | David Robillard | 4 | -24/+23 | |
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 | 2 | -51/+6 | |
2022-01-13 | 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. | |||||
2022-01-13 | Remove useless character counting | David Robillard | 7 | -79/+43 | |
2022-01-13 | Remove serd_uri_to_path() | David Robillard | 1 | -26/+1 | |
2022-01-13 | Define _POSIX_C_SOURCE globally in the build system | David Robillard | 3 | -6/+0 | |
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 | Suppress new warnings in clang-tidy 13 | David Robillard | 1 | -1/+2 | |
2021-07-08 | Suppress new warnings in clang-tidy 12 | David Robillard | 1 | -0/+3 | |
2021-06-30 | Move local URI utility functions | David Robillard | 1 | -28/+28 | |
2021-06-30 | Make node qualify and expand functions tolerate a null Env | David Robillard | 1 | -0/+12 | |
This is convenient in places where you don't necessarily need an Env, since these methods will work the same as with an empty Env. | |||||
2021-06-30 | Avoid writing invalid prefixed name prefixes | David Robillard | 1 | -1/+2 | |
2021-05-31 | Make most function parameters const | David Robillard | 11 | -212/+283 | |
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-05-31 | Remove "static inline" for functions in implementation files | David Robillard | 7 | -26/+26 | |
This is just noise since these are static functions local to a C compilation unit. | |||||
2021-05-31 | Remove default case from exhaustive switch | David Robillard | 2 | -2/+1 | |
2021-05-31 | Clean up switch case comments | David Robillard | 1 | -5/+5 | |
2021-05-31 | Fix unannotated switch fallthroughs | David Robillard | 2 | -7/+27 | |
Unfortunately, clang does not support doing this with comments, requiring yet more preprocessor gunk. | |||||
2021-05-31 | Fix some conversion warnings | David Robillard | 3 | -7/+7 | |