aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2022-06-10Fix memory consumption when reading documentsDavid Robillard2-3/+15
2022-05-26Serd 0.30.12v0.30.12David Robillard1-1/+1
2022-05-26Update serdi version outputDavid Robillard1-3/+3
2022-01-13Suppress new warnings in clang-tidy 13David Robillard1-1/+2
2021-07-08Suppress new warnings in clang-tidy 12David Robillard1-0/+3
2021-06-30Move local URI utility functionsDavid Robillard1-28/+28
2021-06-30Make node qualify and expand functions tolerate a null EnvDavid Robillard1-0/+12
This is convenient in places where you don't necessarily need an Env, since these methods will work the same as with an empty Env.
2021-06-30Avoid writing invalid prefixed name prefixesDavid Robillard1-1/+2
2021-05-31Make most function parameters constDavid Robillard11-212/+283
More const never hurts in general, but in particular this allows the compiler to make better nullability deductions, which reduces the amount of manual nullability casting required.
2021-05-31Fix include orderDavid Robillard1-1/+2
2021-05-31Remove "static inline" for functions in implementation filesDavid Robillard7-26/+26
This is just noise since these are static functions local to a C compilation unit.
2021-05-31Remove default case from exhaustive switchDavid Robillard2-2/+1
2021-05-31Clean up switch case commentsDavid Robillard1-5/+5
2021-05-31Fix unannotated switch fallthroughsDavid Robillard2-7/+27
Unfortunately, clang does not support doing this with comments, requiring yet more preprocessor gunk.
2021-05-31Fix some conversion warningsDavid Robillard3-7/+7
2021-05-16Remove redundant castDavid Robillard1-1/+1
2021-05-16Avoid else after breakDavid Robillard1-3/+3
2021-04-12Sort command line argument handling codeDavid Robillard1-7/+7
2021-04-11Support combining several BSD-style command line flags in serdiDavid Robillard1-59/+68
2021-04-09Write invalid characters in URIs with percent encodingDavid Robillard1-5/+9