aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
AgeCommit message (Collapse)AuthorFilesLines
2024-09-27Make more pointer variables constDavid Robillard1-2/+2
2024-06-24Clean up nonnull parameter assertionsDavid Robillard1-0/+5
2024-03-28Add assertions for all non-null pointers in the public APIDavid Robillard1-0/+26
2023-05-03Make serd_reader_read_chunk() work with NQuadsDavid Robillard1-1/+3
2023-05-03Remove redundant wrapper functionDavid Robillard1-7/+1
2023-02-04Fix clang and clang-tidy warnings on WindowsDavid Robillard1-1/+1
2022-11-25Always handle the return value of eat_byte_safe()David Robillard1-3/+3
2022-08-31Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2021-05-31Make most function parameters constDavid Robillard1-56/+68
More const never hurts in general, but in particular this allows the compiler to make better nullability deductions, which reduces the amount of manual nullability casting required.
2021-05-31Fix include orderDavid Robillard1-1/+2
2021-01-10Add missing includesDavid Robillard1-0/+2
2021-01-02Use email address instead of website for attributionDavid Robillard1-1/+1
2020-12-31Format all code with clang-formatDavid Robillard1-213/+216
2020-12-31Avoid "else" after "break" and "return"David Robillard1-1/+3
2020-11-13Improve add and chop prefix functions when given empty stringsDavid Robillard1-4/+5
2020-08-16Ensure that all free methods tolerate NULLDavid Robillard1-0/+4
2020-08-15Clean up reader error handlingDavid Robillard1-19/+27
2020-08-15Make r_err() return a statusDavid Robillard1-2/+2
2020-08-15Fix stack check C++ compatibilityDavid Robillard1-1/+1
2020-08-14Clean up and separate internal headersDavid Robillard1-0/+2
2020-07-05Remove redundant switch statementDavid Robillard1-3/+1
2020-06-21Clean up includesDavid Robillard1-2/+1
2019-12-08Fix reading from a null-delimited socketDavid Robillard1-0/+6
2019-10-27Simplify syntax dispatch conditionDavid Robillard1-4/+2
This avoids the Wswitch-enum warning in clang.
2019-10-27Fix integer conversion warningsDavid Robillard1-3/+3
2019-01-05Fix unused parameter warningsDavid Robillard1-0/+3
2018-07-22Add serd_free for freeing memory allocated by serdDavid Robillard1-1/+1
2018-06-15Remove redundant SERD_API declarationsDavid Robillard1-15/+0
2018-06-10Fix byte source to never read past end of stringsDavid Robillard1-8/+4
2018-02-04Factor out syntax-specific reader implementationDavid Robillard1-1601/+37
2018-02-04Factor out is_xdigitDavid Robillard1-5/+4
2018-01-04Open files in binary mode to preserve line endings on WindowsDavid Robillard1-1/+1
2017-11-05Move cursor from reader to byte sourceDavid Robillard1-25/+3
2017-11-05Move EOF flag from reader to byte sourceDavid Robillard1-11/+8
2017-11-05Factor out namespace definesDavid Robillard1-3/+0
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 syntax options case-insensitiveDavid Robillard1-8/+1
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-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