aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-05-27Clean up error handlingDavid Robillard4-334/+374
2018-05-27Zero node padding before passing to reader sinksDavid Robillard5-3/+38
2018-05-27Remove datatype and language from reader contextDavid Robillard2-30/+17
2018-05-27Fix UTF-8 round trippingDavid Robillard3-6/+6
2018-05-27Remove unused parameters from emit_statementDavid Robillard3-16/+7
2018-05-27Simplify stack management by popping in bulk at higher levelsDavid Robillard5-92/+61
Since all memory used by the reader is POD in the stack, there is no benefit to forcing code to explicitly pop everything pushed to the stack, since any function can record an offset and pop back down to it regardless of what its callers pushed if it knows that it does not need those items.
2018-05-27Use fixed size stackDavid Robillard7-217/+271
2018-05-27WIP: Add modelDavid Robillard17-6/+1344
2018-05-27Set datatypes on integer, decimal, and base64 nodesDavid Robillard1-26/+73
2018-05-27Add serd_world_get_blank()David Robillard2-1/+20
2018-05-27Avoid copying nodes when equivalent prefixes are setDavid Robillard1-3/+5
2018-05-27Separate base64 implementationDavid Robillard4-81/+177
2018-05-27Zero-initialize stack memoryDavid Robillard1-1/+1
2018-05-27Clean up node construction APIDavid Robillard7-125/+147
2018-05-27Fix rooted relative URI serialisationDavid Robillard2-5/+14
2018-05-27Clean up includes and improve source file separationDavid Robillard19-70/+90
2018-05-27Move system utilities to separate source filesDavid Robillard7-29/+86
2018-05-27Hide fopen wrapper and use reader interface consistentlyDavid Robillard7-104/+100
2018-05-27Add blank node APIDavid Robillard1-0/+15
2018-05-27Make serd_node_new_literal take datatype as a nodeDavid Robillard1-6/+8
2018-05-27Move error handling to worldDavid Robillard5-33/+38
2018-05-27Add SerdWorld for shared library stateDavid Robillard7-31/+89
2018-05-27Remove redundant SERD_API declarationsDavid Robillard6-64/+0
2018-05-27Add SerdSinkInterface and hide implementationsDavid Robillard5-93/+80
2018-05-27Fix byte source to never read past end of stringsDavid Robillard2-18/+21
2018-05-27Remove syntax assumptions from SerdEnv implementationDavid Robillard2-26/+16
2018-05-27Clean up and separate internal headersDavid Robillard17-539/+697
2018-05-27Merge datatype and/or language into nodeDavid Robillard4-42/+152
This moves closer to the sord API, and is more convenient in most cases.
2018-05-27Simplify reader interfaceDavid Robillard4-100/+81
2018-05-27Remove serd_uri_to_path()David Robillard2-26/+7
2018-05-27Make nodes opaqueDavid Robillard6-199/+242
2018-05-27Use opaque node APIDavid Robillard5-58/+83
2018-05-27Add node accessor APIDavid Robillard1-0/+28
2018-05-27Make 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.
2018-05-27Rename SerdChunk to SerdSliceDavid Robillard4-12/+12
2018-05-27Use char* for strings in public APIDavid Robillard11-168/+170
The constant casting just makes user code a mess, for no benefit.
2018-05-27Remove useless character countingDavid Robillard7-63/+36
2018-05-27Use SerdBuffer for mutable buffersDavid Robillard3-20/+21
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2018-05-27Clarify errors returned by serd_env_expand()David Robillard2-8/+8
2018-05-25Fix reported error when reading statements with only a blank nodeDavid Robillard1-1/+1
2018-04-19Fix growing stack when parsing TriG files with many graphsDavid Robillard1-0/+3
2018-04-18Fix potential memory errors when the reader stack growsDavid Robillard1-2/+3
This fixes possible segfaults for inputs that push a lot to the stack, like files with deeply nested or very large nodes.
2018-03-08Fix parsing local names that end with escaped dotsDavid Robillard1-3/+5
2018-03-08Fix comment typoDavid Robillard1-1/+1
2018-02-04Factor out syntax-specific reader implementationDavid Robillard5-1609/+1702
2018-02-04Factor out is_xdigitDavid Robillard2-6/+12
2018-01-04Open files in binary mode to preserve line endings on WindowsDavid Robillard2-2/+2
2017-12-29Don't force ASCII for NQuadsDavid Robillard1-2/+1
2017-12-29Add serdi option to write ASCII outputDavid Robillard1-1/+6
2017-12-26Print file open error in standard formatDavid Robillard1-1/+2