aboutsummaryrefslogtreecommitdiff
path: root/zencore/filesystem.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Simple FileSystemTraversal test caseMartin Ridgers2021-09-161-0/+23
| |
* | ToUtf8() for non-wchar_t platformsMartin Ridgers2021-09-161-0/+4
| |
* | Implemented FileSysTraversal for Linux using open/read/closedir()Martin Ridgers2021-09-161-0/+47
| |
* | Missing include for getpid()Martin Ridgers2021-09-161-0/+1
| |
* | POSIX implementation of ReadFile()Martin Ridgers2021-09-161-3/+20
| |
* | POSIX implementation of WriteFile()Martin Ridgers2021-09-161-1/+30
| |
* | Stubbed out seldom-used *File() functions with a ZEN_ERROR() for LinuxMartin Ridgers2021-09-161-0/+19
| |
* | Non-Windows implementation of Clean/DeleteDirectory() using std::fsMartin Ridgers2021-09-161-0/+22
| |
* | The wchar_t variants of directory functions are now only enabled on WindowsMartin Ridgers2021-09-161-6/+10
| |
* | Fixed up platform-specific includesMartin Ridgers2021-09-161-5/+9
| |
* | Merge from mainMartin Ridgers2021-09-161-0/+2
|\|
| * Unused variable warning fixStefan Boberg2021-09-151-0/+2
| |
* | Added a simple filesystem test caseMartin Ridgers2021-09-161-0/+42
| |
* | Implemented GetRunningExecutablePath() for LinuxMartin Ridgers2021-09-161-0/+13
| |
* | Implemented PathFromHandle() for LinuxMartin Ridgers2021-09-161-0/+13
|/
* Changed logging implementationStefan Boberg2021-09-151-2/+2
| | | | | | * 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
* Fixed a number of unreferenced variable warningsStefan Boberg2021-09-091-2/+0
|
* Format fix.Per Larsson2021-08-311-2/+1
|
* Added WriteFile() overload which accepts a single IoBufferStefan Boberg2021-08-281-4/+18
|
* Added support for defining test/non-test server environmentsStefan Boberg2021-08-061-1/+1
|
* Added GetRunningExecutablePath()Stefan Boberg2021-08-061-0/+9
|
* Fixed FileSystemTraversal::TraverseFileSystem error reporting issueStefan Boberg2021-06-181-1/+4
|
* Cleaned up exception handlingStefan Boberg2021-05-211-3/+3
| | | | We now use std::system_error where possible to report Win32 system errors. We still have WindowsException for general HRESULT based errors but we should phase it out where possible
* Added PathFromHandle helper functionStefan Boberg2021-05-111-0/+18
| | | | Primarily to be used to add context to error messages in places where we only have a handle available
* Adding zenservice codeStefan Boberg2021-05-111-0/+592