Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-09-27 | Reorder branch to avoid redundant assignment | David Robillard | 1 | -4/+4 | |
Well, to make it obvious to cppcheck that it's not redundant, anyway. | |||||
2024-09-27 | Fix potential null dereference | David Robillard | 1 | -1/+1 | |
2024-09-27 | Make more pointer variables const | David Robillard | 3 | -9/+9 | |
2024-09-27 | Make function parameters const wherever possible | David Robillard | 9 | -116/+132 | |
The early history of this code didn't tend to make parameters const, but the "const density" is high enough now that I often find myself wondering if something is mutable for some reason, or just old and sloppier. So, eliminate this confusion by making (hopefully) all function parameters const if possible. | |||||
2024-09-27 | Use tighter types for UTF-8 | David Robillard | 3 | -16/+16 | |
2024-09-27 | Remove unnecessary stdio.h includes | David Robillard | 2 | -4/+3 | |
2024-08-03 | Fix reading chunks from files without trailing newlines | David Robillard | 2 | -9/+8 | |
2024-08-03 | Avoid bumping cursor column on EOF | David Robillard | 1 | -2/+3 | |
2024-07-16 | Suppress new warnings in clang and clang-tidy 18 | David Robillard | 1 | -1/+5 | |
2024-06-25 | Simplify token comparison in reader | David Robillard | 1 | -14/+20 | |
"Simplify" in terms of the operations actually performed. Since we only need to test for equality here, a simpler comparison with less branching will do. | |||||
2024-06-25 | Reduce size of character classification code | David Robillard | 3 | -121/+24 | |
2024-06-25 | Fix rewriting special literals when datatype URIs are prefixed names | David Robillard | 1 | -15/+30 | |
2024-06-25 | Clean up redundant and/or inconsistent conditionals | David Robillard | 4 | -27/+19 | |
2024-06-25 | Replace questionable switch statements with shorter conditionals | David Robillard | 7 | -97/+30 | |
2024-06-25 | Fix overly permissive parsing of syntax names on the command line | David Robillard | 3 | -9/+14 | |
2024-06-24 | Write blank lines between graphs and statements in TriG | David Robillard | 1 | -1/+1 | |
2024-06-24 | Clean up nonnull parameter assertions | David Robillard | 5 | -3/+32 | |
2024-06-23 | Gracefully handle failure to terminate written anonymous nodes | David Robillard | 1 | -14/+14 | |
This case shouldn't be reachable when driven directly from a reader, but can be reached by invalid use of the writer in an application. | |||||
2024-06-23 | Gracefully handle errors while writing the end of anonymous nodes | David Robillard | 1 | -1/+1 | |
2024-06-22 | Strengthen clang-tidy configuration | David Robillard | 1 | -3/+5 | |
2024-06-22 | Avoid non-enum switches with missing default cases | David Robillard | 2 | -25/+25 | |
2024-06-09 | Treat out of range unicode characters as errors | David Robillard | 1 | -2/+2 | |
2024-06-04 | Suppress new warnings in clang-tidy 17 | David Robillard | 1 | -1/+2 | |
2024-03-29 | Fix lax NQuads parsing | David Robillard | 1 | -5/+9 | |
2024-03-29 | Support reading lone lists in lax mode | David Robillard | 1 | -1/+1 | |
This allows parsing documents like "(42) ." | |||||
2024-03-28 | Add assertions for all non-null pointers in the public API | David Robillard | 9 | -0/+106 | |
2024-03-10 | Simplify writer logic | David Robillard | 1 | -18/+17 | |
2024-03-10 | Remove unnecessary internal writer separator case | David Robillard | 1 | -21/+7 | |
2024-03-08 | Fix parsing NQuads lines with no space before the final dot | David Robillard | 2 | -2/+2 | |
2024-01-23 | Serd 0.32.2v0.32.2 | David Robillard | 1 | -1/+1 | |
2024-01-20 | Fix writing empty list objects within blank nodes | David Robillard | 1 | -0/+8 | |
2024-01-09 | Avoid regressions in clang nullability checks | David Robillard | 3 | -1/+47 | |
Clang 15 (and still as of 16) lost the ability to understand null checks in conditionals, which is supposed to suppress these warnings. For now, work around some, and suppress others. The suppression boilerplate here is noisy and ugly, and hopefully temporary. It should be removed once the issue is fixed in clang. See https://github.com/llvm/llvm-project/issues/63018 | |||||
2024-01-09 | Enable clang nullability checks | David Robillard | 1 | -2/+2 | |
2023-10-22 | Serd 0.32.0v0.32.0 | David Robillard | 1 | -1/+1 | |
2023-09-22 | Fix potential realloc leaks | David Robillard | 2 | -6/+12 | |
2023-09-22 | Remove unused include | David Robillard | 1 | -1/+0 | |
2023-05-08 | Avoid use of strtoul() | David Robillard | 3 | -9/+16 | |
This function is overkill for the simple cases actually needed here, and pretty slow anyway. | |||||
2023-05-04 | Fix whitespace | David Robillard | 1 | -2/+2 | |
2023-05-03 | Make serd_reader_read_chunk() work with NQuads | David Robillard | 3 | -2/+7 | |
2023-05-03 | Factor out read_nquads_statement() | David Robillard | 1 | -42/+54 | |
2023-05-03 | Remove redundant wrapper function | David Robillard | 1 | -7/+1 | |
2023-04-30 | Add long "help" and "version" options to serdi | David Robillard | 2 | -1/+9 | |
Although serdi still "officially" has a BSD-style interface, meson uses --version to find the version of executables. So, support that, and also add --help, since users will often try that for unknown commands. | |||||
2023-04-16 | Gracefully handle errors when writing text | David Robillard | 5 | -85/+143 | |
2023-04-06 | Clean up error handling and use TRY macros more broadly | David Robillard | 2 | -37/+41 | |
2023-04-06 | Improve pretty-printing of lists and inline subjects | David Robillard | 4 | -161/+247 | |
2023-04-06 | Remove support for writing Turtle named inline nodes extension | David Robillard | 1 | -30/+6 | |
2023-04-06 | Simplify remove_dot_segments() implementation | David Robillard | 1 | -53/+15 | |
2023-04-06 | Make URI writing stricter by default | David Robillard | 2 | -8/+11 | |
2023-04-06 | Gracefully handle boolean subject and predicate errors | David Robillard | 1 | -0/+3 | |
2023-04-06 | Improve help text | David Robillard | 1 | -2/+2 | |