aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-06-11Zero-initialize stack memoryDavid Robillard1-1/+1
2018-06-10Fix byte source to never read past end of stringsDavid Robillard2-18/+21
2018-06-10Fix relative URI serialisationDavid Robillard2-6/+17
2018-06-10Remove syntax assumptions from SerdEnv implementationDavid Robillard2-25/+16
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
2017-09-23Report errors for all failing test casesDavid Robillard1-3/+8
2017-09-23Remove duplicated codeDavid Robillard1-12/+2
2017-09-23Report errors for directives or abbreviations in NTriples or NQuadsDavid Robillard1-1/+14
2017-09-23Simplify syntax support checkingDavid Robillard1-10/+4
2017-08-29Fix building with MSVCDavid Robillard1-3/+4
2017-08-29Fix writing of corrupt UTF-8David Robillard2-15/+8
2017-08-28Report errors for prematurely terminated statementsDavid Robillard1-2/+4
2017-07-30Support strict parsing of prefixed namesDavid Robillard1-29/+84
2017-07-30Move parse_utf8_char to shared internal headerDavid Robillard2-20/+25
2017-07-30Make read_PN_CHARS functions return a status codeDavid Robillard1-22/+19
2017-07-30Cleanup: Add push_bytes function to reduce code verbosityDavid Robillard3-15/+11
2017-07-10Cleanup: Separate writer code into smaller functionsDavid Robillard1-154/+207
2017-07-10Fix hangs when reading corrupt UTF-8David Robillard1-22/+21
2017-07-10Fix potential use of uninitialized variableDavid Robillard1-3/+3
2017-07-10Gracefully handle applications that write corrupt UTF-8David Robillard1-7/+13
2017-07-10Factor out UTF-8 character size countingDavid Robillard3-31/+26
2017-07-09Add serd_node_from_substring()David Robillard3-10/+61
This allows creating nodes in-place from substrings of other strings to allow zero-copy serialization from existing delimited buffers.
2017-07-08Fix parsing of hex escapes in file URIsJohannes Mueller2-1/+8
This fixes round-trip of paths to/from escaped file URIs.
2017-06-30Clean up UTF-8 parsing and use CLZ if availableDavid Robillard1-27/+29