aboutsummaryrefslogtreecommitdiff
path: root/zen/internalfile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* If open(O_CREAT) is used then a file mode must be givenMartin Ridgers2022-02-211-1/+1
|
* Explicitly set access permissions so we're not affected by process' umaskMartin Ridgers2022-02-211-1/+5
|
* Marked a few file descriptors to be closed on execute (POSIX)Martin Ridgers2022-02-211-1/+1
|
* clang-formatStefan Boberg2022-02-021-3/+3
|
* Format fix.Per Larsson2022-01-221-1/+1
|
* Converted use of _format UDL to fmt::formatMartin Ridgers2022-01-101-8/+4
|
* Merged main.Per Larsson2021-12-141-28/+98
|\
| * Implement zen/internalfile for POSIX platformsMartin Ridgers2021-12-021-13/+86
| |
| * For portability's sake, removed two unused InternalFile methodsMartin Ridgers2021-12-021-6/+0
| |
| * Use zen::ThrowLastError() in place of throwing system_error directlyMartin Ridgers2021-12-021-6/+5
| |
| * Use zen::Memory::Alloc/Free instead of unportable _aligned_*Martin Ridgers2021-12-021-2/+3
| |
| * Moved "using namespace fmt::literals" out of file level scopeMartin Ridgers2021-12-021-2/+4
| |
| * Wrapped Windows-specific include in if-def preprocessor blocksMartin Ridgers2021-11-021-1/+0
|/
* Changed logging implementationStefan Boberg2021-09-151-1/+1
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-151-2/+1
| | | | easier to tweak implementation
* Added paths as context to I/O error exception messagesStefan Boberg2021-05-111-22/+30
|
* Adding zenservice codeStefan Boberg2021-05-111-0/+222