Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-04-13 | Make reader tolerant of being started several times | David Robillard | 1 | -0/+4 | |
2019-04-13 | Remove pointless switch statement | David Robillard | 1 | -3/+1 | |
2019-04-13 | Fix MSVC warnings about integer literal conversions | David Robillard | 1 | -1/+1 | |
2019-04-13 | Fix integer conversion warnings | David Robillard | 1 | -1/+2 | |
2019-04-13 | Remove reader status and handle errors more precisely | David Robillard | 1 | -7/+6 | |
2019-04-13 | Add Env to Sink | David Robillard | 1 | -6/+3 | |
This isn't technically necessary for any sink, but is a pattern common to every sink implementation in serd, so having it here reduces boilerplate and parameters in user code. | |||||
2019-04-13 | Rename SerdType to SerdNodeType | David Robillard | 1 | -2/+5 | |
The old name has become ambiguous with the expanded scope of serd. | |||||
2019-04-13 | Rename SerdError to SerdMessage | David Robillard | 1 | -2/+4 | |
Towards more general usage for all types of logging. | |||||
2019-04-13 | 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. | |||||
2019-04-13 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -12/+0 | |
2019-04-13 | Automatically finish reader on destruction | David Robillard | 1 | -0/+1 | |
2019-04-13 | Make SerdSink opaque | David Robillard | 1 | -0/+1 | |
2019-04-13 | 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. | |||||
2019-04-13 | Add SerdCursor to public API | David Robillard | 1 | -7/+11 | |
2019-04-13 | 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. | |||||
2019-04-13 | Clean up reader error handling | David Robillard | 1 | -11/+12 | |
2019-04-13 | Zero node padding before passing to reader sinks | David Robillard | 1 | -0/+5 | |
2019-04-13 | 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. | |||||
2019-04-13 | 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. | |||||
2019-04-13 | Clean up includes and improve source file separation | David Robillard | 1 | -6/+9 | |
2019-04-13 | Move system utilities to separate source files | David Robillard | 1 | -0/+2 | |
2019-04-13 | Hide fopen wrapper and use reader interface consistently | David Robillard | 1 | -44/+26 | |
2019-04-13 | Move error handling to world | David Robillard | 1 | -1/+1 | |
2019-04-13 | Add SerdWorld for shared library state | David Robillard | 1 | -11/+3 | |
2019-04-13 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -31/+12 | |
2019-04-13 | Bring read/write interface closer to C standard | David Robillard | 1 | -2/+2 | |
2019-04-13 | Clean up and separate internal headers | David Robillard | 1 | -0/+2 | |
2019-04-13 | 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. | |||||
2019-04-13 | Simplify reader interface | David Robillard | 1 | -79/+37 | |
2019-04-13 | Make nodes opaque | David Robillard | 1 | -14/+8 | |
2019-04-13 | 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. | |||||
2019-04-13 | Use char* for strings in public API | David Robillard | 1 | -25/+25 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2019-04-13 | Remove useless character counting | David Robillard | 1 | -2/+2 | |
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 | |