aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2017-11-05Move cursor from reader to byte sourceDavid Robillard3-25/+25
2017-11-05Move EOF flag from reader to byte sourceDavid Robillard3-11/+11
2017-11-05Factor out namespace definesDavid Robillard3-6/+3
2017-11-05Remove unused typedefDavid Robillard1-2/+0
2017-11-05Reset status when skipping lines for lax parsingDavid Robillard1-1/+1
2017-11-05Make reader strict by defaultDavid Robillard1-0/+1
2017-09-24Don't smash error status when lax parsingDavid Robillard1-1/+4
2017-09-24Report error on unexpected object endDavid Robillard1-4/+2
2017-09-24Make serdi guess input syntax from extension if unspecifiedDavid Robillard1-2/+27
2017-09-24Make serdi syntax options case-insensitiveDavid Robillard3-28/+41
2017-09-23Add basic error tolerant parsing for line-based formatsDavid Robillard1-1/+15
2017-09-23Improve error reportingDavid Robillard1-9/+12
2017-09-23Fix potential use of uninitialized variableDavid Robillard1-2/+2
2017-09-23Report errors when lax parsingDavid Robillard1-3/+5
2017-09-23Use more efficient stack allocation and growth policiesDavid Robillard2-2/+2