| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | If open(O_CREAT) is used then a file mode must be given | Martin Ridgers | 2022-02-21 | 1 | -2/+2 |
| | | |||||
| * | Explicitly set access permissions so we're not affected by process' umask | Martin Ridgers | 2022-02-21 | 1 | -2/+7 |
| | | |||||
| * | Marked a few file descriptors to be closed on execute (POSIX) | Martin Ridgers | 2022-02-21 | 1 | -2/+2 |
| | | |||||
| * | Converted use of _format UDL to fmt::format | Martin Ridgers | 2022-01-10 | 1 | -5/+3 |
| | | |||||
| * | Enabled POSIX-compatible implementations on Mac | Martin Ridgers | 2022-01-07 | 1 | -6/+2 |
| | | |||||
| * | Missing include | Martin Ridgers | 2022-01-07 | 1 | -0/+1 |
| | | |||||
| * | Merged main. | Per Larsson | 2021-12-14 | 1 | -0/+86 |
| |\ | |||||
| | * | Do not block when trying to lock a lock file (POSIX) | Martin Ridgers | 2021-12-02 | 1 | -1/+1 |
| | | | |||||
| | * | Remove a LockFile's lock on destruction | Martin Ridgers | 2021-12-02 | 1 | -0/+6 |
| | | | |||||
| | * | Alphebetical include order | Martin Ridgers | 2021-10-28 | 1 | -1/+1 |
| | | | |||||
| | * | LockFile implementation for Linux | Martin Ridgers | 2021-10-28 | 1 | -0/+22 |
| | | | |||||
| | * | Merged main | Martin Ridgers | 2021-10-28 | 1 | -0/+48 |
| | |\ | |/ |/| | |||||
| | * | open() flags were incorrect and it would not create new files | Martin Ridgers | 2021-10-25 | 1 | -1/+1 |
| | | | |||||
| | * | Merged main | Martin Ridgers | 2021-10-15 | 1 | -1/+1 |
| | |\ | |||||
| | * | | Implemented basicfile.cpp for POSIX platforms | Martin Ridgers | 2021-10-14 | 1 | -0/+54 |
| | | | | |||||
| | * | | Moved zencore/windows.h include from basicfile.h to basicfile.cpp | Martin Ridgers | 2021-10-13 | 1 | -0/+4 |
| | | | | |||||
| * | | | Lockfile implementation (#24) | Stefan Boberg | 2021-10-27 | 1 | -0/+48 |
| | |/ |/| | | | | | | | Implemented lockfile synchronization To be used instead of or in conjunction with existing events to coordinate launching and discovery of server instances | ||||
| * | | clang-format | Stefan Boberg | 2021-10-15 | 1 | -1/+1 |
| |/ | |||||
| * | basicfile: Added Write member functions accepting MemoryView for convenience | Stefan Boberg | 2021-10-08 | 1 | -0/+12 |
| | | |||||
| * | Various BasicFile improvements | Stefan Boberg | 2021-09-26 | 1 | -22/+88 |
| | | | | | | | | * BasicFile::Open clears error_code on entry, and exits early on failure to avoid initialization of m_FileHandle * Made BasicFile::Read handle large reads * Made BasicFile::Write handle large writes * Added BasicFile::WriteAll which may be optimized in the future to handle what is essentially a file copy more efficiently | ||||
| * | Added TemporaryFile implementation, provides a simple abstraction around ↵ | Stefan Boberg | 2021-09-25 | 1 | -1/+83 |
| | | | | | temporary files | ||||
| * | It's not possible to compile out tests | Stefan Boberg | 2021-09-20 | 1 | -1/+5 |
| | | | | | Tests are now compiled in if `ZEN_WITH_TESTS=1`, and compiled out if not. Compiling tests out reduces the footprint of the resulting executables quite significantly. | ||||
| * | Implemented BasicFile::StreamByteRange | Stefan Boberg | 2021-09-19 | 1 | -2/+8 |
| | | |||||
| * | Added BasicFile::StreamFile helper function to support reading large files ↵ | Stefan Boberg | 2021-09-19 | 1 | -0/+23 |
| | | | | | in a chunked fashion (will be using memory-mapped strategy in the future where it makes sense) | ||||
| * | Changed BasicFile implementation | Stefan Boberg | 2021-09-19 | 1 | -17/+73 |
| | | | | | | | * No longer uses ATL on Windows (we just use raw Win32 API) * Added non-throwing Open() implementation * Added beginnings of a test suite, for verifying cross-platform implementation | ||||
| * | Implemented support for dropping z$ buckets while online | Stefan Boberg | 2021-08-17 | 1 | -0/+6 |
| | | |||||
| * | clang-format | Stefan Boberg | 2021-05-22 | 1 | -1/+3 |
| | | |||||
| * | Fixed up error reporting in BasicFile, now uses ThrowSystemException() to ↵ | Stefan Boberg | 2021-05-21 | 1 | -6/+5 |
| | | | | | correctly report the HRESULT error code which would previously always be zero | ||||
| * | Renamed CasBlobFile -> BasicFile | Stefan Boberg | 2021-05-21 | 1 | -6/+6 |
| | | |||||
| * | Moved CasBlobFile into basicfile.h | Stefan Boberg | 2021-05-21 | 1 | -0/+85 |