summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
46 hoursUpdate clang-format configurationDavid Robillard29-372/+183
2024-10-06Clean up test definitionsDavid Robillard1-45/+36
2024-10-06Remove redundant default value for meson optionsDavid Robillard1-8/+8
2024-09-28Improve test allocator APIDavid Robillard8-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-28Fix cppcheck test on older systemsDavid Robillard1-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-18Simplify logging code in tree benchmarkDavid Robillard1-19/+14
2024-07-18Add missing includeDavid Robillard1-0/+1
2024-07-18Suppress new warnings in clang and clang-tidy 18David Robillard4-4/+8
2024-07-15Add missing pure function attributesDavid Robillard1-0/+2
2024-07-15Add missing includeDavid Robillard1-0/+1
2024-06-26Improve test coverageDavid Robillard1-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-26Add zix_string_view_equals()David Robillard5-4/+155
2024-06-23Skip socket file type test with absurdly long TMPDIRDavid Robillard1-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-23Update tested platform versions in READMEDavid Robillard1-3/+3
2024-06-23Fix build on POSIX systems without PATH_MAX definedDavid Robillard2-4/+7
2024-06-22Add ZIX_NODISCARD attribute to allocating, accessor, and pure APIDavid Robillard8-3/+19
2024-06-22Add ZIX_NODISCARD attributeDavid Robillard5-4/+9
2024-06-22Consistently use ZIX_MALLOC_API and ZIX_MALLOC_FUNCDavid Robillard5-7/+10
2024-06-22Clean up whitespace and clang-format configurationDavid Robillard4-14/+27
2024-06-22Avoid cppcheck warning about self-assignmentDavid Robillard2-5/+5
2024-06-22Remove redundant conditionalsDavid Robillard3-5/+5
2024-06-22Add missing const qualifierDavid Robillard2-2/+1
2024-06-22Avoid cppcheck warning for assertions with side-effects in testsDavid Robillard2-3/+7
2024-06-22Fix mismatched printf argument typeDavid Robillard2-3/+2
2024-06-22Add cppcheck testDavid Robillard2-0/+29
2024-06-22Fix whitespace and add code formatting testDavid Robillard3-5/+16
2024-06-04Fix calloc() argument orderDavid Robillard1-1/+1
2024-06-04Suppress new warnings in clang-tidy 17David Robillard1-0/+2
2024-06-04Add missing includeDavid Robillard1-0/+1
2024-03-14Fix ring unit test when mlock() is unavailableDavid Robillard2-2/+3
2024-03-14Update NEWSDavid Robillard1-1/+2
2024-03-14Fix library current_version on MacOSDavid Robillard1-0/+1
2023-12-15Fix nullability annotations for zix_canonical_path() and friendsDavid Robillard2-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-02Fix warnings in strict MinGW buildDavid Robillard1-2/+4
2023-11-30Fix strict build with C11David Robillard2-1/+7
2023-11-17Test zix_copy_file() in WasmDavid Robillard1-9/+10
2023-11-17Avoid fdatasync() on DarwinDavid Robillard3-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-22Zix 0.4.2v0.4.2David Robillard2-3/+5
2023-10-22Remove unnecessary forward declarationDavid Robillard1-2/+0
Looks like include-what-you-use has gotten smarter.
2023-09-23Fix meson.build formatting againDavid Robillard2-2/+2
I'll get used to this any day now.
2023-09-23Clean up sphinx build commandsDavid Robillard3-14/+14
2023-09-23Fix meson.build formattingDavid Robillard1-1/+1
2023-09-23Explicitly specify all documentation dependenciesDavid Robillard5-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-23Format meson.build files with muonDavid Robillard4-44/+70
The less time wasted with manual code formatting, the better.
2023-09-22Improve test suite code coverageDavid Robillard10-524/+460
2023-09-21Avoid type conversionsDavid Robillard1-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-21Use anonymous namespace in C++ testDavid Robillard1-8/+12
2023-09-21Remove unnecessary includes and forward declarationsDavid Robillard3-5/+0
According to include-what-you-use 0.20 (7301b1f) based on clang 16.0.6.
2023-09-21Fix documentation dependenciesDavid Robillard1-1/+1
2023-09-21Suppress or fix warnings in clang 16David Robillard2-8/+12