Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-28 | Factor out duplicated ByteSource buffer allocation code | David Robillard | 1 | -14/+14 | |
2022-01-28 | Add assertions for all non-null pointers in the public API | David Robillard | 1 | -0/+8 | |
Clang issues warnings at build time based on the SERD_NONNULL annotations, which is a much better approach in general. However, it does not cover cases where the API is being used with another compiler, or without a compiler that can statically check things at all (such as Python or other dynamic language bindings). In those situations, getting a clear assertion message is a lot less confusing than a random crash somewhere in serd, and it makes it clear that the bug is in the caller, so I think it's worth the tedious verbosity. | |||||
2022-01-13 | Make Reader always read from a ByteSource | David Robillard | 1 | -48/+117 | |
2022-01-13 | Fix crash when attempting to read before starting | David Robillard | 1 | -0/+4 | |
2022-01-13 | Simplify ByteSource implementation | David Robillard | 1 | -10/+15 | |
2022-01-13 | Add SerdCaret | David Robillard | 1 | -9/+18 | |
2022-01-13 | Simplify reader interface | David Robillard | 1 | -4/+11 | |
2022-01-13 | Bring read/write interface closer to C standard | David Robillard | 1 | -1/+1 | |
2022-01-13 | Use char* for strings in public API | David Robillard | 1 | -4/+4 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2021-05-31 | Make most function parameters const | David Robillard | 1 | -10/+11 | |
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-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 | -53/+54 | |
2020-12-31 | Avoid "else" after "break" and "return" | David Robillard | 1 | -6/+9 | |
2020-11-13 | Use aligned allocation via C11 or Windows API where possible | David Robillard | 1 | -3/+2 | |
2020-08-14 | Clean up and separate internal headers | David Robillard | 1 | -1/+3 | |
2020-06-21 | Clean up includes | David Robillard | 1 | -1/+8 | |
2019-10-27 | Fix EOF handling while reading in bulk or from strings | David Robillard | 1 | -0/+2 | |
2018-07-22 | Inline serd_byte_source_advance | David Robillard | 1 | -34/+1 | |
2018-06-10 | Fix byte source to never read past end of strings | David Robillard | 1 | -10/+17 | |
2017-11-05 | Move cursor from reader to byte source | David Robillard | 1 | -0/+14 | |
2017-11-05 | Move EOF flag from reader to byte source | David Robillard | 1 | -0/+2 | |
2017-06-30 | Fix spurious error message when parsing empty files | David Robillard | 1 | -1/+1 | |
2017-04-24 | Fix reading with non-standard page sizes | David Robillard | 1 | -2/+2 | |
2017-04-24 | Allow arbitrary page size to be passed for custom sources | David Robillard | 1 | -10/+11 | |
2017-04-14 | Factor out file reading from reader | David Robillard | 1 | -0/+107 | |