Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-09-10 | Add nullability annotations | David Robillard | 1 | -0/+3 | |
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 | 6 | -3/+6 | |
2021-09-10 | Rewrite ZixHash as a flat table with open addressing | David Robillard | 2 | -80/+235 | |
2021-09-10 | Replace CRC32 digest with more modern and appropriate algorithms | David Robillard | 2 | -41/+92 | |
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 | Add a user handle to destroy callback | David Robillard | 2 | -12/+14 | |
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 | 1 | -3/+3 | |
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 | 1 | -49/+8 | |
2021-09-10 | Remove destroy field of BTree and add zix_btree_clear() | David Robillard | 1 | -10/+53 | |
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 | Suppress new warnings in clang-tidy 12 | David Robillard | 1 | -0/+3 | |
2021-09-10 | Be explicit about the sign of defined integer constants | David Robillard | 2 | -6/+6 | |
2021-09-10 | Fix conversion warnings | David Robillard | 3 | -25/+40 | |
2021-09-10 | Remove ZixStrindex | David Robillard | 1 | -66/+0 | |
2021-07-17 | Remove ZixSortedArray | David Robillard | 1 | -213/+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 | 2 | -2/+1 | |
I guess these are suspicious if you've never seen C before? | |||||
2021-07-17 | Avoid use of rand() | David Robillard | 5 | -45/+69 | |
2021-07-17 | Avoid use of atoi() and atol() | David Robillard | 6 | -11/+10 | |
2021-07-17 | Use line comments where appropriate | David Robillard | 1 | -1/+1 | |
2021-06-30 | Fix hash size after removing elements | David Robillard | 1 | -0/+7 | |
2021-04-14 | Fix VS2019 warnings | David Robillard | 1 | -1/+1 | |
2021-01-16 | Allow all free functions to be called on null | David Robillard | 2 | -0/+4 | |
2020-12-31 | Improve Bitset test coverage | David Robillard | 1 | -0/+22 | |
2020-12-31 | Improve SortedArray test coverage | David Robillard | 1 | -2/+30 | |
2020-12-31 | Fix zix_sorted_array_iter_is_end() | David Robillard | 1 | -0/+8 | |
2020-12-31 | Fix MinGW build | David Robillard | 5 | -24/+65 | |
2020-12-31 | Update copyright headers | David Robillard | 11 | -11/+11 | |
2020-12-31 | Force enable assertions in BTree test | David Robillard | 1 | -0/+2 | |
2020-12-31 | Initialize all variables | David Robillard | 6 | -21/+23 | |
2020-12-31 | Separate source from headers | David Robillard | 1 | -31/+0 | |
2020-12-31 | Format all code with clang-format | David Robillard | 12 | -1254/+1294 | |
2020-12-31 | Avoid "else" after "return" | David Robillard | 5 | -26/+67 | |
2020-12-31 | Add separate clang-tidy configuration for tests | David Robillard | 1 | -0/+25 | |
2020-12-31 | Remove unused esoteric data structures | David Robillard | 3 | -351/+0 | |
2020-11-11 | Add configure option to disable test malloc implementation | David Robillard | 2 | -2/+2 | |
2020-11-11 | Add const, pure, and malloc function attributes | David Robillard | 3 | -5/+8 | |
2020-08-14 | Fix potential division by zero | David Robillard | 1 | -1/+3 | |
2020-08-14 | Remove workarounds for ancient versions of MSVC | David Robillard | 2 | -12/+2 | |
2020-08-13 | Improve digest | David Robillard | 1 | -0/+91 | |
2020-08-13 | Shrink some code | David Robillard | 1 | -11/+5 | |
2020-08-13 | Fix narrowing conversions | David Robillard | 2 | -4/+4 | |
2020-08-13 | Fix signed operands of bitwise operators | David Robillard | 1 | -1/+1 | |
2020-08-13 | Make zix_hash_free() tolerate NULL | David Robillard | 1 | -0/+2 | |
2020-08-13 | Move benchmarks to a separate directory | David Robillard | 3 | -713/+0 | |
2020-08-13 | Clean up includes and forward declarations | David Robillard | 5 | -5/+12 | |
2020-08-13 | Fix Wno-implicit-int-conversion warnings | David Robillard | 1 | -2/+2 | |
2020-08-13 | Fix Wno-shorten-64-to-32 warnings | David Robillard | 4 | -14/+16 | |