aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-01-13Add serd_node_uri_view()David Robillard2-0/+27
2022-01-13Add serd_node_string_view()David Robillard2-0/+18
2022-01-13Align node allocationsDavid Robillard3-11/+55
2022-01-13Make nodes opaqueDavid Robillard19-545/+582
2022-01-13Add node accessor APIDavid Robillard2-0/+44
2022-01-13Shorten node constructor namesDavid Robillard6-66/+62
2022-01-13Add string view construction macrosDavid Robillard1-1/+69
2022-01-13Remove redundant null check in serd_env_set_base_uri()David Robillard1-1/+1
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).
2022-01-13Remove "get" from accessor namesDavid Robillard6-18/+21
2022-01-13Rename function types for consistencyDavid Robillard8-58/+58
2022-01-13Rename SerdStyle to SerdWriterFlagsDavid Robillard5-50/+52
2022-01-13Rename SerdType to SerdNodeTypeDavid Robillard5-25/+28
The old name will be even more ambiguous with the increased scope.
2022-01-13Rename SerdURI to SerdURIViewDavid Robillard8-113/+115
2022-01-13Rename SerdChunk to SerdStringViewDavid Robillard7-35/+36
2022-01-13Use char* for strings in public APIDavid Robillard24-397/+354
The constant casting just makes user code a mess, for no benefit.
2022-01-13Add SerdBuffer type for mutable buffersDavid Robillard9-41/+47
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2022-01-13Remove support for Turtle named inline nodes extensionDavid Robillard10-84/+7
2022-01-13Remove escape parameter from serd_node_new_file_uriDavid Robillard4-19/+11
Since characters are escaped because they are not valid characters in a URI, any use of this function without escaping is problematic at best.
2022-01-13Remove useless character countingDavid Robillard11-101/+55
2022-01-13Remove serd_uri_to_path()David Robillard4-95/+7
2022-01-13Define _POSIX_C_SOURCE globally in the build systemDavid Robillard4-8/+8
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-01-13Switch to MesonDavid Robillard22-727/+859
2022-01-13Factor out test suite running to a standalone scriptDavid Robillard2-199/+442
2022-01-13Add dark theme for HTML man pagesDavid Robillard1-10/+70
2022-01-13Fix name shadowing in benchmarking scriptDavid Robillard1-3/+3
2022-01-13Suppress new warnings in clang-tidy 13David Robillard2-2/+4
2021-07-10Fix out of bounds read in testDavid Robillard1-0/+4
2021-07-10Clean up socket-like stream reading testDavid Robillard1-5/+17
2021-07-10Add missing includeDavid Robillard1-0/+1
2021-07-09Fix accidentally disabled writer testDavid Robillard2-5/+4
2021-07-08Suppress new warnings in clang-tidy 12David Robillard2-0/+5
2021-06-30dox_to_sphinx.py: Show macro parameter names in prototypeDavid Robillard1-2/+16
2021-06-30Fix clang-format configuration for pragmasDavid Robillard1-0/+1
2021-06-30Move local URI utility functionsDavid Robillard1-28/+28
2021-06-30Make node qualify and expand functions tolerate a null EnvDavid Robillard3-3/+20
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-06-30Format long comments consistentlyDavid Robillard1-14/+14
2021-06-06Move type definitions inside the corresponding documentation groupDavid Robillard1-102/+102
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 Robillard3-3/+1
2021-05-31Clean up switch case commentsDavid Robillard1-5/+5
2021-05-31Fix unannotated switch fallthroughsDavid Robillard3-8/+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-16Suppress silly VS2019 warningDavid Robillard1-0/+1
2021-05-16Add examples to man pageDavid Robillard1-0/+8
2021-05-16Fix inconsistent argument name in man pageDavid Robillard1-1/+1
2021-05-16Remove redundant castDavid Robillard1-1/+1
2021-05-16Avoid else after breakDavid Robillard1-3/+3