Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
10 days | Always assert the return value of fopen() in testsHEADmain | David Robillard | 2 | -2/+6 | |
10 days | Remove old Windows compatibility gunk | David Robillard | 1 | -9/+0 | |
10 days | 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. | |||||
10 days | Ensure success of fclose() for writable files in tests | David Robillard | 3 | -8/+10 | |
10 days | Invert condition to make lack of underflow more obvious | David Robillard | 1 | -3/+3 | |
10 days | Avoid assignments in assert statements | David Robillard | 1 | -5/+9 | |
The ways these tests are written fundamentally requires assertions to always run, but some tools like to warn about it anyway, so avoid obvious cases. | |||||
2024-11-23 | Use angle brackets for library includes | David Robillard | 27 | -28/+29 | |
2024-11-22 | Use more conventional command-line help formatting | David Robillard | 1 | -14/+14 | |
2024-11-22 | Quote email addresses in man pages | David Robillard | 1 | -1/+1 | |
2024-11-12 | Move warning suppression flags to main meson file | David Robillard | 2 | -109/+89 | |
2024-10-31 | Update main branch name | David Robillard | 1 | -1/+1 | |
2024-10-06 | Clean up lint test definitionsmaster | David Robillard | 1 | -22/+20 | |
2024-10-06 | Check all sources in clang-format test | David Robillard | 1 | -6/+12 | |
2024-10-06 | Relocate lint test definitions | David Robillard | 1 | -135/+135 | |
Towards reusing source lists for checks across all the code (not just the library sources). | |||||
2024-10-06 | Remove redundant default values for meson options | David Robillard | 1 | -6/+6 | |
2024-09-28 | Add clang-format lint test | David Robillard | 2 | -1/+12 | |
2024-09-28 | Add cppcheck lint test | David Robillard | 4 | -0/+31 | |
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 | |