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 | 4 | -11/+12 | |
2024-09-27 | Make function parameters const wherever possible | David Robillard | 14 | -130/+151 | |
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 | Clean up and update clang-format configuration | David Robillard | 3 | -26/+22 | |
Fix "SERD_CONST_FINC" typo, add the other function attributes, and sort all fields. | |||||
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-09-21 | Remove pointless and inconsistent printing from unit tests | David Robillard | 5 | -10/+0 | |
2024-09-21 | Factor out test runner script argument and output parsing | David Robillard | 4 | -46/+41 | |
2024-09-01 | Use a consistent naming scheme for test helper functions | David Robillard | 3 | -101/+76 | |
2024-08-03 | Fix reading chunks from files without trailing newlines | David Robillard | 4 | -17/+20 | |
2024-08-03 | Cover bulk and byte-wise reading in reader EOF test | David Robillard | 1 | -4/+11 | |
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 | 3 | -1/+8 | |
2024-06-27 | Split out simple reader unit tests | David Robillard | 3 | -341/+441 | |
Some of the simpler tests here only test the reader directly, while others are higher level tests that test both the writer and reader together. Split the simple reader-only tests into a separate file so things can be cleaned up and simplified for each kind of test. | |||||
2024-06-26 | Factor out URI prefix in some tests | David Robillard | 2 | -25/+28 | |
2024-06-25 | Simplify token comparison in reader | David Robillard | 2 | -15/+22 | |
"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 | Improve test suite coverage | David Robillard | 16 | -21/+200 | |
2024-06-25 | Fix rewriting special literals when datatype URIs are prefixed names | David Robillard | 2 | -16/+32 | |
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 | 5 | -12/+19 | |
2024-06-24 | Write blank lines between graphs and statements in TriG | David Robillard | 3 | -5/+16 | |
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 | 2 | -14/+44 | |
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 | 2 | -2/+3 | |
2024-06-23 | Fix writer cleanup test | David Robillard | 1 | -8/+18 | |
Because nodes are shallow, this wasn't actually writing a stack of nested objects. Fix the blank node ping-pong algorithm so that it does. | |||||
2024-06-23 | Simplify pylint test definition | David Robillard | 1 | -4/+3 | |
2024-06-23 | Check that header has zero code complexity | David Robillard | 1 | -1/+4 | |
2024-06-23 | Remove redundant test manifest entry | David Robillard | 1 | -1/+0 | |
2024-06-22 | Format CSS with prettier and update sylelint configuration | David Robillard | 3 | -32/+98 | |
2024-06-22 | Strengthen clang-tidy configuration | David Robillard | 2 | -4/+10 | |
2024-06-22 | Avoid non-enum switches with missing default cases | David Robillard | 2 | -25/+25 | |
2024-06-09 | Add missing entries to "good" test manifest | David Robillard | 1 | -6/+18 | |
2024-06-09 | Treat out of range unicode characters as errors | David Robillard | 7 | -10/+12 | |
2024-06-09 | Add test cases for special characters in local names | David Robillard | 6 | -1/+59 | |
2024-06-07 | Add test cases for lax TriG parsing | David Robillard | 4 | -0/+38 | |
2024-06-07 | Add test case for bad graph URIs in NQuads | David Robillard | 2 | -2/+2 | |
2024-06-06 | Fix documentation build | David Robillard | 1 | -1/+2 | |
2024-06-04 | Suppress new warnings in clang-tidy 17 | David Robillard | 3 | -3/+6 | |
2024-03-29 | Use unsigned constants for all explicit enumerator values | David Robillard | 2 | -5/+6 | |
2024-03-29 | Remove redundant enumerator values | David Robillard | 1 | -5/+5 | |
2024-03-29 | Add NTriples test cases for bad blank nodes and trailing garbage | David Robillard | 3 | -0/+14 | |
2024-03-29 | Fix lax NQuads parsing | David Robillard | 15 | -30/+107 | |
2024-03-29 | Support reading lone lists in lax mode | David Robillard | 5 | -2/+13 | |
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-16 | Relax some pointer nullability annotations in the API | David Robillard | 1 | -28/+30 | |
Opaque handles should be just that, opaque. I can't see a good reason to care about the nullability of opaque callback handles, at least statically. That's the business of the callback function. Similarly, output pointer parameters were over-specified. | |||||
2024-03-14 | Decouple serdi man page installation from docs option | David Robillard | 1 | -3/+1 | |
2024-03-14 | Fix library current_version on MacOS | David Robillard | 2 | -1/+3 | |