Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
34 hours | Avoid potential open file leak in test | David Robillard | 1 | -1/+2 | |
34 hours | Assert that allocation and file opening succeeds in tests | David Robillard | 3 | -0/+11 | |
This appeases GCC's static analyzer. | |||||
34 hours | Improve ring documentation | David Robillard | 2 | -10/+61 | |
39 hours | Update clang-format configuration | David Robillard | 29 | -372/+183 | |
2024-10-06 | Clean up test definitions | David Robillard | 1 | -45/+36 | |
2024-10-06 | Remove redundant default value for meson options | David Robillard | 1 | -8/+8 | |
2024-09-28 | Improve test allocator API | David Robillard | 8 | -18/+35 | |
Add a simple API for setting up the failing allocator to avoid manually tinkering with its members. Conveniently, this also avoids confusing cppcheck. | |||||
2024-09-28 | Fix cppcheck test on older systems | David Robillard | 1 | -1/+1 | |
This fixes the test on the lv2plugin/debian-x64 image in particular, which is based on Debian 11 with cppcheck 2.3. | |||||
2024-07-18 | Simplify logging code in tree benchmark | David Robillard | 1 | -19/+14 | |
2024-07-18 | Add missing include | David Robillard | 1 | -0/+1 | |
2024-07-18 | Suppress new warnings in clang and clang-tidy 18 | David Robillard | 4 | -4/+8 | |
2024-07-15 | Add missing pure function attributes | David Robillard | 1 | -0/+2 | |
2024-07-15 | Add missing include | David Robillard | 1 | -0/+1 | |
2024-06-26 | Improve test coverage | David Robillard | 1 | -3/+1 | |
This situation probably should be reported, but 100% line coverage is very convenient since it makes coverage regression more obvious. I don't think a test being skipped on an esoteric system configuration is worth losing that. | |||||
2024-06-26 | Add zix_string_view_equals() | David Robillard | 5 | -4/+155 | |
2024-06-23 | Skip socket file type test with absurdly long TMPDIR | David Robillard | 1 | -8/+12 | |
If TMPDIR is so long that it doesn't fit in the socket address field, then it's impossible to create a socket in the temporary directory. This is a pretty weird situation that would never happen on a normal system, so I think the test can just be skipped without the reduced coverage being a problem. | |||||
2024-06-23 | Update tested platform versions in README | David Robillard | 1 | -3/+3 | |
2024-06-23 | Fix build on POSIX systems without PATH_MAX defined | David Robillard | 2 | -4/+7 | |
2024-06-22 | Add ZIX_NODISCARD attribute to allocating, accessor, and pure API | David Robillard | 8 | -3/+19 | |
2024-06-22 | Add ZIX_NODISCARD attribute | David Robillard | 5 | -4/+9 | |
2024-06-22 | Consistently use ZIX_MALLOC_API and ZIX_MALLOC_FUNC | David Robillard | 5 | -7/+10 | |
2024-06-22 | Clean up whitespace and clang-format configuration | David Robillard | 4 | -14/+27 | |
2024-06-22 | Avoid cppcheck warning about self-assignment | David Robillard | 2 | -5/+5 | |
2024-06-22 | Remove redundant conditionals | David Robillard | 3 | -5/+5 | |
2024-06-22 | Add missing const qualifier | David Robillard | 2 | -2/+1 | |
2024-06-22 | Avoid cppcheck warning for assertions with side-effects in tests | David Robillard | 2 | -3/+7 | |
2024-06-22 | Fix mismatched printf argument type | David Robillard | 2 | -3/+2 | |
2024-06-22 | Add cppcheck test | David Robillard | 2 | -0/+29 | |
2024-06-22 | Fix whitespace and add code formatting test | David Robillard | 3 | -5/+16 | |
2024-06-04 | Fix calloc() argument order | David Robillard | 1 | -1/+1 | |
2024-06-04 | Suppress new warnings in clang-tidy 17 | David Robillard | 1 | -0/+2 | |
2024-06-04 | Add missing include | David Robillard | 1 | -0/+1 | |
2024-03-14 | Fix ring unit test when mlock() is unavailable | David Robillard | 2 | -2/+3 | |
2024-03-14 | Update NEWS | David Robillard | 1 | -1/+2 | |
2024-03-14 | Fix library current_version on MacOS | David Robillard | 1 | -0/+1 | |
2023-12-15 | Fix nullability annotations for zix_canonical_path() and friends | David Robillard | 2 | -3/+4 | |
These functions can (and likely will) fail due to filesystem operations failing, rather than a (rare) failed allocation, so they should be nullable so clang can find potential null dereferences. | |||||
2023-12-02 | Fix warnings in strict MinGW build | David Robillard | 1 | -2/+4 | |
2023-11-30 | Fix strict build with C11 | David Robillard | 2 | -1/+7 | |
2023-11-17 | Test zix_copy_file() in Wasm | David Robillard | 1 | -9/+10 | |
2023-11-17 | Avoid fdatasync() on Darwin | David Robillard | 3 | -2/+14 | |
This isn't present at all on (older?) literal Darwin, and additionally fsync() there doesn't actually flush writes to storage like it does on Linux. So, use F_FULLFSYNC which was invented as an alternative API to do this. | |||||
2023-10-22 | Zix 0.4.2v0.4.2 | David Robillard | 2 | -3/+5 | |
2023-10-22 | Remove unnecessary forward declaration | David Robillard | 1 | -2/+0 | |
Looks like include-what-you-use has gotten smarter. | |||||
2023-09-23 | Fix meson.build formatting again | David Robillard | 2 | -2/+2 | |
I'll get used to this any day now. | |||||
2023-09-23 | Clean up sphinx build commands | David Robillard | 3 | -14/+14 | |
2023-09-23 | Fix meson.build formatting | David Robillard | 1 | -1/+1 | |
2023-09-23 | Explicitly specify all documentation dependencies | David Robillard | 5 | -15/+95 | |
Yet another attempt to sort out flaky documentation builds. This tries to be careful and describe the complete documentation dependency graph to meson explicitly (ignoring tool outputs that aren't used). | |||||
2023-09-23 | Format meson.build files with muon | David Robillard | 4 | -44/+70 | |
The less time wasted with manual code formatting, the better. | |||||
2023-09-22 | Improve test suite code coverage | David Robillard | 10 | -524/+460 | |
2023-09-21 | Avoid type conversions | David Robillard | 1 | -42/+41 | |
Rework arithmetic slightly to avoid some type conversions, and warnings with clang-tidy 16.0.6. Also consistently use explicitly unsigned literals where appropriate to minimize unsigned/signed conversions in general. | |||||
2023-09-21 | Use anonymous namespace in C++ test | David Robillard | 1 | -8/+12 | |