Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-05-27 | Simplify stack management by popping in bulk at higher levels | David Robillard | 5 | -92/+61 | |
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-05-27 | Use fixed size stack | David Robillard | 7 | -217/+271 | |
2018-05-27 | WIP: Add model | David Robillard | 17 | -6/+1344 | |
2018-05-27 | Set datatypes on integer, decimal, and base64 nodes | David Robillard | 1 | -26/+73 | |
2018-05-27 | Add serd_world_get_blank() | David Robillard | 2 | -1/+20 | |
2018-05-27 | Avoid copying nodes when equivalent prefixes are set | David Robillard | 1 | -3/+5 | |
2018-05-27 | Separate base64 implementation | David Robillard | 4 | -81/+177 | |
2018-05-27 | Zero-initialize stack memory | David Robillard | 1 | -1/+1 | |
2018-05-27 | Clean up node construction API | David Robillard | 7 | -125/+147 | |
2018-05-27 | Fix rooted relative URI serialisation | David Robillard | 2 | -5/+14 | |
2018-05-27 | Clean up includes and improve source file separation | David Robillard | 19 | -70/+90 | |
2018-05-27 | Move system utilities to separate source files | David Robillard | 7 | -29/+86 | |
2018-05-27 | Hide fopen wrapper and use reader interface consistently | David Robillard | 7 | -104/+100 | |
2018-05-27 | Add blank node API | David Robillard | 1 | -0/+15 | |
2018-05-27 | Make serd_node_new_literal take datatype as a node | David Robillard | 1 | -6/+8 | |
2018-05-27 | Move error handling to world | David Robillard | 5 | -33/+38 | |
2018-05-27 | Add SerdWorld for shared library state | David Robillard | 7 | -31/+89 | |
2018-05-27 | Remove redundant SERD_API declarations | David Robillard | 6 | -64/+0 | |
2018-05-27 | Add SerdSinkInterface and hide implementations | David Robillard | 5 | -93/+80 | |
2018-05-27 | Fix byte source to never read past end of strings | David Robillard | 2 | -18/+21 | |
2018-05-27 | Remove syntax assumptions from SerdEnv implementation | David Robillard | 2 | -26/+16 | |
2018-05-27 | Clean up and separate internal headers | David Robillard | 17 | -539/+697 | |
2018-05-27 | Merge datatype and/or language into node | David Robillard | 4 | -42/+152 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2018-05-27 | Simplify reader interface | David Robillard | 4 | -100/+81 | |
2018-05-27 | Remove serd_uri_to_path() | David Robillard | 2 | -26/+7 | |
2018-05-27 | Make nodes opaque | David Robillard | 6 | -199/+242 | |
2018-05-27 | Use opaque node API | David Robillard | 5 | -58/+83 | |
2018-05-27 | Add node accessor API | David Robillard | 1 | -0/+28 | |
2018-05-27 | Make serd_strtod API const-correct | David Robillard | 4 | -6/+6 | |
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API. | |||||
2018-05-27 | Rename SerdChunk to SerdSlice | David Robillard | 4 | -12/+12 | |
2018-05-27 | Use char* for strings in public API | David Robillard | 11 | -168/+170 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2018-05-27 | Remove useless character counting | David Robillard | 7 | -63/+36 | |
2018-05-27 | Use SerdBuffer for mutable buffers | David Robillard | 3 | -20/+21 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2018-05-27 | Clarify errors returned by serd_env_expand() | David Robillard | 2 | -8/+8 | |
2018-05-25 | Fix reported error when reading statements with only a blank node | David Robillard | 1 | -1/+1 | |
2018-04-19 | Fix growing stack when parsing TriG files with many graphs | David Robillard | 1 | -0/+3 | |
2018-04-18 | Fix potential memory errors when the reader stack grows | David Robillard | 1 | -2/+3 | |
This fixes possible segfaults for inputs that push a lot to the stack, like files with deeply nested or very large nodes. | |||||
2018-03-08 | Fix parsing local names that end with escaped dots | David Robillard | 1 | -3/+5 | |
2018-03-08 | Fix comment typo | David Robillard | 1 | -1/+1 | |
2018-02-04 | Factor out syntax-specific reader implementation | David Robillard | 5 | -1609/+1702 | |
2018-02-04 | Factor out is_xdigit | David Robillard | 2 | -6/+12 | |
2018-01-04 | Open files in binary mode to preserve line endings on Windows | David Robillard | 2 | -2/+2 | |
2017-12-29 | Don't force ASCII for NQuads | David Robillard | 1 | -2/+1 | |
2017-12-29 | Add serdi option to write ASCII output | David Robillard | 1 | -1/+6 | |
2017-12-26 | Print file open error in standard format | David Robillard | 1 | -1/+2 | |
2017-11-05 | Move cursor from reader to byte source | David Robillard | 3 | -25/+25 | |
2017-11-05 | Move EOF flag from reader to byte source | David Robillard | 3 | -11/+11 | |
2017-11-05 | Factor out namespace defines | David Robillard | 3 | -6/+3 | |
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 | |