Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-09-21 | Avoid type conversions | David Robillard | 1 | -42/+41 | |
Rework arithmetic slightly to avoid some type conversions, and warnings with clang-tidy 16.0.6. Also consistently use explicitly unsigned literals where appropriate to minimize unsigned/signed conversions in general. | |||||
2022-11-02 | Remove function_types.h | David Robillard | 1 | -35/+35 | |
2022-10-21 | Split up common header | David Robillard | 1 | -26/+26 | |
2022-10-09 | Fix off-by-one error in assertion | David Robillard | 1 | -1/+1 | |
2022-06-28 | Use uppercase integer literal suffixes | David Robillard | 1 | -49/+49 | |
I give in. | |||||
2021-09-14 | Add aligned allocation interface and use it in ZixBTree | David Robillard | 1 | -9/+17 | |
2021-09-14 | Make ZixAllocator a single flat struct | David Robillard | 1 | -13/+13 | |
I can never decide between these two patterns for polymorphic objects in C, but this one seems more appropriate here since it's more conducive to inheritance. | |||||
2021-09-11 | Fix zix_btree_lower_bound() | David Robillard | 1 | -7/+8 | |
This condition was converted to an assertion in an over-eager session of code simplification and coverage testing. It turns out this does happen. | |||||
2021-09-10 | Fix C11 build | David Robillard | 1 | -3/+6 | |
2021-09-10 | Adopt REUSE machine-readable licensing standard | David Robillard | 1 | -15/+2 | |
2021-09-10 | Add custom allocator support | David Robillard | 1 | -26/+34 | |
2021-09-10 | Add nullability annotations | David Robillard | 1 | -0/+17 | |
This allows clang to issue warnings at compile time when null is passed to a non-null parameter. For public entry points, also add assertions to catch such issues when the compiler does not support this. | |||||
2021-09-10 | Add a user handle to destroy callback | David Robillard | 1 | -10/+16 | |
2021-09-10 | Simplify BTree implementation | David Robillard | 1 | -253/+388 | |
2021-09-10 | Allow ZixBTreeIter to be allocated on the stack | David Robillard | 1 | -170/+104 | |
2021-09-10 | Remove destroy field of BTree and add zix_btree_clear() | David Robillard | 1 | -29/+36 | |
If this is used, it is only when clearing or freeing a tree. Allowing it to be given as a parameter directly there is clearer and avoids bloating the tree itself with information that isn't needed. | |||||
2021-09-10 | Remove BTree debug printing | David Robillard | 1 | -37/+0 | |
2021-09-10 | Avoid implicit padding in BTree nodes on 64-bit | David Robillard | 1 | -8/+15 | |
Might as well use 32-bit integers if the space is there anyway. | |||||
2021-09-10 | Be explicit about the sign of defined integer constants | David Robillard | 1 | -4/+4 | |
2021-09-10 | Fix conversion warnings | David Robillard | 1 | -1/+1 | |
2021-07-17 | Use line comments where appropriate | David Robillard | 1 | -11/+11 | |
2021-06-30 | Add pure attribute to internal BTree accessor functions | David Robillard | 1 | -0/+3 | |
2021-01-12 | Fix crash with optimized builds with GCC 10.1.0 | David Robillard | 1 | -1/+1 | |
2020-12-31 | Update copyright headers | David Robillard | 1 | -1/+1 | |
2020-12-31 | Remove ZIX_PRIVATE and ZIX_INLINE mechanisms | David Robillard | 1 | -42/+21 | |
A normal C library ought to be good enough for anybody. | |||||
2020-12-31 | Separate source from headers | David Robillard | 1 | -0/+957 | |