Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-05-31 | Make most function parameters const | David Robillard | 1 | -69/+102 | |
More const never hurts in general, but in particular this allows the compiler to make better nullability deductions, which reduces the amount of manual nullability casting required. | |||||
2021-05-31 | Remove "static inline" for functions in implementation files | David Robillard | 1 | -12/+12 | |
This is just noise since these are static functions local to a C compilation unit. | |||||
2021-05-31 | Fix unannotated switch fallthroughs | David Robillard | 1 | -4/+19 | |
Unfortunately, clang does not support doing this with comments, requiring yet more preprocessor gunk. | |||||
2021-05-31 | Fix some conversion warnings | David Robillard | 1 | -2/+2 | |
2021-05-16 | Avoid else after break | David Robillard | 1 | -3/+3 | |
2021-04-09 | Write statements with invalid URI characters in lax mode | David Robillard | 1 | -9/+9 | |
2021-01-02 | Use email address instead of website for attribution | David Robillard | 1 | -1/+1 | |
2020-12-31 | Format all code with clang-format | David Robillard | 1 | -1295/+1373 | |
2020-12-31 | Avoid "else" after "break" and "return" | David Robillard | 1 | -13/+33 | |
2020-11-13 | Improve IRI reading performance | David Robillard | 1 | -10/+13 | |
This allows the compiler to construct a jump table, and avoids a branch. | |||||
2020-11-13 | Remove use of C character class functions that may use locale | David Robillard | 1 | -2/+1 | |
Some of these cause warnings, and should never have been used in the first place since they depend on locale. | |||||
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 | |
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 | |