aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2022-09-08Serd 0.30.16v0.30.16David Robillard1-1/+1
2022-09-08Use 0BSD for trivial "public domain intent" thingsDavid Robillard1-1/+1
Fedora takes issue with CC0. Although it doesn't really matter for this stuff (dual licensed anyway, questionably "software", certainly not patentable, and so on), this is simpler and more consistent with the ISC license used for the actual software anyway.
2022-08-31Adopt REUSE machine-readable licensing standardDavid Robillard24-345/+49
2022-07-16Simplify command line usage printingDavid Robillard1-16/+19
2022-07-16Remove redundant check for command line argument countDavid Robillard1-4/+1
2022-07-16Define _POSIX_C_SOURCE globally in the build systemDavid Robillard3-6/+0
Using inconsistent defines like this that affect the standard library implementation can cause issues. So, doing this consistently for the whole library is a better approach, although it unfortunately makes the code more difficult to compile manually.
2022-07-16Use a lookup table to determine UTF-8 encoding lengthDavid Robillard1-20/+38
2022-07-16Fix spelling error in serdi man pageDavid Robillard1-1/+1
2022-07-13Suppress new warnings in clang and clang-tidy 14David Robillard1-0/+2
2022-07-10Serd 0.30.14v0.30.14David Robillard1-1/+1