Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-09-27 | Make function parameters const wherever possible | David Robillard | 1 | -9/+9 | |
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-21 | Remove pointless and inconsistent printing from unit tests | David Robillard | 1 | -1/+0 | |
2024-06-27 | Split out simple reader unit tests | David Robillard | 1 | -341/+3 | |
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-25 | Improve test suite coverage | David Robillard | 1 | -1/+3 | |
2023-05-03 | Make serd_reader_read_chunk() work with NQuads | David Robillard | 1 | -7/+101 | |
2023-04-16 | Gracefully handle errors when writing text | David Robillard | 1 | -0/+97 | |
2023-04-02 | Improve TriG pretty-printing and remove trailing newlines | David Robillard | 1 | -2/+2 | |
2022-11-25 | Avoid use of tmpfile() | David Robillard | 1 | -28/+35 | |
Somewhat temporary solution, since we'll soon be able to use zix here which has nice portable functions to create temporary files. | |||||
2022-11-25 | Avoid creating test files in the current directory | David Robillard | 1 | -1/+21 | |
2022-11-25 | Merge similar tests | David Robillard | 1 | -33/+119 | |
2022-11-24 | Check serd_writer_write_statement() return value | David Robillard | 1 | -2/+2 | |
2022-10-23 | Fix crash when trying to read chunks without starting | David Robillard | 1 | -0/+2 | |
2022-08-31 | Adopt REUSE machine-readable licensing standard | David Robillard | 1 | -15/+2 | |
2021-07-10 | Fix out of bounds read in test | David Robillard | 1 | -0/+4 | |
2021-07-10 | Clean up socket-like stream reading test | David Robillard | 1 | -5/+17 | |
2021-04-09 | Write statements with invalid URI characters in lax mode | David Robillard | 1 | -0/+1 | |
2021-01-02 | Use email address instead of website for attribution | David Robillard | 1 | -1/+1 | |
2020-12-31 | Format all code with clang-format | David Robillard | 1 | -261/+268 | |
2020-11-13 | Remove tests that pass null to nonnull parameters | David Robillard | 1 | -6/+2 | |
2020-11-11 | Add nonnull and nullable attributes to API | David Robillard | 1 | -0/+8 | |
This will warn if NULL is passed to any nonnull-annotated parameter, and is also supported by sanitizers which can check for violations at runtime. Unfortunately, it is currently only supported by clang. GCC has a similar feature in the nonnull attribute, but this has a different syntax (it's a function attribute) and is more dangerous since it is used by the optimizer to assume a null pointer is undefined behavior. This one just warns and still allows code to handle the situation gracefully, which I think is more appropriate for a library API. Note that this optimization behavior is not some unlikely edge case: switching these attributes to the GCC one will break release builds. | |||||
2020-11-09 | Add a test for reading strings with no trailing newline | David Robillard | 1 | -0/+23 | |
2020-11-09 | Split out reader and writer tests | David Robillard | 1 | -0/+329 | |