Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-27 | Support reading lone lists in lax mode | David Robillard | 1 | -1/+1 | |
This allows parsing documents like "(42) ." | |||||
2020-10-27 | Fix various warnings and conversion issues | David Robillard | 1 | -2/+2 | |
2020-10-27 | Handle read errors more precisely | David Robillard | 1 | -22/+17 | |
2020-10-27 | Use public sink interface in reader | David Robillard | 1 | -12/+9 | |
2020-10-27 | Use simpler names for statement flags | David Robillard | 1 | -4/+4 | |
2020-10-27 | 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. | |||||
2020-10-27 | Make SerdSink opaque | David Robillard | 1 | -0/+1 | |
2020-10-27 | Improve reader error handling | David Robillard | 1 | -33/+38 | |
2020-10-27 | Remove unnecessary parameter | David Robillard | 1 | -8/+8 | |
2020-10-27 | Set flags directly when reading literal nodes | David Robillard | 1 | -51/+32 | |
2020-10-27 | Zero node padding before passing to reader sinks | David Robillard | 1 | -2/+5 | |
2020-10-27 | Remove datatype and language from reader context | David Robillard | 1 | -24/+14 | |
2020-10-27 | Simplify stack management by popping in bulk at higher levels | David Robillard | 1 | -54/+31 | |
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 | -112/+125 | |
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 | Add SerdSink interface and hide individual function implementations | David Robillard | 1 | -8/+8 | |
2020-10-27 | Merge datatype and/or language into node | David Robillard | 1 | -8/+18 | |
This moves closer to the sord API, and is more convenient in most cases. | |||||
2020-10-27 | Simplify reader interface | David Robillard | 1 | -2/+3 | |
2020-10-27 | Use opaque node API | David Robillard | 1 | -11/+17 | |
2020-10-27 | Use char* for strings in public API | David Robillard | 1 | -2/+2 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2020-08-16 | Fix handling of bad syntax that ends a collection | David Robillard | 1 | -1/+2 | |
2020-08-16 | Fix EOF and null byte handling | David Robillard | 1 | -3/+6 | |
This is a bit questionable, but the null byte support is needed for streaming over a socket where some delimiter is required. This caused a bug where serdi would hang forever on corrupt files that contain a null byte. Fix this by consuming the byte, but otherwise behaving as before. | |||||
2020-08-15 | Clean up reader error handling | David Robillard | 1 | -279/+319 | |
2020-08-15 | Make read_String() return a status | David Robillard | 1 | -42/+47 | |
2020-08-15 | Make read_IRIREF_scheme() return a status | David Robillard | 1 | -15/+11 | |
2020-08-15 | Make r_err() return a status | David Robillard | 1 | -52/+74 | |
2020-08-15 | Make read_PrefixedName() return a status | David Robillard | 1 | -12/+17 | |
2020-08-15 | Make read_PERCENT() return a status | David Robillard | 1 | -8/+4 | |
2020-08-15 | Make read_UCHAR() and read_ECHAR() return a status | David Robillard | 1 | -21/+21 | |
2020-08-15 | Exploit push_byte return status | David Robillard | 1 | -2/+1 | |
2020-08-15 | Harden prefixed name parsing | David Robillard | 1 | -9/+39 | |
2020-08-14 | Clean up and separate internal headers | David Robillard | 1 | -1/+5 | |
2020-07-06 | Fix spurious semicolon warnings | David Robillard | 1 | -2/+2 | |
2020-07-06 | Fix format conversion warnings | David Robillard | 1 | -3/+6 | |
2020-07-05 | Remove unreachable code | David Robillard | 1 | -3/+2 | |
2020-06-21 | Cleanup: Add missing default switch cases | David Robillard | 1 | -0/+7 | |
2020-06-21 | Cleanup: Fix uninitialised variables | David Robillard | 1 | -19/+19 | |
2020-06-21 | Cleanup: Remove unnecessary stores | David Robillard | 1 | -1/+1 | |
2020-06-21 | Clean up includes | David Robillard | 1 | -4/+5 | |
2019-10-27 | Fix EOF handling while reading in bulk or from strings | David Robillard | 1 | -15/+23 | |
2019-10-27 | Use int as internal character type so it can represent EOF | David Robillard | 1 | -62/+69 | |
2019-10-27 | Fix integer conversion warnings | David Robillard | 1 | -8/+9 | |
2019-10-27 | Fix lax handling of string errors and add separate lax test suite | David Robillard | 1 | -10/+13 | |
2019-04-20 | Fix incorrect print format arguments | David Robillard | 1 | -2/+4 | |
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 | |