Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-03-24 | Remove unnecessary condition and improve error message test coverage | David Robillard | 1 | -2/+1 | |
Not all of these cases are grammatically interesting, but the invalid characters are significant for error reporting (for example, error messages shouldn't contain raw control characters). | |||||
2025-03-24 | Simplify reading prefixed names | David Robillard | 1 | -4/+4 | |
2025-03-22 | Remove dead code | David Robillard | 2 | -38/+6 | |
2025-03-16 | Drop graphs when writing Turtle output | David Robillard | 1 | -7/+9 | |
2025-03-16 | Encapsulate writer indentation code | David Robillard | 1 | -6/+4 | |
This makes write_sep() responsible for all indentation changes (except resetting it to zero), removing some spooky action at a distance around object comma indentation. | |||||
2025-03-16 | Remove unused field and shrink WriteContext | David Robillard | 1 | -6/+2 | |
2025-03-16 | Remove redundant initialization | David Robillard | 1 | -10/+1 | |
2025-03-16 | Add missing parentheses | David Robillard | 1 | -1/+1 | |
2025-03-16 | Consistently put function attributes first | David Robillard | 1 | -2/+2 | |
2025-03-16 | Avoid "static inline" outside headers | David Robillard | 1 | -1/+1 | |
2025-03-16 | Remove unnecessary warning suppressions | David Robillard | 1 | -9/+0 | |
Apparently clang 19 has gotten smarter about this. | |||||
2025-03-16 | Remove duplicate define | David Robillard | 1 | -3/+0 | |
2025-03-16 | Factor out popping trailing dot character | David Robillard | 3 | -10/+15 | |
2025-03-16 | Add missing include | David Robillard | 1 | -0/+2 | |
2025-03-16 | Fix reading prefix names that start with "true." or "false." | David Robillard | 1 | -67/+81 | |
2025-03-16 | Fix reading numbers with no space before the final dot | David Robillard | 1 | -7/+5 | |
2025-03-16 | Refuse to write incoherent statements | David Robillard | 1 | -5/+12 | |
2025-02-10 | Fully parenthesize expressions | David Robillard | 2 | -3/+3 | |
2025-01-30 | Unify invalid input character error reporting | David Robillard | 3 | -22/+26 | |
Puts all error messages that print input characters in the same place, so that potentially printing them can be handled properly. Most notably this avoids printing EOF and control characters in error messages. | |||||
2025-01-30 | Fix handling of some invalid EOF cases in lax mode | David Robillard | 1 | -6/+6 | |
The return status of these tests unfortunately isn't consistent, so instead of testing for an exact exit status, instead check that the return status doesn't seem to be an abort() or other signal code (which are negative on Linux, while serdi itself never exits with a negative status). | |||||
2025-01-30 | Remove project and version number from man page OS field | David Robillard | 1 | -1/+1 | |
The mandoc documentation suggests leaving this blank. Although I still think it's nicer for third-party projects to put their own versions here (as many GNU utilities do, for example), it's a hassle in practice to maintain the version over time, and I'm not sure what to do about the date in that case. The version is passed to the mandoc command instead for generating the HTML man pages, so those are unchanged. | |||||
2025-01-18 | Serd 0.32.4v0.32.4 | David Robillard | 1 | -1/+1 | |
2024-12-11 | Remove old Windows compatibility gunk | David Robillard | 1 | -9/+0 | |
2024-12-11 | Fix widening conversions after arithmetic | David Robillard | 1 | -1/+1 | |
Overflow isn't actually possible here, but this avoids the issue statically in a way that won't trigger analysis tools. | |||||
2024-12-11 | Invert condition to make lack of underflow more obvious | David Robillard | 1 | -3/+3 | |
2024-11-23 | Use angle brackets for library includes | David Robillard | 18 | -19/+20 | |
2024-11-22 | Use more conventional command-line help formatting | David Robillard | 1 | -14/+14 | |
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 | |