Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | Fix includes when using as a subproject | David Robillard | 1 | -1/+3 | |
2021-09-10 | Avoid GCC recommending a const main | David Robillard | 1 | -8/+4 | |
These warnings are useful in general, but are pointless with main functions and annoying to avoid. Arbitrarily print something to make it go away. | |||||
2021-09-10 | Fix warning suppressions | David Robillard | 1 | -5/+3 | |
2021-09-10 | Fix function attribute warnings | David Robillard | 2 | -0/+3 | |
2021-09-10 | Add gitignore file | David Robillard | 1 | -0/+3 | |
2021-09-10 | Suppress nullability extension warnings regardless of strict mode | David Robillard | 2 | -4/+12 | |
2021-09-10 | Use conventional name for meson dependency variable | David Robillard | 1 | -3/+3 | |
2021-09-10 | Adopt REUSE machine-readable licensing standard | David Robillard | 44 | -556/+238 | |
2021-09-10 | Add test for zix_strerror() | David Robillard | 2 | -0/+48 | |
2021-09-10 | Use assert in Sem test | David Robillard | 1 | -13/+7 | |
2021-09-10 | Use assert in Ring test | David Robillard | 1 | -91/+26 | |
2021-09-10 | Test failed Ring allocation | David Robillard | 4 | -19/+179 | |
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 | 18 | -110/+438 | |
2021-09-10 | Add nullability annotations | David Robillard | 13 | -130/+230 | |
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 | Move attribute definitions to a separate header | David Robillard | 16 | -58/+95 | |
2021-09-10 | Rewrite ZixHash as a flat table with open addressing | David Robillard | 7 | -304/+776 | |
2021-09-10 | Replace CRC32 digest with more modern and appropriate algorithms | David Robillard | 5 | -157/+324 | |
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 | Generate slightly more realistic hash benchmark data | David Robillard | 1 | -7/+19 | |
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 | 8 | -39/+55 | |
2021-09-10 | Add test that covers more BTree removal cases | David Robillard | 1 | -0/+39 | |
2021-09-10 | Add test for reinserting a value that is a BTree node split pivot | David Robillard | 1 | -0/+20 | |
2021-09-10 | Add test for BTree iterator comparison | David Robillard | 1 | -0/+44 | |
2021-09-10 | Simplify BTree implementation | David Robillard | 3 | -263/+422 | |
2021-09-10 | Avoid inserting wildcards as values in BTree test | David Robillard | 1 | -8/+8 | |
2021-09-10 | Allow ZixBTreeIter to be allocated on the stack | David Robillard | 7 | -268/+174 | |
2021-09-10 | Remove destroy field of BTree and add zix_btree_clear() | David Robillard | 4 | -44/+109 | |
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 | Fix benchmarking script | David Robillard | 1 | -4/+2 | |
2021-09-10 | Suppress new warnings in clang-tidy 12 | David Robillard | 4 | -0/+9 | |
2021-09-10 | Be explicit about the sign of defined integer constants | David Robillard | 3 | -10/+10 | |
2021-09-10 | Fix conversion warnings | David Robillard | 8 | -53/+71 | |
2021-09-10 | Remove ZixStrindex | David Robillard | 4 | -391/+0 | |
2021-07-17 | Remove ZixSortedArray | David Robillard | 5 | -636/+0 | |
2021-07-17 | Enable bugprone-suspicious-include clang-tidy check | David Robillard | 1 | -1/+0 | |
I'm not sure why this was suppressed but it seems fine now. | |||||
2021-07-17 | Avoid allegedly "suspicious" string comparisons | David Robillard | 6 | -7/+4 | |
I guess these are suspicious if you've never seen C before? | |||||
2021-07-17 | Avoid use of rand() | David Robillard | 8 | -69/+83 | |
2021-07-17 | Avoid use of atoi() and atol() | David Robillard | 8 | -14/+12 | |
2021-07-17 | Fix building without benchmarks | David Robillard | 1 | -1/+1 | |
2021-07-17 | Use line comments where appropriate | David Robillard | 14 | -224/+91 | |
2021-06-30 | Add pure attribute to internal BTree accessor functions | David Robillard | 1 | -0/+3 | |
2021-06-30 | Allow ZIX_API to be overridden | David Robillard | 1 | -8/+10 | |
2021-06-30 | Fix hash size after removing elements | David Robillard | 2 | -1/+8 | |
2021-04-14 | Fix VS2019 warnings | David Robillard | 2 | -1/+2 | |
2021-01-16 | Allow all free functions to be called on null | David Robillard | 4 | -6/+14 | |
2021-01-12 | Fix crash with optimized builds with GCC 10.1.0 | David Robillard | 1 | -1/+1 | |