aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27Add serd_world_get_blank()David Robillard2-2/+25
2020-10-27Clean up node construction APIDavid Robillard6-98/+151
2020-10-27Hide fopen wrapper and use reader interface consistentlyDavid Robillard9-163/+108
2020-10-27Add blank node APIDavid Robillard1-0/+14
2020-10-27Make serd_node_new_literal take datatype as a nodeDavid Robillard1-6/+8
2020-10-27Move error handling to worldDavid Robillard5-38/+43
2020-10-27Add SerdWorld for shared library stateDavid Robillard7-33/+99
2020-10-27Add SerdSink interface and hide individual function implementationsDavid Robillard5-57/+48
2020-10-27Bring read/write interface closer to C standardDavid Robillard8-60/+62
2020-10-27Merge datatype and/or language into nodeDavid Robillard5-50/+162
This moves closer to the sord API, and is more convenient in most cases.
2020-10-27Simplify reader interfaceDavid Robillard3-90/+71
2020-10-27Remove serd_uri_to_path()David Robillard2-25/+8
2020-10-27Remove SERD_NOTHING node typeDavid Robillard3-4/+1
2020-10-27Make nodes opaqueDavid Robillard6-197/+236
2020-10-27Use opaque node APIDavid Robillard4-55/+76
2020-10-27Add node accessor APIDavid Robillard1-0/+24
2020-10-27Remove "get" from accessor namesDavid Robillard3-6/+5
2020-10-27Add support for parsing NaN, INF, and -INFDavid Robillard1-4/+14
2020-10-27Make serd_strtod API const-correctDavid Robillard1-3/+3
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the standard C API.
2020-10-27Rename SerdChunk to SerdStringViewDavid Robillard4-15/+14
2020-10-27Use char* for strings in public APIDavid Robillard16-192/+184
The constant casting just makes user code a mess, for no benefit.
2020-10-27Remove useless character countingDavid Robillard7-67/+40
2020-10-27Add SerdBuffer type for mutable buffersDavid Robillard3-20/+21
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2020-10-27Simplify reader byte reading interfaceDavid Robillard1-10/+3
This eliminates eat_byte() and the way it conflates the status of advancing the source with the current character, which can cause problems with custom sinks.
2020-09-27Update stale copyright datesDavid Robillard3-3/+3
2020-08-16Use conventional short variable name for statusDavid Robillard1-8/+8
2020-08-16Ensure that all free methods tolerate NULLDavid Robillard3-0/+12
2020-08-16Fix handling of bad syntax that ends a collectionDavid Robillard1-1/+2
2020-08-16Fix EOF and null byte handlingDavid Robillard1-3/+6
This is a bit questionable, but the null byte support is needed for streaming over a socket where some delimiter is required. This caused a bug where serdi would hang forever on corrupt files that contain a null byte. Fix this by consuming the byte, but otherwise behaving as before.
2020-08-15Clean up reader error handlingDavid Robillard3-311/+358
2020-08-15Make read_String() return a statusDavid Robillard1-42/+47
2020-08-15Make read_IRIREF_scheme() return a statusDavid Robillard1-15/+11
2020-08-15Make r_err() return a statusDavid Robillard3-57/+80
2020-08-15Make read_PrefixedName() return a statusDavid Robillard1-12/+17
2020-08-15Make read_PERCENT() return a statusDavid Robillard1-8/+4
2020-08-15Make read_UCHAR() and read_ECHAR() return a statusDavid Robillard1-21/+21
2020-08-15Exploit push_byte return statusDavid Robillard1-2/+1
2020-08-15Move prototype to a more sensible locationDavid Robillard1-4/+4
2020-08-15Fix stack check C++ compatibilityDavid Robillard1-1/+1
2020-08-15Harden prefixed name parsingDavid Robillard1-9/+39
2020-08-14Fix incorrect separator lengthDavid Robillard1-1/+1
2020-08-14Avoid absurd Windows warnings about "deprecated" POSIX functionsDavid Robillard1-2/+2
2020-08-14Fix Wswitch-enum warningsDavid Robillard2-12/+14
2020-08-14Make serd_stack_push() return a void pointerDavid Robillard2-2/+2
This avoids some unnecessary type punning.
2020-08-14Avoid copying nodes when equivalent prefixes are setDavid Robillard1-3/+5
2020-08-14Separate base64 implementationDavid Robillard4-82/+174
2020-08-14Use SerdNodeFlags type everywhereDavid Robillard1-7/+7
2020-08-14Clean up and separate internal headersDavid Robillard18-597/+861
2020-07-06Fix spurious semicolon warningsDavid Robillard4-12/+14
2020-07-06Fix format conversion warningsDavid Robillard2-4/+10