Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-06-25 | Simplify token comparison in reader | David Robillard | 1 | -14/+20 | |
"Simplify" in terms of the operations actually performed. Since we only need to test for equality here, a simpler comparison with less branching will do. | |||||
2024-06-25 | Reduce size of character classification code | David Robillard | 1 | -43/+10 | |
2024-06-25 | Clean up redundant and/or inconsistent conditionals | David Robillard | 1 | -8/+8 | |
2024-06-25 | Replace questionable switch statements with shorter conditionals | David Robillard | 1 | -33/+12 | |
2024-06-25 | Fix overly permissive parsing of syntax names on the command line | David Robillard | 1 | -1/+2 | |
2024-06-23 | Gracefully handle errors while writing the end of anonymous nodes | David Robillard | 1 | -1/+1 | |
2024-06-22 | Avoid non-enum switches with missing default cases | David Robillard | 1 | -24/+25 | |
2024-06-09 | Treat out of range unicode characters as errors | David Robillard | 1 | -2/+2 | |
2024-03-29 | Fix lax NQuads parsing | David Robillard | 1 | -5/+9 | |
2024-03-29 | Support reading lone lists in lax mode | David Robillard | 1 | -1/+1 | |
This allows parsing documents like "(42) ." | |||||
2024-03-28 | Add assertions for all non-null pointers in the public API | David Robillard | 1 | -0/+2 | |
2024-03-08 | Fix parsing NQuads lines with no space before the final dot | David Robillard | 1 | -1/+1 | |
2023-09-22 | Remove unused include | David Robillard | 1 | -1/+0 | |
2023-05-08 | Avoid use of strtoul() | David Robillard | 1 | -7/+7 | |
This function is overkill for the simple cases actually needed here, and pretty slow anyway. | |||||
2023-05-03 | Make serd_reader_read_chunk() work with NQuads | David Robillard | 1 | -1/+1 | |
2023-05-03 | Factor out read_nquads_statement() | David Robillard | 1 | -42/+54 | |
2023-04-16 | Gracefully handle errors when writing text | David Robillard | 1 | -15/+14 | |
2023-04-06 | Clean up error handling and use TRY macros more broadly | David Robillard | 1 | -29/+35 | |
2023-04-06 | Improve pretty-printing of lists and inline subjects | David Robillard | 1 | -9/+14 | |
2023-04-06 | Gracefully handle boolean subject and predicate errors | David Robillard | 1 | -0/+3 | |
2023-04-05 | Improve writer error handling | David Robillard | 1 | -7/+1 | |
2023-04-05 | Use conventional status variable name | David Robillard | 1 | -17/+17 | |
2023-03-31 | Fix incorrect parsing of strange quote escape patterns | David Robillard | 1 | -3/+9 | |
2023-03-31 | Factor out read_string_escape() | David Robillard | 1 | -11/+20 | |
2022-12-20 | Avoid using ASCII grave as a quote | David Robillard | 1 | -15/+15 | |
2022-12-09 | Add serd_reader_skip_until_byte() to public API | David Robillard | 1 | -4/+9 | |
2022-11-25 | Always handle the return value of eat_byte_safe() | David Robillard | 1 | -54/+40 | |
2022-11-24 | Gracefully handle bad characters in Turtle blank node syntax | David Robillard | 1 | -1/+3 | |
2022-11-24 | Gracefully handle bad characters in Turtle datatype syntax | David Robillard | 1 | -2/+5 | |
2022-11-24 | Avoid redundant comparison | David Robillard | 1 | -1/+1 | |
2022-11-24 | Simplify error handling logic | David Robillard | 1 | -6/+5 | |
2022-10-23 | Fix hang when skipping an error at EOF when lax parsing | David Robillard | 1 | -1/+1 | |
2022-10-23 | Use uppercase integer literal suffixes | David Robillard | 1 | -3/+3 | |
2022-08-31 | Adopt REUSE machine-readable licensing standard | David Robillard | 1 | -15/+2 | |
2022-06-10 | Fix memory consumption when reading documents | David Robillard | 1 | -1/+13 | |
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 | |