Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-04-13 | Add Env to Sink | David Robillard | 1 | -12/+8 | |
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 | Use simpler names for statement flags | David Robillard | 1 | -4/+4 | |
2019-04-13 | Simplify streaming API and improve pretty printing | David Robillard | 1 | -15/+10 | |
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 | Make reader return failure when no statement is read | David Robillard | 1 | -1/+1 | |
2019-04-13 | Fix warnings | David Robillard | 1 | -3/+2 | |
2019-04-13 | Make SerdSink opaque | David Robillard | 1 | -0/+1 | |
2019-04-13 | Clean up reader error handling | David Robillard | 1 | -319/+351 | |
2019-04-13 | Zero node padding before passing to reader sinks | David Robillard | 1 | -3/+6 | |
2019-04-13 | Remove datatype and language from reader context | David Robillard | 1 | -28/+17 | |
2019-04-13 | Simplify stack management by popping in bulk at higher levels | David Robillard | 1 | -54/+46 | |
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 | -153/+181 | |
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 | -4/+9 | |
2019-04-13 | Move system utilities to separate source files | David Robillard | 1 | -1/+0 | |
2019-04-13 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -8/+8 | |
2019-04-13 | Clean up and separate internal headers | David Robillard | 1 | -1/+3 | |
2019-04-13 | Merge datatype and/or language into node | David Robillard | 1 | -8/+15 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2019-04-13 | Simplify reader interface | David Robillard | 1 | -12/+16 | |
2019-04-13 | Use opaque node API | David Robillard | 1 | -12/+16 | |
2019-04-13 | Use char* for strings in public API | David Robillard | 1 | -1/+1 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2019-03-30 | Fix parsing "a" abbreviation without padding whitespace | David Robillard | 1 | -13/+2 | |
2019-03-17 | Fix bug parsing TriG graphs with several squashed trailing dots | David Robillard | 1 | -2/+2 | |
2019-01-05 | Rewrite switch statements that are better written as ifs | David Robillard | 1 | -18/+14 | |
2019-01-05 | Fix potential use of uninitialised data | David Robillard | 1 | -1/+1 | |
2019-01-05 | Fix unused parameter warnings | David Robillard | 1 | -2/+2 | |
2018-11-11 | Fix missing parse error messages | David Robillard | 1 | -1/+4 | |
2018-10-03 | Fix colliding blank nodes when parsing TriG | David Robillard | 1 | -1/+1 | |
2018-09-16 | Use strtoul instead of sscanf for converting hex | David Robillard | 1 | -2/+3 | |
2018-09-04 | Fix fallthrough warnings with GCC8 | David Robillard | 1 | -0/+3 | |
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 | 1 | -0/+1490 | |