aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-27WIP: Add serd_validatemodelDavid Robillard2-12/+918
2018-05-27Move syntax from string/filename utilities to public APIDavid Robillard4-44/+89
2018-05-27Fix comment typoDavid Robillard1-1/+1
2018-05-27Re-use SerdField in writer implementationDavid Robillard1-47/+41
2018-05-27Add debug checks for node paddingDavid Robillard1-8/+39
2018-05-27Add sink APIDavid Robillard3-0/+91
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 Robillard10-221/+277
2018-05-27WIP: Add modelDavid Robillard20-34/+2397
2018-05-27Set datatypes on integer, decimal, and base64 nodesDavid Robillard3-33/+110
2018-05-27Add serd_world_get_blank()David Robillard3-1/+30
2018-05-27Factor out test output diffingDavid Robillard1-8/+12
2018-05-27Avoid copying nodes when equivalent prefixes are setDavid Robillard1-3/+5
2018-05-27Test serd_strlen() with NULL flagsDavid Robillard1-0/+4
2018-05-27Separate base64 implementationDavid Robillard5-82/+179
2018-05-27Zero-initialize stack memoryDavid Robillard1-1/+1
2018-05-27Clean up node construction APIDavid Robillard9-252/+279
2018-05-27Fix rooted relative URI serialisationDavid Robillard2-5/+14
2018-05-27Clean up includes and improve source file separationDavid Robillard20-71/+92
2018-05-27Move system utilities to separate source filesDavid Robillard8-29/+87
2018-05-27Hide fopen wrapper and use reader interface consistentlyDavid Robillard9-126/+123
2018-05-27Add blank node APIDavid Robillard3-0/+39
2018-05-27Make serd_node_new_literal take datatype as a nodeDavid Robillard3-11/+22
2018-05-27Move error handling to worldDavid Robillard5-33/+38
2018-05-27Add SerdWorld for shared library stateDavid Robillard11-61/+145
2018-05-27Remove redundant SERD_API declarationsDavid Robillard6-64/+0
2018-05-27Add SerdSinkInterface and hide implementationsDavid Robillard8-162/+116
2018-05-27Add test for reading chunksDavid Robillard2-2/+112
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 Robillard18-549/+719
2018-05-27Merge datatype and/or language into nodeDavid Robillard6-81/+244
This moves closer to the sord API, and is more convenient in most cases.
2018-05-27Simplify reader interfaceDavid Robillard5-136/+99
2018-05-27Remove serd_uri_to_path()David Robillard5-73/+8
2018-05-27Make nodes opaqueDavid Robillard8-393/+457
2018-05-27Use opaque node APIDavid Robillard5-58/+83
2018-05-27Add node accessor APIDavid Robillard2-0/+56
2018-05-27Make serd_strtod API const-correctDavid Robillard6-11/+18
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 Robillard6-26/+26
2018-05-27Use char* for strings in public APIDavid Robillard14-277/+275
The constant casting just makes user code a mess, for no benefit.
2018-05-27Remove useless character countingDavid Robillard10-99/+58
2018-05-27Use SerdBuffer for mutable buffersDavid Robillard7-33/+56
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks.
2018-05-27Clarify errors returned by serd_env_expand()David Robillard4-9/+15
2018-05-27Add test for writing form feeds in TurtleDavid Robillard4-18/+39
2018-05-25Add blank node statement test filesDavid Robillard2-0/+4