Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-11-17 | Avoid fdatasync() on Darwin | David Robillard | 1 | -1/+7 | |
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-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 | Remove unnecessary includes and forward declarations | David Robillard | 2 | -3/+0 | |
According to include-what-you-use 0.20 (7301b1f) based on clang 16.0.6. | |||||
2023-08-23 | Improve test coverage | David Robillard | 3 | -29/+32 | |
2023-05-10 | Add ZIX_STATIC_STRING() | David Robillard | 1 | -2/+4 | |
2023-02-13 | Improve system feature detection | David Robillard | 2 | -75/+65 | |
2023-02-06 | Simplify string view interface | David Robillard | 1 | -11/+7 | |
2023-02-05 | Fix MinGW build | David Robillard | 1 | -2/+2 | |
2023-02-04 | Fix inconsistent parameter names | David Robillard | 1 | -10/+10 | |
2023-02-04 | Fix inconsistent define | David Robillard | 1 | -1/+1 | |
2023-02-04 | Suppress/fix clang-tidy warnings on Windows | David Robillard | 3 | -2/+14 | |
2023-02-04 | Avoid use of rand() | David Robillard | 1 | -1/+13 | |
2023-02-04 | Fix clang build on Windows | David Robillard | 1 | -2/+0 | |
2022-12-18 | Fix warnings on Windows without CreateSymbolicLink | David Robillard | 1 | -0/+4 | |
2022-11-25 | Explicitly ignore posix_fadvise() return value | David Robillard | 1 | -2/+2 | |
If some error happened here, there's nothing we can do but proceed and try to copy anyway. | |||||
2022-11-25 | Consistently pass stat structs by pointer | David Robillard | 1 | -8/+10 | |
These are usually quite large, over 128 bytes. | |||||
2022-11-25 | Fix potential out of bounds read | David Robillard | 1 | -1/+1 | |
2022-11-17 | Remove ZixBitset | David Robillard | 1 | -107/+0 | |
2022-11-15 | Fix unused return value warning | David Robillard | 1 | -2/+3 | |
2022-11-13 | Trim special parsing prefixes from canonical Windows paths | David Robillard | 1 | -0/+5 | |
There doesn't seem to be any way to cleanly avoid getting these from GetFinalPathNameByHandle, but I don't think portable code would ever want them introduced. | |||||
2022-11-12 | Fix zix_current_path() on systems with a static PATH_MAX | David Robillard | 1 | -1/+2 | |
2022-11-02 | Remove function_types.h | David Robillard | 2 | -46/+45 | |
2022-11-02 | Add missing include | David Robillard | 1 | -0/+1 | |
2022-11-01 | Add missing pure and const function attributes | David Robillard | 2 | -0/+7 | |
It seems that certain versions and/or configurations of gcc warn about these for static functions, which is annoying, but whatever. | |||||
2022-10-23 | Add filesystem API | David Robillard | 10 | -1/+1155 | |
2022-10-23 | Add path API | David Robillard | 3 | -0/+771 | |
2022-10-23 | Add string view API | David Robillard | 1 | -0/+18 | |
2022-10-23 | Split up platform sources | David Robillard | 6 | -242/+250 | |
This puts more onus on the build system to do things properly, but it's still easy enough to build, even manually: all the files in the appropriate system subdirectory just need to be included in the build. Otherwise, the several nested levels of preprocessor conditionals get confusing, and clang-format doesn't format code properly. | |||||
2022-10-21 | Split up common header | David Robillard | 8 | -35/+36 | |
2022-10-21 | Hide errno utility functions | David Robillard | 7 | -43/+80 | |
2022-10-20 | Hide thread implementation | David Robillard | 1 | -0/+59 | |
2022-10-18 | Add missing pure function attribute | David Robillard | 1 | -0/+1 | |
2022-10-18 | Fix unused return value warning | David Robillard | 1 | -3/+1 | |
Kind of annoying since this adds an untested branch, but oh well. | |||||
2022-10-18 | Use 0BSD for trivial "public domain intent" things | David Robillard | 1 | -1/+1 | |
2022-10-14 | Simplify clang-tidy configuration | David Robillard | 1 | -8/+1 | |
2022-10-14 | Fix fallback configuration on older MacOS versions | David Robillard | 1 | -1/+1 | |
2022-10-14 | Fix zix_sem_timed_wait() interval calculation | David Robillard | 1 | -0/+9 | |
2022-10-09 | Fix off-by-one error in assertion | David Robillard | 1 | -1/+1 | |
2022-09-02 | Improve test coverage | David Robillard | 2 | -5/+6 | |
2022-09-02 | Improve zix_ring_mlock() return status | David Robillard | 1 | -11/+16 | |
2022-09-02 | Factor out POSIX-style return pattern | David Robillard | 2 | -7/+12 | |
2022-09-01 | Simplify thread and semaphore status codes | David Robillard | 2 | -4/+9 | |
2022-08-19 | Avoid mixing signed and unsigned integers | David Robillard | 6 | -9/+9 | |
2022-08-19 | Simplify errno handling | David Robillard | 2 | -15/+12 | |
2022-08-19 | Move sem implementation out of header | David Robillard | 3 | -0/+238 | |
This avoids having platform conditionals in public headers, which causes build problems for dependants. | |||||
2022-08-18 | Add return status to zix_ring_mlock() | David Robillard | 1 | -4/+5 | |
2022-08-18 | Fix semaphore error handling | David Robillard | 1 | -0/+4 | |
Note that existing code which uses zix_sem_try_wait() may still compile against this change, but be incorrect! | |||||
2022-08-18 | Factor out converting errno codes to ZixStatus | David Robillard | 1 | -0/+31 | |
2022-08-18 | Reduce zix_tree_insert() complexity | David Robillard | 1 | -12/+6 | |
2022-08-18 | Reduce variable scope and mutability | David Robillard | 1 | -7/+6 | |