Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-06-28 | Move zix_strerror to library | David Robillard | 3 | -23/+35 | |
2022-06-28 | Use uppercase integer literal suffixes | David Robillard | 21 | -208/+201 | |
I give in. | |||||
2022-06-28 | Fix whitespace | David Robillard | 4 | -11/+11 | |
2022-06-28 | Simplify dep5 file by adding license headers where possible | David Robillard | 9 | -5/+25 | |
2022-06-28 | Update README | David Robillard | 2 | -20/+118 | |
2022-06-28 | Fix build as C with MSVC | David Robillard | 4 | -6/+4 | |
2022-06-28 | Clean up build configuration | David Robillard | 12 | -44/+94 | |
2022-06-28 | Add support for building Wasm with emscripten | David Robillard | 3 | -4/+56 | |
2022-06-28 | Fix incorrect function attributes | David Robillard | 2 | -4/+4 | |
The ring accessors are pure, not const, because they read pointed-to data (the ring) that may change between invocations. The BTree iter comparison is const because it only compares the values passed as parameters (although they contain pointers, they aren't dereferenced). | |||||
2022-06-28 | Clean up meson configuration | David Robillard | 5 | -234/+384 | |
2022-06-28 | Remove redundant includes | David Robillard | 2 | -2/+0 | |
This is implicitly included by <inttypes.h>. | |||||
2022-03-14 | Reduce default BTree test time | David Robillard | 1 | -1/+1 | |
2022-03-14 | Fix MinGW build | David Robillard | 1 | -0/+2 | |
2022-02-02 | Avoid fallthrough annotation on older GCC versions | David Robillard | 1 | -1/+1 | |
2022-02-01 | Fix static build on Windows | David Robillard | 1 | -2/+4 | |
2022-01-14 | Fix hash insertion tombstone replacement case | David Robillard | 1 | -0/+1 | |
2021-12-17 | Suppress warning in glib headers | David Robillard | 1 | -1/+2 | |
This should really be done more precisely, but I can't be bothered. | |||||
2021-12-17 | Reduce benchmark code complexity | David Robillard | 1 | -38/+50 | |
2021-12-17 | Suppress new warnings in clang-tidy 13 | David Robillard | 6 | -7/+10 | |
2021-12-17 | Suppress new warnings in clang 13 | David Robillard | 1 | -0/+10 | |
2021-12-17 | Fix memory leaks in dictionary benchmark | David Robillard | 1 | -0/+9 | |
2021-11-02 | Avoid printing configuration summary as a subproject | David Robillard | 1 | -1/+1 | |
2021-10-27 | Gracefully handle realloc failure in benchmark | David Robillard | 1 | -2/+16 | |
Not really a relevant case here, but it resolves issues found by cppcheck. | |||||
2021-10-27 | Be explicit about operator precedence | David Robillard | 1 | -1/+1 | |
2021-10-27 | Fix whitespace | David Robillard | 1 | -1/+1 | |
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-10-25 | Fix incomplete header installation | David Robillard | 1 | -0/+3 | |
2021-09-18 | Fix warnings in release builds on MacOS | David Robillard | 1 | -2/+7 | |
Why only MacOS? Good question! | |||||
2021-09-18 | Update README | David Robillard | 1 | -3/+33 | |
2021-09-18 | Use assertions in Bitset test | David Robillard | 1 | -52/+14 | |
2021-09-18 | Simplify benchmark error handling by using assertions | David Robillard | 1 | -31/+11 | |
These are things that should really never happen, especially if the tests pass. | |||||
2021-09-18 | Simplify benchmark main function | David Robillard | 1 | -12/+17 | |
2021-09-18 | Fix minor quality issues in plot.py | David Robillard | 1 | -4/+4 | |
2021-09-18 | Remove old documentation | David Robillard | 2 | -2854/+0 | |
2021-09-18 | Fix whitespace | David Robillard | 1 | -7/+5 | |
2021-09-18 | Simplify CI configuration | David Robillard | 1 | -28/+1 | |
2021-09-16 | Fix test coverage uploading on CI | David Robillard | 1 | -1/+1 | |
2021-09-16 | Add FreeBSD row to CI | David Robillard | 1 | -0/+15 | |
2021-09-16 | Suppress warnings on FreeBSD | David Robillard | 1 | -0/+1 | |
Unfortunately clang proper supports this in earlier versions, but Apple's fork doesn't until the version that reports itself as clang 12. Since this is caught by the GCC builds anyway, just suppress them for clang unconditionally. | |||||
2021-09-16 | Suppress warnings in non-strict builds | David Robillard | 1 | -2/+6 | |
2021-09-16 | Add a simple bump pointer allocator | David Robillard | 5 | -3/+276 | |
2021-09-15 | Add redundant forward declaration to appease clang-tidy | David Robillard | 1 | -0/+2 | |
2021-09-14 | Replace shared library malloc shim with explicit allocation testing | David Robillard | 7 | -188/+127 | |
The old approach was generally annoying to deal with sometimes, and not particularly portable. This replaces it by using the new custom allocator interface with unit tests that specifically check that failed allocation is handled properly. | |||||
2021-09-14 | Add aligned allocation interface and use it in ZixBTree | David Robillard | 7 | -17/+219 | |
2021-09-14 | Fix whitespace in allocator function type definitions | David Robillard | 1 | -12/+14 | |
2021-09-14 | Make ZixAllocator a single flat struct | David Robillard | 14 | -162/+162 | |
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 | |