Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-11-25 | Remove reader status and handle errors more precisely | David Robillard | 1 | -7/+6 | |
2018-11-25 | Simplify streaming API and improve pretty printing | David Robillard | 1 | -1/+1 | |
This removes the obligation from the caller to correctly maintain flags to describe the current anonymous context, instead making the writer handle this itself as much as possible. Flags remain for the cases the writer can not infer from context: the start of anonymous subject and object nodes. | |||||
2018-11-25 | Remove serd_reader_set_default_graph | David Robillard | 1 | -12/+0 | |
This is easily handled by the sink. In particular, the inserter already contains this functionality. | |||||
2018-11-25 | Automatically finish reader on destruction | David Robillard | 1 | -0/+1 | |
2018-11-25 | Make SerdSink opaque | David Robillard | 1 | -0/+1 | |
2018-11-25 | 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. | |||||
2018-11-25 | Add SerdCursor to public API | David Robillard | 1 | -7/+11 | |
2018-11-25 | 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. | |||||
2018-11-25 | Clean up reader error handling | David Robillard | 1 | -11/+12 | |
2018-11-25 | Zero node padding before passing to reader sinks | David Robillard | 1 | -0/+5 | |
2018-11-25 | Remove unused parameters from emit_statement | David Robillard | 1 | -5/+1 | |
2018-11-25 | 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. | |||||
2018-11-25 | Use fixed size stack | David Robillard | 1 | -27/+33 | |
2018-11-25 | Clean up includes and improve source file separation | David Robillard | 1 | -5/+6 | |
2018-11-25 | Move system utilities to separate source files | David Robillard | 1 | -0/+1 | |
2018-11-25 | Hide fopen wrapper and use reader interface consistently | David Robillard | 1 | -44/+26 | |
2018-11-25 | Move error handling to world | David Robillard | 1 | -1/+1 | |
2018-11-25 | Add SerdWorld for shared library state | David Robillard | 1 | -11/+3 | |
2018-11-25 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -31/+12 | |
2018-11-25 | Bring read/write interface closer to C standard | David Robillard | 1 | -2/+2 | |
2018-11-25 | Clean up and separate internal headers | David Robillard | 1 | -0/+2 | |
2018-11-25 | Merge datatype and/or language into node | David Robillard | 1 | -1/+1 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2018-11-25 | Simplify reader interface | David Robillard | 1 | -76/+37 | |
2018-11-25 | Make nodes opaque | David Robillard | 1 | -14/+8 | |
2018-11-25 | 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. | |||||
2018-11-25 | Use char* for strings in public API | David Robillard | 1 | -25/+25 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2018-11-25 | Remove useless character counting | David Robillard | 1 | -2/+2 | |
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 | |