Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-12-02 | [WIP] Tighten up reader node management | David Robillard | 1 | -46/+43 | |
[WIP] Broken on 32-bit This makes the reader stack manipulations stricter, to make the code more regular and avoid redundant work and bad cache activity. Now, functions that push node headers and their bodies are responsible for (more or less) immediately pushing any trailing null bytes required for termination and alignment. This makes the writes to the node in the stack more local, ensures nodes are terminated as early as possible (to reduce the risk of using non-terminated strings), and avoids the need to calculate aligned stack allocations. | |||||
2023-12-02 | Factor out serd_byte_source_skip_bom() | David Robillard | 1 | -0/+16 | |
2023-12-02 | Use ZixAllocator directly | David Robillard | 1 | -9/+9 | |
2023-12-02 | [WIP] Generalize node construction API | David Robillard | 1 | -2/+1 | |
2023-12-02 | Add support for custom allocators | David Robillard | 1 | -15/+36 | |
This makes it explicit in the API where memory is allocated, and allows the user to provide a custom allocator to avoid the use of the default system allocator for whatever reason. | |||||
2023-12-02 | Simplify input stream API | David Robillard | 1 | -70/+45 | |
2023-12-02 | Add assertions for all non-null pointers in the public API | David Robillard | 1 | -0/+4 | |
2023-12-02 | Simplify ByteSource implementation | David Robillard | 1 | -10/+15 | |
2023-12-02 | Add SerdCaret | David Robillard | 1 | -17/+28 | |
2023-12-02 | Simplify reader interface | David Robillard | 1 | -4/+11 | |
2023-12-02 | Bring read/write interface closer to the C standard | David Robillard | 1 | -1/+1 | |
2023-12-02 | Use more human-readable status codes | David Robillard | 1 | -1/+1 | |
2023-12-02 | Split up public API header | David Robillard | 1 | -2/+0 | |
2023-12-02 | Use char* for strings in public API | David Robillard | 1 | -4/+4 | |
The constant casting just makes user code a mess, for no benefit. | |||||
2022-10-23 | Fix crash when trying to read chunks without starting | David Robillard | 1 | -2/+7 | |
2022-08-31 | Adopt REUSE machine-readable licensing standard | David Robillard | 1 | -15/+2 | |
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 | |