Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-11-12 | Suppress nullability warnings in tests | David Robillard | 1 | -0/+1 | |
2020-11-12 | Use built-in abspath() | David Robillard | 1 | -1/+1 | |
2020-11-11 | Set up environment for using serdi as a subproject | David Robillard | 1 | -0/+9 | |
2020-11-11 | Disable coverage on sanitizer CI row | David Robillard | 1 | -1/+1 | |
2020-11-11 | Fix link errors with sanitizers at the source in autowaf | David Robillard | 2 | -6/+0 | |
2020-11-11 | Fix build as a subproject | David Robillard | 1 | -5/+7 | |
2020-11-11 | Clean up attributes in reference documentation | David Robillard | 1 | -1/+5 | |
This is a bit unfortunate since they are quite useful as documentation, but unfortunately Doxygen (as usual) doesn't manage to format things nicely, and the noise makes the summaries unreadable. | |||||
2020-11-11 | Add CI row to run clang sanitizers | David Robillard | 2 | -0/+24 | |
Some of these are also supported by GCC, but clang supports more and clang on Linux was uncovered before anyway, so this fixes that situation as well. | |||||
2020-11-11 | Add nonnull and nullable attributes to API | David Robillard | 5 | -183/+226 | |
This will warn if NULL is passed to any nonnull-annotated parameter, and is also supported by sanitizers which can check for violations at runtime. Unfortunately, it is currently only supported by clang. GCC has a similar feature in the nonnull attribute, but this has a different syntax (it's a function attribute) and is more dangerous since it is used by the optimizer to assume a null pointer is undefined behavior. This one just warns and still allows code to handle the situation gracefully, which I think is more appropriate for a library API. Note that this optimization behavior is not some unlikely edge case: switching these attributes to the GCC one will break release builds. | |||||
2020-11-10 | Fix potential memory error when serialising URIs | David Robillard | 2 | -2/+4 | |
2020-11-10 | Fix memory leak in chunk reading test | David Robillard | 1 | -0/+1 | |
2020-11-10 | Add const, pure, and malloc function attributes | David Robillard | 9 | -18/+56 | |
2020-11-10 | Simplify visibility boilerplate | David Robillard | 1 | -13/+6 | |
2020-11-10 | Fix warnings in MinGW build | David Robillard | 1 | -0/+3 | |
2020-11-10 | Fix header installation | David Robillard | 1 | -1/+1 | |
2020-11-10 | Define WIN32_LEAN_AND_MEAN | David Robillard | 1 | -0/+1 | |
2020-11-09 | Add a test for reading strings with no trailing newline | David Robillard | 1 | -0/+23 | |
2020-11-09 | Use separate clang-tidy configurations for implementation and tests | David Robillard | 2 | -4/+9 | |
2020-11-09 | Split out reader and writer tests | David Robillard | 3 | -169/+207 | |
2020-11-09 | Split out string tests | David Robillard | 3 | -32/+66 | |
2020-11-09 | Split out URI tests | David Robillard | 3 | -137/+174 | |
2020-11-09 | Rename unit tests to start with a consistent prefix | David Robillard | 5 | -8/+8 | |
2020-11-09 | Fix clang-tidy hicpp-signed-bitwise warnings in header | David Robillard | 2 | -16/+16 | |
In exchange for suppressing a pointless superficial warning instead, but I dislike that convention since it looks confusing when hex digits are used and it's inconsistent with near-universal floating point suffix convention. | |||||
2020-11-09 | Check headers with stricter clang-tidy settings | David Robillard | 2 | -1/+10 | |
2020-11-09 | Move header to conventional include directory | David Robillard | 4 | -6/+7 | |
2020-11-09 | Rename test directory | David Robillard | 1184 | -32/+38 | |
2020-10-28 | 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-10-27 | Update autowaf | David Robillard | 1 | -0/+0 | |
2020-10-27 | Update autowaf | David Robillard | 2 | -2/+2 | |
2020-09-27 | Serd 0.30.6v0.30.6 | David Robillard | 2 | -3/+3 | |
2020-09-27 | Update stale copyright dates | David Robillard | 5 | -5/+5 | |
2020-09-26 | Update autowaf | David Robillard | 1 | -0/+0 | |
2020-09-26 | Update autowaf | David Robillard | 1 | -0/+0 | |
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 | 6 | -1/+49 | |
2020-08-16 | Move Env tests to a separate file | David Robillard | 3 | -64/+97 | |
2020-08-16 | Add test for reading chunks | David Robillard | 2 | -0/+122 | |
2020-08-16 | Fix loop index variable type | David Robillard | 1 | -5/+5 | |
2020-08-16 | Fix handling of bad syntax that ends a collection | David Robillard | 3 | -1/+9 | |
2020-08-16 | Fix EOF and null byte handling | David Robillard | 3 | -3/+12 | |
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-16 | Add a test for reading from socket-like streams | David Robillard | 1 | -0/+61 | |
2020-08-15 | Clean up reader error handling | David Robillard | 5 | -315/+363 | |
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 | |