Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2023-04-05 | Fix sign conversion warnings | David Robillard | 2 | -2/+2 | |
2023-04-05 | Improve writer error handling | David Robillard | 6 | -149/+198 | |
2023-04-05 | Fix relative URI creation | David Robillard | 2 | -25/+43 | |
2023-04-05 | Update to clang-format 12 | David Robillard | 1 | -4/+4 | |
2023-04-05 | Simplify writing URI delimiters | David Robillard | 1 | -10/+5 | |
2023-04-05 | Fix potential memory leaks when a write is aborted | David Robillard | 1 | -68/+82 | |
Also clean up and simplify writer context management in general. | |||||
2023-04-05 | Remove redundant null check in serd_env_set_base_uri() | David Robillard | 1 | -2/+2 | |
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). | |||||
2023-04-05 | Shrink UTF-8 utility code | David Robillard | 1 | -36/+5 | |
I've found that the negative cache impact of the 32-byte lookup table here can be worse than the simple conditional code in real-world scenarios (even though it's faster in micro-benchmarks). So, go with the simple (and conveniently more terse) thing. | |||||
2023-04-05 | Add nullability annotations to internal node functions | David Robillard | 1 | -6/+7 | |