aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2021-04-09Write statements with invalid URI characters in lax modeDavid Robillard1-9/+9
2021-02-15Fix writing long literals with triple quotesDavid Robillard2-3/+11
2021-01-20Serd 0.30.10v0.30.10David Robillard1-1/+1
2021-01-17Remove aligned_alloc supportDavid Robillard2-19/+0
This causes build issues when targeting older versions of MacOS. That could be fixed, but I don't have the ability to reproduce it at the moment, and it's a problem in the build system check code which is about to be entirely replaced anyway. Since, as far as I know, this does not actually add aligned allocation support to any real system (they all support one of the other methods), just remove it for now.
2021-01-10Add missing includesDavid Robillard1-0/+2
2021-01-10Avoid use of strcpyDavid Robillard1-3/+3
Again, really just skirting around warnings here, but this is faster anyway since we know what we're doing here and doing require any fine-grained null termination.
2021-01-09Only define WIN32_LEAN_AND_MEAN for MSVCDavid Robillard1-1/+3
This avoids a warning with MinGW.
2021-01-09Avoid GCC warning about printed string overflowDavid Robillard1-9/+14
GCC seems to think there was a potential overflow here, but I don't see it. I think it just can't figure out that the printed text and the size both depend on the same variable. In any case, avoiding formatting functions here avoids the warning, and is probably faster anyway.
2021-01-09Avoid GCC warning about potential signed overflowDavid Robillard1-1/+1
2021-01-09Add missing pure attributesDavid Robillard2-2/+2
2021-01-09Fix fallback aligned_alloc() detectionDavid Robillard1-1/+1
2021-01-09Fix SERD_DISABLE_DEPRECATEDDavid Robillard1-1/+1
2021-01-07Update fallback versionDavid Robillard1-1/+1
Oops.
2021-01-02Update date in version outputDavid Robillard1-1/+1
2021-01-02Use email address instead of website for attributionDavid Robillard23-24/+24
2021-01-01Remove the need for a generated configuration headerDavid Robillard3-6/+121
2020-12-31Format all code with clang-formatDavid Robillard22-3873/+4116
2020-12-31Avoid "else" after "break" and "return"David Robillard11-53/+117
2020-12-15Clean up includesDavid Robillard5-7/+7