aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2024-06-23Gracefully handle failure to terminate written anonymous nodesDavid Robillard2-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-23Gracefully handle errors while writing the end of anonymous nodesDavid Robillard2-2/+3
2024-06-23Fix writer cleanup testDavid Robillard1-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-23Simplify pylint test definitionDavid Robillard1-4/+3
2024-06-23Check that header has zero code complexityDavid Robillard1-1/+4
2024-06-23Remove redundant test manifest entryDavid Robillard1-1/+0
2024-06-22Format CSS with prettier and update sylelint configurationDavid Robillard3-32/+98
2024-06-22Strengthen clang-tidy configurationDavid Robillard2-4/+10
2024-06-22Avoid non-enum switches with missing default casesDavid Robillard2-25/+25
2024-06-09Add missing entries to "good" test manifestDavid Robillard1-6/+18
2024-06-09Treat out of range unicode characters as errorsDavid Robillard7-10/+12
2024-06-09Add test cases for special characters in local namesDavid Robillard6-1/+59
2024-06-07Add test cases for lax TriG parsingDavid Robillard4-0/+38
2024-06-07Add test case for bad graph URIs in NQuadsDavid Robillard2-2/+2
2024-06-06Fix documentation buildDavid Robillard1-1/+2
2024-06-04Suppress new warnings in clang-tidy 17David Robillard3-3/+6
2024-03-29Use unsigned constants for all explicit enumerator valuesDavid Robillard2-5/+6
2024-03-29Remove redundant enumerator valuesDavid Robillard1-5/+5
2024-03-29Add NTriples test cases for bad blank nodes and trailing garbageDavid Robillard3-0/+14
2024-03-29Fix lax NQuads parsingDavid Robillard15-30/+107
2024-03-29Support reading lone lists in lax modeDavid Robillard5-2/+13
This allows parsing documents like "(42) ."
2024-03-28Add assertions for all non-null pointers in the public APIDavid Robillard9-0/+106
2024-03-16Relax some pointer nullability annotations in the APIDavid Robillard1-28/+30
Opaque handles should be just that, opaque. I can't see a good reason to care about the nullability of opaque callback handles, at least statically. That's the business of the callback function. Similarly, output pointer parameters were over-specified.
2024-03-14Decouple serdi man page installation from docs optionDavid Robillard1-3/+1
2024-03-14Fix library current_version on MacOSDavid Robillard2-1/+3
2024-03-10Simplify writer logicDavid Robillard1-18/+17
2024-03-10Remove unnecessary internal writer separator caseDavid Robillard1-21/+7
2024-03-08Add tests with as many rules as possible in a single documentDavid Robillard7-0/+115
2024-03-08Add more exhaustive NTriples and NQuads test casesDavid Robillard51-0/+394
2024-03-08Fix parsing NQuads lines with no space before the final dotDavid Robillard7-3/+31
2024-01-23Serd 0.32.2v0.32.2David Robillard4-5/+5
2024-01-20Fix writing empty list objects within blank nodesDavid Robillard3-1/+84
2024-01-09Avoid regressions in clang nullability checksDavid Robillard6-5/+57
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
2024-01-09Remove default meson warning_level overrideDavid Robillard1-1/+0
It turns out that this overrides the one given on the command line when building as a subproject. Yikes.
2024-01-09Enable clang nullability checksDavid Robillard5-8/+13