Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
9 days | Consistently organize data structure documentation | David Robillard | 5 | -11/+32 | |
9 days | Add missing declarations for temporary documentation files | David Robillard | 1 | -0/+3 | |
9 days | Fix dictionary order | David Robillard | 1 | -1/+1 | |
9 days | Fix word size calculation in BTree implementation | David Robillard | 1 | -4/+5 | |
9 days | Add missing const qualifiers | David Robillard | 1 | -3/+3 | |
9 days | Reduce empty BTree memory requirements | David Robillard | 3 | -23/+47 | |
Avoid over-allocating the ZixBTree structure, and only allocate a root node when elements are inserted. The over-allocation was to make all allocations use pages (towards disk-backed storage), but since this isn't actually supported at the moment it was just a waste of memory. | |||||
9 days | Fix potential memory leak on failed allocation in POSIX environment | David Robillard | 2 | -0/+4 | |
Adds a test for a new potentially failing allocation added in 8348512a60399d172fc83cd7bdf121d4c0b1015e "Use getenv() instead of environ to avoid issues on FreeBSD", and fixes the memory leak it exposes. Avoiding this temporary allocation (which is only for adding null termination) is the main reason getenv() was initially avoided. | |||||
9 days | Fix typo in comment | David Robillard | 1 | -1/+1 | |
9 days | Add .git-blame-ignore-revs file | David Robillard | 1 | -0/+5 | |
2025-03-02 | Make meson lint option non-yielding | David Robillard | 1 | -1/+1 | |
This allows linting to be disabled in a parent project by passing "lint=false" to dependency() as a default option. | |||||
2025-02-26 | Disable meson implicit include directories anti-feature | David Robillard | 4 | -1/+9 | |
2025-02-12 | Fix spelling | David Robillard | 4 | -4/+4 | |
2025-02-10 | Use getenv() instead of environ to avoid issues on FreeBSD | David Robillard | 4 | -33/+38 | |
2025-02-10 | Fully parenthesize expressions | David Robillard | 2 | -2/+2 | |
2025-02-10 | Remove unnecessary include | David Robillard | 1 | -1/+2 | |
2025-01-20 | Suppress new clang-tidy warnings | David Robillard | 1 | -1/+6 | |
2025-01-19 | Clean up gitignore file | David Robillard | 1 | -7/+8 | |
Strengthen patterns to match only relative to this directory where possible (with a leading slash), and move those that match in any child to a separate block. | |||||
2025-01-18 | Zix 0.6.2v0.6.2 | David Robillard | 2 | -4/+4 | |
2025-01-18 | Update sphinxygen wrap | David Robillard | 4 | -7/+13 | |
2025-01-18 | Zix 0.6.0v0.6.0 | David Robillard | 3 | -6/+6 | |
2025-01-18 | Update copyright year and remove symbolic link | David Robillard | 3 | -3/+15 | |
Outright duplication isn't great, but there doesn't seem to be any way around to use links here and have every tool and/or site correctly understand the license for the project as a whole. It's boilerplate anyway. | |||||
2025-01-15 | Update sphinxygen wrap | David Robillard | 1 | -5/+5 | |
2025-01-10 | Use cppcheck working directory | David Robillard | 2 | -38/+43 | |
This allows for better analysis, and adds a cache to improve checking times, especially on repeated runs. | |||||
2024-12-20 | Update README | David Robillard | 1 | -3/+7 | |
2024-12-11 | Add assertion to ensure integer overflow is avoided | David Robillard | 1 | -0/+1 | |
2024-12-11 | Remove unnecessary null checks in test | David Robillard | 1 | -2/+5 | |
2024-12-11 | Avoid _get_osfhandle with clang on Windows | David Robillard | 1 | -0/+12 | |
This function crashes when called in a clang build, I'm not sure why. File locking in general isn't a realiable enough facility, and this API weirdly uses FILE* unlike anything else, adding it was probably a mistake. | |||||
2024-12-11 | Fix clang and clang-tidy warnings on Windows | David Robillard | 7 | -14/+17 | |
2024-12-11 | Remove old tree_debug.h header | David Robillard | 2 | -167/+6 | |
2024-12-11 | Fix potential null dereferences | David Robillard | 2 | -2/+4 | |
2024-12-11 | Consistently use malloc attribute for string-returning functions | David Robillard | 2 | -5/+5 | |
These function return newly allocated strings, which can't contain pointers to any other object, so the GCC "malloc" attribute applies. | |||||
2024-12-11 | Fix memory leak | David Robillard | 1 | -5/+4 | |
Also removes the last MAX_PATH buffer limit. | |||||
2024-12-11 | Handle emscripten and MinGW stubs the same way | David Robillard | 3 | -3/+8 | |
2024-12-11 | Add ZixDirEntryVisitFunc | David Robillard | 3 | -15/+20 | |
Although this type is only used once in the API, define it to avoid the complicated syntax of inline function pointer parameters, which confuses both people and clang-format. | |||||
2024-12-11 | Support building for UWP | David Robillard | 6 | -25/+94 | |
2024-12-11 | Support building for Windows with or without UNICODE | David Robillard | 8 | -43/+284 | |
2024-12-11 | Add option to build for older Windows versions | David Robillard | 7 | -36/+129 | |
Adds configuration checks for Windows API functions, and a win_ver configuration option to change the targeted API version. | |||||
2024-12-11 | Fix meson file formatting | David Robillard | 3 | -17/+20 | |
As dictated by muon. | |||||
2024-12-11 | Clean up platform C flags | David Robillard | 3 | -3/+6 | |
Remove platform flags from executable (test program) builds, since they shouldn't be needed there (that being the whole point of a portability library), and replace POSIX flags in WIndows with WIN32_LEAN_AND_MEAN. | |||||
2024-12-11 | Keep test paths within created temporary directory | David Robillard | 1 | -3/+9 | |
Creates a subdirectory for testing ".." to stay within the created test directory for compatibility with sandboxing. | |||||
2024-12-11 | Use DeleteFile() instead of remove() | David Robillard | 1 | -4/+3 | |
2024-12-11 | Use CreateDirectory() instead of _mkdir() | David Robillard | 1 | -4/+3 | |
2024-12-11 | Fix widening conversions after arithmetic | David Robillard | 4 | -11/+11 | |
2024-12-02 | Fix benchmark script | David Robillard | 1 | -3/+3 | |
2024-12-02 | Fix benchmark build on Windows | David Robillard | 1 | -10/+6 | |
Since these benchmarks depend on glib anyway (for comparison), portability hassles can be avoided here by just using glib for timing as well. | |||||
2024-12-02 | Use BenchmarkTime typedef everywhere | David Robillard | 2 | -17/+15 | |
This isolates the implementation details of benchmark time stamps from benchmark code. | |||||
2024-11-24 | Clean up and strengthen warning flags | David Robillard | 3 | -25/+25 | |
Some previously global suppressions were only actually needed in benchmarks or tests, so move them there to keep the main set as small as possible. | |||||
2024-11-24 | Clean up includes | David Robillard | 7 | -9/+9 | |
2024-11-24 | Add zix_expand_environment_strings() | David Robillard | 11 | -5/+356 | |
2024-11-24 | Improve test coverage | David Robillard | 1 | -7/+6 | |