Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-28 | Add assertions for all non-null pointers in the public API | David Robillard | 1 | -0/+4 | |
Clang issues warnings at build time based on the SERD_NONNULL annotations, which is a much better approach in general. However, it does not cover cases where the API is being used with another compiler, or without a compiler that can statically check things at all (such as Python or other dynamic language bindings). In those situations, getting a clear assertion message is a lot less confusing than a random crash somewhere in serd, and it makes it clear that the bug is in the caller, so I think it's worth the tedious verbosity. | |||||
2022-01-14 | Avoid dynamic allocation when fetching interned nodes | David Robillard | 1 | -68/+399 | |
This is more or less a total rewrite of SerdNodes and the underlying ZixHash to make efficient use of the new node construction API. | |||||
2022-01-14 | Expose low-level node construction API | David Robillard | 1 | -1/+1 | |
2022-01-14 | Preserve long or short quoting from input documents | David Robillard | 1 | -13/+6 | |
2022-01-14 | Remove SERD_CURIE node datatype entirely | David Robillard | 1 | -6/+0 | |
2022-01-13 | Add SerdNodes for storing a cache of interned nodes | David Robillard | 1 | -0/+205 | |