Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2021-06-30 | Fix clang-format configuration for pragmas | David Robillard | 1 | -0/+1 | |
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 | 3 | -3/+20 | |
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-06-30 | Format long comments consistently | David Robillard | 1 | -14/+14 | |
2021-06-06 | Move type definitions inside the corresponding documentation group | David Robillard | 1 | -102/+102 | |
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 | 3 | -3/+1 | |
2021-05-31 | Clean up switch case comments | David Robillard | 1 | -5/+5 | |
2021-05-31 | Fix unannotated switch fallthroughs | David Robillard | 3 | -8/+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 | |
2021-05-16 | Suppress silly VS2019 warning | David Robillard | 1 | -0/+1 | |