Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-12-11 | Fix potential null dereferences | David Robillard | 2 | -2/+4 | |
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 | 2 | -3/+3 | |
2024-12-11 | Add ZixDirEntryVisitFunc | David Robillard | 2 | -10/+6 | |
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 | 2 | -21/+75 | |
2024-12-11 | Support building for Windows with or without UNICODE | David Robillard | 4 | -41/+267 | |
2024-12-11 | Add option to build for older Windows versions | David Robillard | 3 | -22/+81 | |
Adds configuration checks for Windows API functions, and a win_ver configuration option to change the targeted API version. | |||||
2024-12-11 | Clean up platform C flags | David Robillard | 1 | -1/+0 | |
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 | 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-11-24 | Clean up includes | David Robillard | 2 | -3/+3 | |
2024-11-24 | Add zix_expand_environment_strings() | David Robillard | 2 | -0/+156 | |
2024-11-23 | Use angle brackets for library includes | David Robillard | 23 | -46/+58 | |
2024-11-15 | Update clang-format configuration | David Robillard | 7 | -44/+22 | |
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 | 1 | -0/+1 | |
2024-07-15 | Add missing pure function attributes | David Robillard | 1 | -0/+2 | |
2024-06-26 | Add zix_string_view_equals() | David Robillard | 1 | -1/+20 | |
2024-06-23 | Fix build on POSIX systems without PATH_MAX defined | David Robillard | 1 | -3/+5 | |
2024-06-22 | Avoid cppcheck warning about self-assignment | David Robillard | 1 | -4/+5 | |
2024-06-22 | Remove redundant conditionals | David Robillard | 2 | -4/+5 | |
2024-06-22 | Add missing const qualifier | David Robillard | 1 | -1/+1 | |
2024-06-04 | Add missing include | David Robillard | 1 | -0/+1 | |
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 | |