Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2021-01-02 | Update date in version output | David Robillard | 1 | -1/+1 | |
2021-01-02 | Use email address instead of website for attribution | David Robillard | 23 | -24/+24 | |
2021-01-01 | Remove the need for a generated configuration header | David Robillard | 3 | -6/+121 | |
2020-12-31 | Format all code with clang-format | David Robillard | 22 | -3873/+4116 | |
2020-12-31 | Avoid "else" after "break" and "return" | David Robillard | 11 | -53/+117 | |
2020-12-15 | Clean up includes | David Robillard | 5 | -7/+7 | |
2020-12-15 | Suppress new clang-tidy warnings | David Robillard | 1 | -1/+6 | |
2020-11-15 | Only use aligned_alloc in C11 | David Robillard | 1 | -1/+1 | |
2020-11-14 | Deprecate serd_uri_to_path() | David Robillard | 1 | -2/+8 | |
2020-11-14 | Refuse to write relative URI references to NTriples | David Robillard | 1 | -0/+15 | |
2020-11-14 | Simplify abbreviated URI writing code | David Robillard | 1 | -13/+14 | |
2020-11-13 | Fix test coverage | David Robillard | 1 | -9/+7 | |
2020-11-13 | Remove dead code | David Robillard | 2 | -22/+0 | |
2020-11-13 | Simplify writer statement validity checking | David Robillard | 1 | -5/+3 | |
2020-11-13 | Improve IRI reading performance | David Robillard | 1 | -10/+13 | |
This allows the compiler to construct a jump table, and avoids a branch. | |||||
2020-11-13 | Improve add and chop prefix functions when given empty strings | David Robillard | 2 | -8/+10 | |
2020-11-13 | Remove use of C character class functions that may use locale | David Robillard | 3 | -5/+14 | |
Some of these cause warnings, and should never have been used in the first place since they depend on locale. | |||||
2020-11-13 | Allow setting the base URI of an Env to NULL | David Robillard | 1 | -2/+6 | |
2020-11-13 | Use aligned allocation via C11 or Windows API where possible | David Robillard | 4 | -12/+63 | |