aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-06-21Add node accessor APIDavid Robillard1-0/+24
2020-06-21Add support for parsing NaN, INF, and -INFDavid Robillard1-4/+14
2020-06-21Make serd_strtod API const-correctDavid Robillard4-6/+6
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API.
2020-06-21Rename SerdChunk to SerdStringViewDavid Robillard4-15/+14
2020-06-21Use char* for strings in public APIDavid Robillard11-192/+185
The constant casting just makes user code a mess, for no benefit.
2020-06-21Remove useless character countingDavid Robillard7-67/+40
2020-06-21Use SerdBuffer for mutable buffersDavid Robillard3-20/+21
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2020-06-21Cleanup: Add missing default switch casesDavid Robillard3-0/+13
2020-06-21Cleanup: Fix uninitialised variablesDavid Robillard4-28/+29
2020-06-21Cleanup: Avoid declaring multiple variables on a single lineDavid Robillard1-1/+3
2020-06-21Cleanup: Remove unnecessary storesDavid Robillard2-2/+2
2020-06-21Clean up includesDavid Robillard11-25/+63
2020-04-26Fix potential passing of NULL to printfDavid Robillard1-1/+1
2019-12-08Fix reading from a null-delimited socketDavid Robillard1-0/+6
2019-10-27Simplify syntax dispatch conditionDavid Robillard1-4/+2
This avoids the Wswitch-enum warning in clang.
2019-10-27Fix EOF handling while reading in bulk or from stringsDavid Robillard3-17/+34
2019-10-27Use int as internal character type so it can represent EOFDavid Robillard3-80/+94
2019-10-27Fix integer conversion warningsDavid Robillard7-33/+40
2019-10-27Fix lax handling of string errors and add separate lax test suiteDavid Robillard1-10/+13
2019-04-20Fix incorrect print format argumentsDavid Robillard2-2/+11
2019-03-30Fix parsing "a" abbreviation without padding whitespaceDavid Robillard1-13/+2
2019-03-17Fix bug parsing TriG graphs with several squashed trailing dotsDavid Robillard1-2/+2
2019-03-16Set stdin and stdout to binary mode on Windows to preserve newlinesDavid Robillard1-0/+10
2019-01-06Fix serd_node_new_decimal() on WindowsDavid Robillard1-1/+1
2019-01-05Use lround() instead of sketchy offset and castDavid Robillard1-1/+1
2019-01-05Rewrite switch statements that are better written as ifsDavid Robillard2-22/+16
2019-01-05Fix potential use of uninitialised dataDavid Robillard1-1/+1
2019-01-05Fix unsorted includesDavid Robillard1-3/+2
2019-01-05Remove pointless const in prototypeDavid Robillard1-1/+1
2019-01-05Fix unused parameter warningsDavid Robillard5-4/+10
2018-12-20Remove old URI parse debug logging codeDavid Robillard1-38/+0
2018-11-11Shrink serd_byte_source_advance() code slightlyDavid Robillard1-4/+2
2018-11-11Fix missing parse error messagesDavid Robillard1-1/+4
2018-10-28Avoid use of sscanf for parsing escapes in URIsDavid Robillard1-4/+2
2018-10-03Fix colliding blank nodes when parsing TriGDavid Robillard1-1/+1
2018-09-30Fix calloc argument orderDavid Robillard4-4/+4
2018-09-16Fix const castsDavid Robillard1-1/+1
2018-09-16Use strtoul instead of sscanf for converting hexDavid Robillard1-2/+3
2018-09-04Fix fallthrough warnings with GCC8David Robillard3-4/+13
2018-07-30Fix resolving some URIs against base URIs with no trailing slashDavid Robillard1-0/+14
2018-07-22Inline serd_byte_source_advanceDavid Robillard2-36/+35
2018-07-22Add serd_free for freeing memory allocated by serdDavid Robillard2-1/+7
2018-07-14Fix length of base64 encoded nodesDavid Robillard1-1/+1
2018-07-12Fix making relative URIs that are shorter than, but under, the rootDavid Robillard1-14/+30
2018-06-15Remove redundant SERD_API declarationsDavid Robillard6-63/+0
2018-06-11Zero-initialize stack memoryDavid Robillard1-1/+1
2018-06-10Fix byte source to never read past end of stringsDavid Robillard2-18/+21
2018-06-10Fix relative URI serialisationDavid Robillard2-6/+17
2018-06-10Remove syntax assumptions from SerdEnv implementationDavid Robillard2-25/+16
2018-05-27Clarify errors returned by serd_env_expand()David Robillard2-8/+8