Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-06-21 | Automatically finish reader on destruction | David Robillard | 1 | -0/+1 | |
2020-06-21 | Make SerdSink opaque | David Robillard | 1 | -0/+1 | |
2020-06-21 | Add cursor to statement | David Robillard | 1 | -1/+2 | |
This allows the file and position of statements to be used in sinks, for example for more helpful error reporting outside the parser. | |||||
2020-06-21 | Add SerdCursor to public API | David Robillard | 1 | -7/+11 | |
2020-06-21 | Make statement sink take a statement rather than nodes | David Robillard | 1 | -2/+6 | |
This makes the interface more extensible, towards associating more information with statements. The serd_sink_write_nodes wrapper remains so that user code does not need to allocate in order to write statement. | |||||
2020-06-21 | Clean up reader error handling | David Robillard | 1 | -11/+12 | |
2020-06-21 | Zero node padding before passing to reader sinks | David Robillard | 1 | -0/+5 | |
2020-06-21 | Simplify stack management by popping in bulk at higher levels | David Robillard | 1 | -19/+8 | |
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. | |||||
2020-06-21 | Use a fixed-size reader stack | David Robillard | 1 | -27/+29 | |
This improves performance, and makes the reader more suitable for embedded or network-facing applications, at the cost of requiring the user to specify a maximum stack size. | |||||
2020-06-21 | Clean up includes and improve source file separation | David Robillard | 1 | -0/+5 | |
2020-06-21 | Move system utilities to separate source files | David Robillard | 1 | -0/+1 | |
2020-06-21 | Hide fopen wrapper and use reader interface consistently | David Robillard | 1 | -44/+26 | |
2020-06-21 | Move error handling to world | David Robillard | 1 | -1/+3 | |
2020-06-21 | Add SerdWorld for shared library state | David Robillard | 1 | -11/+3 | |
2020-06-21 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -31/+12 | |
2020-06-21 | Bring read/write interface closer to C standard | David Robillard | 1 | -2/+2 | |
2020-06-21 | Merge datatype and/or language into node | David Robillard | 1 | -2/+2 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2020-06-21 | Simplify reader interface | David Robillard | 1 | -80/+37 | |
2020-06-21 | Make nodes opaque | David Robillard | 1 | -14/+10 | |
2020-06-21 | Make serd_strtod API const-correct | David Robillard | 1 | -1/+1 | |
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API. | |||||
2020-06-21 | Use char* for strings in public API | David Robillard | 1 | -25/+25 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2020-06-21 | Remove useless character counting | David Robillard | 1 | -2/+2 | |
2020-06-21 | Clean up includes | David Robillard | 1 | -2/+1 | |
2019-12-08 | Fix reading from a null-delimited socket | David Robillard | 1 | -0/+6 | |
2019-10-27 | Simplify syntax dispatch condition | David Robillard | 1 | -4/+2 | |
This avoids the Wswitch-enum warning in clang. | |||||
2019-10-27 | Fix integer conversion warnings | David Robillard | 1 | -3/+3 | |
2019-01-05 | Fix unused parameter warnings | David Robillard | 1 | -0/+3 | |
2018-07-22 | Add serd_free for freeing memory allocated by serd | David Robillard | 1 | -1/+1 | |
2018-06-15 | Remove redundant SERD_API declarations | David Robillard | 1 | -15/+0 | |
2018-06-10 | Fix byte source to never read past end of strings | David Robillard | 1 | -8/+4 | |
2018-02-04 | Factor out syntax-specific reader implementation | David Robillard | 1 | -1601/+37 | |
2018-02-04 | Factor out is_xdigit | David Robillard | 1 | -5/+4 | |
2018-01-04 | Open files in binary mode to preserve line endings on Windows | David Robillard | 1 | -1/+1 | |
2017-11-05 | Move cursor from reader to byte source | David Robillard | 1 | -25/+3 | |
2017-11-05 | Move EOF flag from reader to byte source | David Robillard | 1 | -11/+8 | |
2017-11-05 | Factor out namespace defines | David Robillard | 1 | -3/+0 | |
2017-11-05 | Remove unused typedef | David Robillard | 1 | -2/+0 | |
2017-11-05 | Reset status when skipping lines for lax parsing | David Robillard | 1 | -1/+1 | |
2017-11-05 | Make reader strict by default | David Robillard | 1 | -0/+1 | |
2017-09-24 | Don't smash error status when lax parsing | David Robillard | 1 | -1/+4 | |
2017-09-24 | Report error on unexpected object end | David Robillard | 1 | -4/+2 | |
2017-09-24 | Make serdi syntax options case-insensitive | David Robillard | 1 | -8/+1 | |
2017-09-23 | Add basic error tolerant parsing for line-based formats | David Robillard | 1 | -1/+15 | |
2017-09-23 | Improve error reporting | David Robillard | 1 | -9/+12 | |
2017-09-23 | Fix potential use of uninitialized variable | David Robillard | 1 | -2/+2 | |
2017-09-23 | Report errors when lax parsing | David Robillard | 1 | -3/+5 | |
2017-09-23 | Report errors for all failing test cases | David Robillard | 1 | -3/+8 | |
2017-09-23 | Remove duplicated code | David Robillard | 1 | -12/+2 | |
2017-09-23 | Report errors for directives or abbreviations in NTriples or NQuads | David Robillard | 1 | -1/+14 | |
2017-09-23 | Simplify syntax support checking | David Robillard | 1 | -10/+4 | |