Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2021-05-16 | Remove redundant cast | David Robillard | 1 | -1/+1 | |
2021-05-16 | Avoid else after break | David Robillard | 1 | -3/+3 | |
2021-04-12 | Sort command line argument handling code | David Robillard | 1 | -7/+7 | |
2021-04-11 | Support combining several BSD-style command line flags in serdi | David Robillard | 1 | -59/+68 | |
2021-04-09 | Write invalid characters in URIs with percent encoding | David Robillard | 1 | -5/+9 | |
2021-04-09 | Write statements with invalid URI characters in lax mode | David Robillard | 1 | -9/+9 | |
2021-02-15 | Fix writing long literals with triple quotes | David Robillard | 2 | -3/+11 | |
2021-01-20 | Serd 0.30.10v0.30.10 | David Robillard | 1 | -1/+1 | |
2021-01-17 | Remove aligned_alloc support | David Robillard | 2 | -19/+0 | |
This causes build issues when targeting older versions of MacOS. That could be fixed, but I don't have the ability to reproduce it at the moment, and it's a problem in the build system check code which is about to be entirely replaced anyway. Since, as far as I know, this does not actually add aligned allocation support to any real system (they all support one of the other methods), just remove it for now. | |||||
2021-01-10 | Add missing includes | David Robillard | 1 | -0/+2 | |
2021-01-10 | Avoid use of strcpy | David Robillard | 1 | -3/+3 | |
Again, really just skirting around warnings here, but this is faster anyway since we know what we're doing here and doing require any fine-grained null termination. | |||||
2021-01-09 | Only define WIN32_LEAN_AND_MEAN for MSVC | David Robillard | 1 | -1/+3 | |
This avoids a warning with MinGW. | |||||
2021-01-09 | Avoid GCC warning about printed string overflow | David Robillard | 1 | -9/+14 | |
GCC seems to think there was a potential overflow here, but I don't see it. I think it just can't figure out that the printed text and the size both depend on the same variable. In any case, avoiding formatting functions here avoids the warning, and is probably faster anyway. | |||||
2021-01-09 | Avoid GCC warning about potential signed overflow | David Robillard | 1 | -1/+1 | |
2021-01-09 | Add missing pure attributes | David Robillard | 2 | -2/+2 | |
2021-01-09 | Fix fallback aligned_alloc() detection | David Robillard | 1 | -1/+1 | |
2021-01-09 | Fix SERD_DISABLE_DEPRECATED | David Robillard | 1 | -1/+1 | |
2021-01-07 | Update fallback version | David Robillard | 1 | -1/+1 | |
Oops. |