Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-09-27 | Make more pointer variables const | David Robillard | 1 | -2/+3 | |
2024-09-27 | Make function parameters const wherever possible | David Robillard | 5 | -14/+19 | |
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 | 1 | -2/+1 | |
Fix "SERD_CONST_FINC" typo, add the other function attributes, and sort all fields. | |||||
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 | 1 | -7/+10 | |
2024-08-03 | Cover bulk and byte-wise reading in reader EOF test | David Robillard | 1 | -4/+11 | |
2024-07-16 | Suppress new warnings in clang and clang-tidy 18 | David Robillard | 1 | -0/+2 | |
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 | Improve test suite coverage | David Robillard | 15 | -20/+198 | |
2024-06-25 | Fix overly permissive parsing of syntax names on the command line | David Robillard | 1 | -2/+3 | |
2024-06-24 | Write blank lines between graphs and statements in TriG | David Robillard | 1 | -3/+13 | |
2024-06-23 | Gracefully handle failure to terminate written anonymous nodes | David Robillard | 1 | -0/+30 | |
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 | 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 | Strengthen clang-tidy configuration | David Robillard | 1 | -1/+5 | |
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 | 5 | -7/+8 | |
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-04 | Suppress new warnings in clang-tidy 17 | David Robillard | 1 | -1/+2 | |
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 | 14 | -25/+98 | |
2024-03-29 | Support reading lone lists in lax mode | David Robillard | 3 | -0/+10 | |
This allows parsing documents like "(42) ." | |||||
2024-03-08 | Add tests with as many rules as possible in a single document | David Robillard | 7 | -0/+115 | |
2024-03-08 | Add more exhaustive NTriples and NQuads test cases | David Robillard | 51 | -0/+394 | |
2024-03-08 | Fix parsing NQuads lines with no space before the final dot | David Robillard | 3 | -0/+22 | |
2024-01-20 | Fix writing empty list objects within blank nodes | David Robillard | 1 | -0/+74 | |
2024-01-09 | Avoid regressions in clang nullability checks | David Robillard | 2 | -4/+8 | |
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 | |||||
2023-10-06 | Tolerate reduce floating point precision on Apple Silicon | David Robillard | 1 | -2/+2 | |
This is... strange, and slightly worrying, although it's already known that this conversion code isn't exact in all cases. The next major version will fix that (and I've confirmed that these issues aren't present there), but that's a major change so, for now, just reduce the very large number in the test case slightly so that it passes on these chips as well. | |||||
2023-09-23 | Avoid use of deprecated meson string formatting with files | David Robillard | 1 | -10/+29 | |
Meson annoyingly doesn't provide access to the path of file objects (but it should). It was possible to do that by formatting a string with a file argument, but now this triggers a loud warning that claims it has always been broken and will be deprecated. So, avoid this by juggling things around and maintaining unchecked path strings instead, and hope that they're all passed to files() at some point so they can't get stale. | |||||
2023-09-22 | Clean up meson formatting | David Robillard | 1 | -35/+73 | |
Formatted automatically with muon, with some manual changes to make things format more nicely. | |||||
2023-05-03 | Make serd_reader_read_chunk() work with NQuads | David Robillard | 1 | -7/+101 | |
2023-05-03 | Remove test output file after execution | David Robillard | 1 | -0/+1 | |
2023-04-30 | Suppress cross-compilation warnings in MacOS builds | David Robillard | 1 | -0/+5 | |
2023-04-30 | Add long "help" and "version" options to serdi | David Robillard | 1 | -0/+2 | |
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 | 3 | -1/+164 | |
2023-04-06 | Add test for different comment termination cases | David Robillard | 3 | -0/+13 | |
2023-04-06 | Improve pretty-printing of lists and inline subjects | David Robillard | 13 | -10/+87 | |
2023-04-06 | Remove support for writing Turtle named inline nodes extension | David Robillard | 2 | -18/+0 | |
2023-04-06 | Make URI writing stricter by default | David Robillard | 2 | -1/+39 | |
2023-04-06 | Gracefully handle boolean subject and predicate errors | David Robillard | 6 | -2/+17 | |
2023-04-06 | Check formatting of project Turtle files | David Robillard | 1 | -0/+11 | |
2023-04-06 | Use portable names for all test targets | David Robillard | 1 | -8/+8 | |
2023-04-06 | Simplify stdout capturing code | David Robillard | 1 | -4/+2 | |
This is slightly less excruciatingly slow on Windows, sometimes, maybe. |