aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2023-12-02Delete trailing whitespaceDavid Robillard1-1/+1
2023-10-22Serd 0.32.0v0.32.0David Robillard4-5/+5
2023-10-06Tolerate reduce floating point precision on Apple SiliconDavid Robillard1-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-23Avoid use of deprecated meson string formatting with filesDavid Robillard2-24/+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-23Explicitly specify all documentation dependenciesDavid Robillard5-14/+37
Yet another attempt to sort out flaky documentation builds. This tries to be careful and describe the complete documentation dependency graph to meson explicitly (ignoring tool outputs that aren't used). Also remove the shared doctrees directory option, since I suspect this causes issues in parallel builds.
2023-09-22Suppress new warnings in clang-tidy 16David Robillard1-1/+2
2023-09-22Fix documentation dependenciesDavid Robillard3-4/+4
2023-09-22Fix potential realloc leaksDavid Robillard2-6/+12
2023-09-22Remove unused includeDavid Robillard1-1/+0
2023-09-22Suppress new warnings in clang 16David Robillard1-0/+2
2023-09-22Remove custom documentation CSSDavid Robillard1-18/+0
This doesn't seem to be necessary, and spacing issues like this should be addressed by fixing the theme anyway.
2023-09-22Clean up meson formattingDavid Robillard3-61/+102
Formatted automatically with muon, with some manual changes to make things format more nicely.