Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-07 | Remove "get" from accessor names | David Robillard | 3 | -7/+10 | |
2021-03-07 | Rename SerdStyle to SerdWriterFlags | David Robillard | 2 | -35/+35 | |
2021-03-07 | Rename SerdType to SerdNodeType | David Robillard | 4 | -17/+23 | |
The old name will be even more ambiguous with the increased scope. | |||||
2021-03-07 | Rename SerdURI to SerdURIView | David Robillard | 6 | -57/+59 | |
2021-03-07 | Rename SerdChunk to SerdStringView | David Robillard | 4 | -20/+14 | |
2021-03-07 | Use char* for strings in public API | David Robillard | 16 | -238/+211 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2021-03-07 | 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. | |||||
2021-03-07 | Remove useless character counting | David Robillard | 7 | -77/+43 | |
2021-03-07 | 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. | |||||
2021-03-07 | Remove serd_uri_to_path() | David Robillard | 1 | -26/+1 | |
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 | |
2020-11-12 | Use C11 if possible | David Robillard | 1 | -0/+1 | |
2020-11-12 | Add missing const qualifiers | David Robillard | 1 | -4/+4 | |
2020-11-12 | Factor out output style selection | David Robillard | 1 | -22/+34 | |
2020-11-11 | Add nonnull and nullable attributes to API | David Robillard | 2 | -0/+2 | |
This will warn if NULL is passed to any nonnull-annotated parameter, and is also supported by sanitizers which can check for violations at runtime. Unfortunately, it is currently only supported by clang. GCC has a similar feature in the nonnull attribute, but this has a different syntax (it's a function attribute) and is more dangerous since it is used by the optimizer to assume a null pointer is undefined behavior. This one just warns and still allows code to handle the situation gracefully, which I think is more appropriate for a library API. Note that this optimization behavior is not some unlikely edge case: switching these attributes to the GCC one will break release builds. | |||||
2020-11-10 | Fix potential memory error when serialising URIs | David Robillard | 1 | -1/+2 | |
2020-11-10 | Add const, pure, and malloc function attributes | David Robillard | 7 | -10/+40 | |
2020-11-10 | Define WIN32_LEAN_AND_MEAN | David Robillard | 1 | -0/+1 | |
2020-11-09 | Use separate clang-tidy configurations for implementation and tests | David Robillard | 1 | -0/+13 | |
2020-10-28 | Simplify reader byte reading interface | David Robillard | 1 | -10/+3 | |
This eliminates eat_byte() and the way it conflates the status of advancing the source with the current character, which can cause problems with custom sinks. |