aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2022-11-24Gracefully handle bad characters in Turtle datatype syntaxDavid Robillard1-2/+5
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-24Avoid redundant comparisonDavid Robillard1-1/+1
2022-11-24Simplify error handling logicDavid Robillard1-6/+5
2022-11-24Fix improper use of chunk sinkDavid Robillard1-4/+4
2022-11-15Fix implementation-defined integer conversionDavid Robillard1-1/+1
2022-11-14Add Windows path separator support to serd_node_new_file_uri()David Robillard1-4/+16
2022-10-23Fix hang when skipping an error at EOF when lax parsingDavid Robillard1-1/+1
2022-10-23Fix crash when trying to read chunks without startingDavid Robillard1-2/+7
2022-10-23Add trailing commas to enum declarationsDavid Robillard1-2/+2
This has been supported since C99 and C++11, and makes for less noisy diffs and fewer conflicts when things are added.
2022-10-23Fix "suspicious" string comparisonDavid Robillard2-2/+1
This is beyond silly.
2022-10-23Strengthen clang-tidy configurationDavid Robillard1-2/+0
2022-10-23Use uppercase integer literal suffixesDavid Robillard5-43/+43
2022-10-23Simplify clang-tidy configurationDavid Robillard1-8/+1
2022-10-07Override pkg-config dependency within mesonDavid Robillard1-1/+1