aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27Add serd_world_get_blank()David Robillard4-2/+53
2020-10-27Clean up node construction APIDavid Robillard9-231/+323
2020-10-27Hide fopen wrapper and use reader interface consistentlyDavid Robillard11-193/+129
2020-10-27Add blank node APIDavid Robillard4-0/+40
2020-10-27Make serd_node_new_literal take datatype as a nodeDavid Robillard3-12/+21
2020-10-27Move error handling to worldDavid Robillard5-38/+43
2020-10-27Add SerdWorld for shared library stateDavid Robillard13-67/+172
2020-10-27Add SerdSink interface and hide individual function implementationsDavid Robillard8-136/+92
2020-10-27Bring read/write interface closer to C standardDavid Robillard11-85/+90
2020-10-27Merge datatype and/or language into nodeDavid Robillard8-95/+252
This moves closer to the sord API, and is more convenient in most cases.
2020-10-27Simplify reader interfaceDavid Robillard6-155/+120
2020-10-27Remove serd_uri_to_path()David Robillard5-65/+9
2020-10-27Remove SERD_NOTHING node typeDavid Robillard5-30/+1
2020-10-27Make nodes opaqueDavid Robillard10-408/+464
2020-10-27Use opaque node APIDavid Robillard4-55/+76
2020-10-27Add node accessor APIDavid Robillard2-0/+52
2020-10-27Remove "get" from accessor namesDavid Robillard6-15/+13
2020-10-27Add support for parsing NaN, INF, and -INFDavid Robillard2-4/+24
2020-10-27Make serd_strtod API const-correctDavid Robillard4-8/+12
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 Robillard7-30/+30
2020-10-27Use char* for strings in public APIDavid Robillard20-336/+321
The constant casting just makes user code a mess, for no benefit.
2020-10-27Remove useless character countingDavid Robillard10-91/+53
2020-10-27Add SerdBuffer type for mutable buffersDavid Robillard7-32/+47
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2020-10-27Add a test for reading strings with no trailing newlineDavid Robillard1-0/+23
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-10-27Update autowafDavid Robillard1-0/+0
2020-10-27Update autowafDavid Robillard2-2/+2
2020-09-27Serd 0.30.6v0.30.6David Robillard2-3/+3
2020-09-27Update stale copyright datesDavid Robillard5-5/+5
2020-09-26Update autowafDavid Robillard1-0/+0
2020-09-26Update autowafDavid Robillard1-0/+0
2020-08-16Use conventional short variable name for statusDavid Robillard1-8/+8
2020-08-16Ensure that all free methods tolerate NULLDavid Robillard6-1/+49
2020-08-16Move Env tests to a separate fileDavid Robillard3-64/+97
2020-08-16Add test for reading chunksDavid Robillard2-0/+122
2020-08-16Fix loop index variable typeDavid Robillard1-5/+5
2020-08-16Fix handling of bad syntax that ends a collectionDavid Robillard3-1/+9
2020-08-16Fix EOF and null byte handlingDavid Robillard3-3/+12
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-16Add a test for reading from socket-like streamsDavid Robillard1-0/+61
2020-08-15Clean up reader error handlingDavid Robillard5-315/+363
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 Robillard4-10/+49