aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2024-03-10Simplify writer logicDavid Robillard1-18/+17
2024-03-10Remove unnecessary internal writer separator caseDavid Robillard1-21/+7
2024-03-08Fix parsing NQuads lines with no space before the final dotDavid Robillard2-2/+2
2024-01-23Serd 0.32.2v0.32.2David Robillard1-1/+1
2024-01-20Fix writing empty list objects within blank nodesDavid Robillard1-0/+8
2024-01-09Avoid regressions in clang nullability checksDavid Robillard3-1/+47
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-09Enable clang nullability checksDavid Robillard1-2/+2
2023-10-22Serd 0.32.0v0.32.0David Robillard1-1/+1
2023-09-22Fix potential realloc leaksDavid Robillard2-6/+12
2023-09-22Remove unused includeDavid Robillard1-1/+0
2023-05-08Avoid use of strtoul()David Robillard3-9/+16
This function is overkill for the simple cases actually needed here, and pretty slow anyway.
2023-05-04Fix whitespaceDavid Robillard1-2/+2
2023-05-03Make serd_reader_read_chunk() work with NQuadsDavid Robillard3-2/+7
2023-05-03Factor out read_nquads_statement()David Robillard1-42/+54
2023-05-03Remove redundant wrapper functionDavid Robillard1-7/+1
2023-04-30Add long "help" and "version" options to serdiDavid Robillard2-1/+9
Although serdi still "officially" has a BSD-style interface, meson uses --version to find the version of executables. So, support that, and also add --help, since users will often try that for unknown commands.
2023-04-16Gracefully handle errors when writing textDavid Robillard5-85/+143
2023-04-06Clean up error handling and use TRY macros more broadlyDavid Robillard2-37/+41
2023-04-06Improve pretty-printing of lists and inline subjectsDavid Robillard4-161/+247
2023-04-06Remove support for writing Turtle named inline nodes extensionDavid Robillard1-30/+6
2023-04-06Simplify remove_dot_segments() implementationDavid Robillard1-53/+15
2023-04-06Make URI writing stricter by defaultDavid Robillard2-8/+11
2023-04-06Gracefully handle boolean subject and predicate errorsDavid Robillard1-0/+3
2023-04-06Improve help textDavid Robillard1-2/+2
2023-04-05Fix sign conversion warningsDavid Robillard2-2/+2
2023-04-05Improve writer error handlingDavid Robillard6-149/+198
2023-04-05Fix relative URI creationDavid Robillard2-25/+43
2023-04-05Update to clang-format 12David Robillard1-4/+4
2023-04-05Simplify writing URI delimitersDavid Robillard1-10/+5
2023-04-05Fix potential memory leaks when a write is abortedDavid Robillard1-68/+82
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-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 Robillard1-3/+9
2023-04-02Improve TriG pretty-printing and remove trailing newlinesDavid Robillard1-3/+9
2023-03-31Fix possible hang when writing nested Turtle listsDavid Robillard1-6/+13
2023-03-31Fix incorrect parsing of strange quote escape patternsDavid Robillard1-3/+9
2023-03-31Factor out read_string_escape()David Robillard1-11/+20
2023-02-12Check for POSIX features with the build systemDavid Robillard1-31/+54
2023-02-06Update year in version outputDavid Robillard1-2/+2
2023-02-05Fix inconsistent comment styleDavid Robillard1-2/+2
2023-02-04Fix clang and clang-tidy warnings on WindowsDavid Robillard4-3/+4
2022-12-20Avoid using ASCII grave as a quoteDavid Robillard6-27/+27
2022-12-10Make clang-tidy configuration clean when run via mesonDavid Robillard1-0/+2
2022-12-09Add serd_reader_skip_until_byte() to public APIDavid Robillard2-5/+10
2022-11-25Always handle the return value of serd_env_set_base_uri()David Robillard2-16/+20
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 Robillard3-2/+11