Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-03-16 | Strengthen exhaustive write error test | David Robillard | 1 | -29/+45 | |
Factor out the check, then also check that writing with enough space succeeds. This makes the test more future-proof since it will fail if the maximum sizes aren't updated (meaning errors near the end of the document aren't covered). Strengthen the check itself by including the status of serd_writer_finish(), and bump the Turtle and TriG sizes by the three corresponding trailing bytes. | |||||
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 | Clean up writer tests | David Robillard | 1 | -25/+24 | |
2025-03-16 | Add missing parentheses | David Robillard | 1 | -1/+1 | |
2025-03-16 | Check that test values are non-null before use | David Robillard | 6 | -32/+30 | |
2025-03-16 | Avoid implicit double promotion | David Robillard | 2 | -3/+2 | |
2025-03-16 | Consistently put function attributes first | David Robillard | 1 | -2/+2 | |
2025-03-16 | Avoid "static inline" outside headers | David Robillard | 2 | -2/+2 | |
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 | Disable meson implicit include directories anti-feature | David Robillard | 3 | -0/+4 | |
2025-03-16 | Fix reading prefix names that start with "true." or "false." | David Robillard | 6 | -69/+98 | |
2025-03-16 | Fix reading numbers with no space before the final dot | David Robillard | 13 | -8/+67 | |
2025-03-16 | Refuse to write incoherent statements | David Robillard | 4 | -20/+87 | |
2025-02-25 | Isolate standalone writer tests | David Robillard | 2 | -42/+58 | |
Move these to test_writer so that test_reader_writer is focused on the file-based case where the writer output is later read. | |||||
2025-02-23 | Fix doc comment syntax | David Robillard | 2 | -2/+2 | |
2025-02-12 | Fix spelling | David Robillard | 2 | -2/+2 | |
2025-02-12 | Fix wrong word in documentation | David Robillard | 1 | -1/+1 | |
2025-02-10 | Fully parenthesize expressions | David Robillard | 2 | -3/+3 | |
2025-01-30 | Unify invalid input character error reporting | David Robillard | 4 | -23/+28 | |
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 | 4 | -10/+23 | |
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 | Separate EOF tests from catch-all "bad" test suite | David Robillard | 40 | -216/+234 | |
2025-01-30 | Remove project and version number from man page OS field | David Robillard | 5 | -5/+12 | |
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-19 | Fix building lint tests when serdi is unavailable | David Robillard | 1 | -8/+10 | |
2025-01-19 | Clean up gitignore file | David Robillard | 1 | -6/+8 | |
Strengthen patterns to match only relative to this directory where possible (with a leading slash), and move those that match in any child to a separate block. | |||||
2025-01-18 | Serd 0.32.4v0.32.4 | David Robillard | 6 | -10/+10 | |
2025-01-18 | Update sphinxygen wrap | David Robillard | 2 | -8/+8 | |
2025-01-18 | Update copyright years and remove license symbolic link | David Robillard | 4 | -4/+16 | |
Neither direction of linking here works properly with every site/tool, so just avoid all the hassle and write the "main" license out twice. | |||||
2025-01-10 | Use cppcheck working directory | David Robillard | 2 | -128/+132 | |
This allows for better analysis, and adds a cache to improve checking times, especially on repeated runs. | |||||
2025-01-10 | Suppress cppcheck assertWithSideEffect warning | David Robillard | 1 | -0/+1 | |
This triggers in some tests that, for example, call fclose in an assert statement. | |||||
2024-12-11 | Always assert the return value of fopen() in tests | David Robillard | 2 | -2/+6 | |
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 | Ensure success of fclose() for writable files in tests | David Robillard | 3 | -8/+10 | |
2024-12-11 | Invert condition to make lack of underflow more obvious | David Robillard | 1 | -3/+3 | |
2024-12-11 | 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 definitions | 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 | |