Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-27 | Add extensible logging API | David Robillard | 1 | -2/+6 | |
2020-10-27 | Use public sink interface in reader | David Robillard | 1 | -6/+3 | |
2020-10-27 | Rename SerdType to SerdNodeType | David Robillard | 1 | -2/+5 | |
The old name has become ambiguous with the expanded scope of serd. | |||||
2020-10-27 | 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. | |||||
2020-10-27 | Remove serd_reader_set_default_graph() | David Robillard | 1 | -16/+1 | |
2020-10-27 | Automatically finish reader on destruction | David Robillard | 1 | -0/+1 | |
2020-10-27 | Make SerdSink opaque | David Robillard | 1 | -0/+1 | |
2020-10-27 | 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-10-27 | Add SerdCursor to public API | David Robillard | 1 | -7/+11 | |
2020-10-27 | Make statement sink take a statement rather than nodes | David Robillard | 1 | -9/+10 | |
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-10-27 | Zero node padding before passing to reader sinks | David Robillard | 1 | -0/+4 | |
2020-10-27 | 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-10-27 | Use a fixed-size reader stack | David Robillard | 1 | -28/+30 | |
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-10-27 | Hide fopen wrapper and use reader interface consistently | David Robillard | 1 | -44/+26 | |
2020-10-27 | Move error handling to world | David Robillard | 1 | -1/+2 | |
2020-10-27 | Add SerdWorld for shared library state | David Robillard | 1 | -11/+3 | |
2020-10-27 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -35/+16 | |
2020-10-27 | Bring read/write interface closer to C standard | David Robillard | 1 | -2/+2 | |
2020-10-27 | Merge datatype and/or language into node | David Robillard | 1 | -4/+2 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2020-10-27 | Simplify reader interface | David Robillard | 1 | -80/+37 | |
2020-10-27 | Make nodes opaque | David Robillard | 1 | -14/+10 | |
2020-10-27 | Remove "get" from accessor names | David Robillard | 1 | -1/+1 | |
2020-10-27 | Use char* for strings in public API | David Robillard | 1 | -24/+24 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2020-10-27 | Remove useless character counting | David Robillard | 1 | -2/+2 | |
2020-08-16 | Ensure that all free methods tolerate NULL | David Robillard | 1 | -0/+4 | |
2020-08-15 | Clean up reader error handling | David Robillard | 1 | -19/+27 | |
2020-08-15 | Make r_err() return a status | David Robillard | 1 | -2/+2 | |
2020-08-15 | Fix stack check C++ compatibility | David Robillard | 1 | -1/+1 | |
2020-08-14 | Clean up and separate internal headers | David Robillard | 1 | -0/+2 | |
2020-07-05 | Remove redundant switch statement | David Robillard | 1 | -3/+1 | |
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 | |