aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
3 daysRemove project and version number from man page OS fieldDavid Robillard5-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.
14 daysFix building lint tests when serdi is unavailableDavid Robillard1-8/+10
2025-01-19Clean up gitignore fileDavid Robillard1-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-18Serd 0.32.4v0.32.4David Robillard6-10/+10
2025-01-18Update sphinxygen wrapDavid Robillard2-8/+8
2025-01-18Update copyright years and remove license symbolic linkDavid Robillard4-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-10Use cppcheck working directoryDavid Robillard2-128/+132
This allows for better analysis, and adds a cache to improve checking times, especially on repeated runs.
2025-01-10Suppress cppcheck assertWithSideEffect warningDavid Robillard1-0/+1
This triggers in some tests that, for example, call fclose in an assert statement.
2024-12-11Always assert the return value of fopen() in testsDavid Robillard2-2/+6
2024-12-11Remove old Windows compatibility gunkDavid Robillard1-9/+0
2024-12-11Fix widening conversions after arithmeticDavid Robillard1-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-11Ensure success of fclose() for writable files in testsDavid Robillard3-8/+10
2024-12-11Invert condition to make lack of underflow more obviousDavid Robillard1-3/+3
2024-12-11Avoid assignments in assert statementsDavid Robillard1-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-23Use angle brackets for library includesDavid Robillard27-28/+29
2024-11-22Use more conventional command-line help formattingDavid Robillard1-14/+14
2024-11-22Quote email addresses in man pagesDavid Robillard1-1/+1
2024-11-12Move warning suppression flags to main meson fileDavid Robillard2-109/+89
2024-10-31Update main branch nameDavid Robillard1-1/+1
2024-10-06Clean up lint test definitionsDavid Robillard1-22/+20
2024-10-06Check all sources in clang-format testDavid Robillard1-6/+12
2024-10-06Relocate lint test definitionsDavid Robillard1-135/+135
Towards reusing source lists for checks across all the code (not just the library sources).
2024-10-06Remove redundant default values for meson optionsDavid Robillard1-6/+6
2024-09-28Add clang-format lint testDavid Robillard2-1/+12
2024-09-28Add cppcheck lint testDavid Robillard4-0/+31
2024-09-27Reorder branch to avoid redundant assignmentDavid Robillard1-4/+4
Well, to make it obvious to cppcheck that it's not redundant, anyway.
2024-09-27Fix potential null dereferenceDavid Robillard1-1/+1
2024-09-27Make more pointer variables constDavid Robillard4-11/+12
2024-09-27Make function parameters const wherever possibleDavid Robillard14-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-27Clean up and update clang-format configurationDavid Robillard3-26/+22
Fix "SERD_CONST_FINC" typo, add the other function attributes, and sort all fields.
2024-09-27Use tighter types for UTF-8David Robillard3-16/+16
2024-09-27Remove unnecessary stdio.h includesDavid Robillard2-4/+3
2024-09-21Remove pointless and inconsistent printing from unit testsDavid Robillard5-10/+0
2024-09-21Factor out test runner script argument and output parsingDavid Robillard4-46/+41
2024-09-01Use a consistent naming scheme for test helper functionsDavid Robillard3-101/+76
2024-08-03Fix reading chunks from files without trailing newlinesDavid Robillard4-17/+20
2024-08-03Cover bulk and byte-wise reading in reader EOF testDavid Robillard1-4/+11
2024-08-03Avoid bumping cursor column on EOFDavid Robillard1-2/+3
2024-07-16Suppress new warnings in clang and clang-tidy 18David Robillard3-1/+8
2024-06-27Split out simple reader unit testsDavid Robillard3-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-26Factor out URI prefix in some testsDavid Robillard2-25/+28
2024-06-25Simplify token comparison in readerDavid Robillard2-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-25Reduce size of character classification codeDavid Robillard3-121/+24
2024-06-25Improve test suite coverageDavid Robillard16-21/+200
2024-06-25Fix rewriting special literals when datatype URIs are prefixed namesDavid Robillard2-16/+32
2024-06-25Clean up redundant and/or inconsistent conditionalsDavid Robillard4-27/+19
2024-06-25Replace questionable switch statements with shorter conditionalsDavid Robillard7-97/+30
2024-06-25Fix overly permissive parsing of syntax names on the command lineDavid Robillard5-12/+19
2024-06-24Write blank lines between graphs and statements in TriGDavid Robillard3-5/+16
2024-06-24Clean up nonnull parameter assertionsDavid Robillard5-3/+32