Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-10-27 | Add support for parsing NaN, INF, and -INF | David Robillard | 1 | -4/+14 | |
2020-10-27 | Make serd_strtod API const-correct | David Robillard | 1 | -3/+3 | |
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the standard C API. | |||||
2020-10-27 | Rename SerdChunk to SerdStringView | David Robillard | 4 | -15/+14 | |
2020-10-27 | Use char* for strings in public API | David Robillard | 16 | -192/+184 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2020-10-27 | Remove useless character counting | David Robillard | 7 | -67/+40 | |
2020-10-27 | Add SerdBuffer type for mutable buffers | David Robillard | 3 | -20/+21 | |
This avoids const violations from abusing SerdChunk as a mutable buffer for string sinks. | |||||
2020-10-27 | Simplify reader byte reading interface | David Robillard | 1 | -10/+3 | |
This eliminates eat_byte() and the way it conflates the status of advancing the source with the current character, which can cause problems with custom sinks. | |||||
2020-09-27 | Update stale copyright dates | David Robillard | 3 | -3/+3 | |
2020-08-16 | Use conventional short variable name for status | David Robillard | 1 | -8/+8 | |
2020-08-16 | Ensure that all free methods tolerate NULL | David Robillard | 3 | -0/+12 | |
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 | 3 | -311/+358 | |
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 | 3 | -57/+80 | |
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 | Move prototype to a more sensible location | David Robillard | 1 | -4/+4 | |
2020-08-15 | Fix stack check C++ compatibility | David Robillard | 1 | -1/+1 | |
2020-08-15 | Harden prefixed name parsing | David Robillard | 1 | -9/+39 | |
2020-08-14 | Fix incorrect separator length | David Robillard | 1 | -1/+1 | |
2020-08-14 | Avoid absurd Windows warnings about "deprecated" POSIX functions | David Robillard | 1 | -2/+2 | |
2020-08-14 | Fix Wswitch-enum warnings | David Robillard | 2 | -12/+14 | |
2020-08-14 | Make serd_stack_push() return a void pointer | David Robillard | 2 | -2/+2 | |
This avoids some unnecessary type punning. | |||||
2020-08-14 | Avoid copying nodes when equivalent prefixes are set | David Robillard | 1 | -3/+5 | |
2020-08-14 | Separate base64 implementation | David Robillard | 4 | -82/+174 | |
2020-08-14 | Use SerdNodeFlags type everywhere | David Robillard | 1 | -7/+7 | |
2020-08-14 | Clean up and separate internal headers | David Robillard | 18 | -597/+861 | |
2020-07-06 | Fix spurious semicolon warnings | David Robillard | 4 | -12/+14 | |
2020-07-06 | Fix format conversion warnings | David Robillard | 2 | -4/+10 | |
2020-07-05 | Remove redundant switch statement | David Robillard | 1 | -3/+1 | |
2020-07-05 | Remove unreachable code | David Robillard | 1 | -3/+2 | |
2020-06-21 | Cleanup: Add missing default switch cases | David Robillard | 3 | -0/+13 | |
2020-06-21 | Cleanup: Fix uninitialised variables | David Robillard | 4 | -28/+29 | |
2020-06-21 | Cleanup: Avoid declaring multiple variables on a single line | David Robillard | 1 | -1/+3 | |
2020-06-21 | Cleanup: Remove unnecessary stores | David Robillard | 2 | -2/+2 | |
2020-06-21 | Clean up includes | David Robillard | 11 | -25/+63 | |
2020-04-26 | Fix potential passing of NULL to printf | David Robillard | 1 | -1/+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 EOF handling while reading in bulk or from strings | David Robillard | 3 | -17/+34 | |
2019-10-27 | Use int as internal character type so it can represent EOF | David Robillard | 3 | -80/+94 | |
2019-10-27 | Fix integer conversion warnings | David Robillard | 7 | -33/+40 | |
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 | 2 | -2/+11 | |
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 | |