aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-04-05Update to clang-format 12David Robillard3-134/+79
2023-04-05Simplify writing URI delimitersDavid Robillard1-10/+5
2023-04-05Fix potential memory leaks when a write is abortedDavid Robillard3-69/+133
Also clean up and simplify writer context management in general.
2023-04-05Remove redundant null check in serd_env_set_base_uri()David Robillard1-2/+2
The env parameter here is declared as nonnull in the API, so it is an error to call it with NULL (which clang can statically flag as a warning).
2023-04-05Strengthen URI utility unit testsDavid Robillard1-6/+29
2023-04-05Shrink UTF-8 utility codeDavid Robillard1-36/+5
I've found that the negative cache impact of the 32-byte lookup table here can be worse than the simple conditional code in real-world scenarios (even though it's faster in micro-benchmarks). So, go with the simple (and conveniently more terse) thing.
2023-04-05Add nullability annotations to internal node functionsDavid Robillard1-6/+7
2023-04-05Use distinct include guards for internal headersDavid Robillard12-47/+47
2023-04-05Use conventional status variable nameDavid Robillard1-17/+17
2023-04-05Fix pretty-printing of anonymous subjectsDavid Robillard7-3/+134
2023-04-05Add pretty-printing test suiteDavid Robillard32-110/+619
The earlier "test" was just hitting the code without actually checking the output. This new suite is a set of pretty-printed documents which serd must reproduce exactly to pass. This should make it easy to add cases in the future, since each case is just a document, as it should look.
2023-04-02Factor out common test runner utilitiesDavid Robillard2-128/+184
2023-04-02Fix lax test suiteDavid Robillard1-2/+2
2023-04-02Improve TriG pretty-printing and remove trailing newlinesDavid Robillard4-8/+15
2023-03-31Fix possible hang when writing nested Turtle listsDavid Robillard2-7/+15
2023-03-31Remove outdated test README fileDavid Robillard1-20/+0
This has evolved into the set of "extra" tests for serd, and is no longer the pre-standard Turtle test suite this README originates from.
2023-03-31Fix incorrect parsing of strange quote escape patternsDavid Robillard6-5/+136
2023-03-31Factor out read_string_escape()David Robillard1-11/+20
2023-03-31Remove trailing whitespaceDavid Robillard2-4/+4
2023-02-13Fix check for posix_fadviseDavid Robillard1-1/+1
2023-02-12Check for POSIX features with the build systemDavid Robillard4-42/+105
2023-02-12Disable default Windows bloat from mesonDavid Robillard1-0/+1
2023-02-12Remove dead and redundant data from good test manifestThomas Tanon1-8/+0
2023-02-06Update year in version outputDavid Robillard1-2/+2
2023-02-05Fix inconsistent comment styleDavid Robillard1-2/+2
2023-02-05Strengthen clang warning flagsDavid Robillard1-2/+0
2023-02-04Fix clang and clang-tidy warnings on WindowsDavid Robillard5-3/+12
2023-02-03Suppress new warnings in clang-tidy 15David Robillard1-1/+2
2023-01-14Fix and simplify library naming on WindowsDavid Robillard2-33/+12
2022-12-20Fix pkg-config command in READMEDavid Robillard1-1/+1
2022-12-20Avoid using ASCII grave as a quoteDavid Robillard8-30/+31
2022-12-19Allow SERD_API to be defined by the userDavid Robillard2-9/+13
2022-12-11Update NEWS fileDavid Robillard1-1/+3
2022-12-10Make clang-tidy configuration clean when run via mesonDavid Robillard3-4/+5
2022-12-09Add serd_reader_skip_until_byte() to public APIDavid Robillard6-9/+28
2022-12-08Replace duplicated dox_to_sphinx script with sphinxygen dependencyDavid Robillard6-663/+29
2022-12-04Clean up documentation configurationDavid Robillard3-18/+75
2022-11-28Improve serdi man pageDavid Robillard2-3/+39
2022-11-25Trim redundant warning flags enabled by -Wextra and -WpedanticDavid Robillard4-23/+18
2022-11-25Avoid use of tmpfile()David Robillard1-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-25Avoid creating test files in the current directoryDavid Robillard2-1/+22
2022-11-25Merge similar testsDavid Robillard3-143/+119
2022-11-25Always handle the return value of serd_env_set_base_uri()David Robillard3-16/+22
2022-11-25Always handle the return value of eat_byte_safe()David Robillard3-61/+56
2022-11-24Gracefully handle bad characters in Turtle blank node syntaxDavid Robillard6-3/+20
2022-11-24Gracefully handle bad characters in Turtle datatype syntaxDavid Robillard4-3/+14
2022-11-24Explicitly ignore the posix_fadvise() return valueDavid Robillard2-2/+3
I can't figure out a sensible way to test this, and even if it did fail, at most a warning message could be printed because this is just a performance hint anyway.
2022-11-24Check serd_writer_write_statement() return valueDavid Robillard1-2/+2
2022-11-24Avoid redundant comparisonDavid Robillard1-1/+1
2022-11-24Avoid mutation in testDavid Robillard1-18/+22