Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-06-28 | Move zix_strerror to library | David Robillard | 1 | -0/+28 | |
2022-06-28 | Use uppercase integer literal suffixes | David Robillard | 6 | -113/+112 | |
I give in. | |||||
2022-06-28 | Simplify dep5 file by adding license headers where possible | David Robillard | 1 | -0/+3 | |
2022-06-28 | Clean up build configuration | David Robillard | 4 | -17/+43 | |
2022-02-02 | Avoid fallthrough annotation on older GCC versions | David Robillard | 1 | -1/+1 | |
2022-01-14 | Fix hash insertion tombstone replacement case | David Robillard | 1 | -0/+1 | |
2021-12-17 | Suppress new warnings in clang-tidy 13 | David Robillard | 1 | -1/+2 | |
2021-10-27 | Compile but fail at runtime if aligned allocation is not supported | David Robillard | 1 | -1/+1 | |
2021-10-27 | Remove unnecessary include | David Robillard | 1 | -1/+0 | |
2021-10-27 | Improve hash table performance slightly | David Robillard | 1 | -6/+9 | |
2021-10-27 | Fix zix_digest64() to consume all input | David Robillard | 1 | -5/+5 | |
This was a copy-paste bug since the loop in zix_digest32() worked differently. As a result only the first block was considered, making the digest nearly useless for larger values. The tests didn't (and unfortunately still don't) catch this because the 64-bit digest algorithm incorporates the size itself. Fix this by changing the loop to work the same way as zix_digest32(), so hopefully something like this doesn't happen again. | |||||
2021-09-16 | Add a simple bump pointer allocator | David Robillard | 1 | -0/+161 | |
2021-09-14 | Add aligned allocation interface and use it in ZixBTree | David Robillard | 4 | -9/+132 | |
2021-09-14 | Make ZixAllocator a single flat struct | David Robillard | 5 | -61/+60 | |
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-13 | Correctly handle hash table reallocation failures | David Robillard | 1 | -8/+25 | |
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 | 8 | -120/+16 | |
2021-09-10 | Remove branches from zix_bitset_set() and zix_bitset_reset() | David Robillard | 1 | -14/+10 | |
2021-09-10 | Add custom allocator support | David Robillard | 5 | -84/+182 | |
2021-09-10 | Add nullability annotations | David Robillard | 2 | -0/+52 | |
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 | Rewrite ZixHash as a flat table with open addressing | David Robillard | 1 | -145/+258 | |
2021-09-10 | Replace CRC32 digest with more modern and appropriate algorithms | David Robillard | 1 | -100/+172 | |
This makes the hassle of platform-specific code go away, and instead uses portable implementations of relatively standard modern hash algorithms. CRC32 is not great as a hash function anyway, though it is very fast when hardware accelerated. | |||||
2021-09-10 | Fix cast alignment warnings in SSE4.2 digest code | David Robillard | 1 | -5/+29 | |
2021-09-10 | Add a user handle to destroy callback | David Robillard | 2 | -21/+30 | |
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-09-10 | Remove ZixStrindex | David Robillard | 1 | -263/+0 | |
2021-07-17 | Remove ZixSortedArray | David Robillard | 1 | -193/+0 | |
2021-07-17 | Avoid allegedly "suspicious" string comparisons | David Robillard | 1 | -1/+1 | |
I guess these are suspicious if you've never seen C before? | |||||
2021-07-17 | Use line comments where appropriate | David Robillard | 2 | -12/+12 | |
2021-06-30 | Add pure attribute to internal BTree accessor functions | David Robillard | 1 | -0/+3 | |
2021-06-30 | Fix hash size after removing elements | David Robillard | 1 | -1/+1 | |
2021-01-16 | Allow all free functions to be called on null | David Robillard | 2 | -6/+10 | |
2021-01-12 | Fix crash with optimized builds with GCC 10.1.0 | David Robillard | 1 | -1/+1 | |
2020-12-31 | Fix zix_sorted_array_iter_is_end() | David Robillard | 1 | -1/+1 | |
2020-12-31 | Fix MinGW build | David Robillard | 1 | -1/+0 | |
2020-12-31 | Fix potential balance overflow | David Robillard | 1 | -4/+4 | |
2020-12-31 | Update copyright headers | David Robillard | 9 | -22/+22 | |
2020-12-31 | Remove ZixChunk | David Robillard | 1 | -33/+0 | |
2020-12-31 | Initialize all variables | David Robillard | 1 | -4/+4 | |
2020-12-31 | Fix use of reserved identifiers | David Robillard | 1 | -8/+8 | |
2020-12-31 | Remove ZIX_PRIVATE and ZIX_INLINE mechanisms | David Robillard | 2 | -56/+28 | |
A normal C library ought to be good enough for anybody. | |||||
2020-12-31 | Separate source from headers | David Robillard | 10 | -0/+3071 | |
2012-08-10 | Minimal space overhead inline value hash table. | David Robillard | 8 | -2410/+0 | |
Add ZixChunk. Add SSE 4.2 accelerated digest (with fallback) in zix/digest.h. Make library optionally header-only (define ZIX_INLINE). git-svn-id: http://svn.drobilla.net/zix/trunk@76 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 |