aboutsummaryrefslogtreecommitdiff
path: root/zenstore/caslog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Converted use of _format UDL to fmt::formatMartin Ridgers2022-01-101-5/+3
|
* Merged main.Per Larsson2021-12-141-3/+3
|\
| * CAS.cpp/h -> cas.cpp/h to keep Zen's file casing consistentMartin Ridgers2021-10-291-1/+1
| |
| * Signed/unsigned comparison mismatchMartin Ridgers2021-10-131-1/+1
| |
| * Replaced use of DWORD with uint32_tMartin Ridgers2021-10-131-1/+1
| |
| * Corrected incorrect casing of include statementsMartin Ridgers2021-10-121-2/+2
| |
* | caslog: Added GetLogSize, fixed issue with append offset computationStefan Boberg2021-11-011-1/+7
| |
* | cas: minor improvement to CasLogFile::Open error handlingStefan Boberg2021-10-251-1/+1
| |
* | clang-formatStefan Boberg2021-10-231-1/+1
| |
* | filecas: Added commit log, chunk gcStefan Boberg2021-10-211-3/+11
|/
* Reimplemented CasLogFile in terms of BasicFileStefan Boberg2021-09-261-28/+23
| | | | This removes another ATL dependency in favour of something more platform independent
* Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-3/+3
| | | | Also removed snapshot_manifest (remnants of vfs prototype)
* Changed `std::exception` into `std::runtime_error` since `std::exception` ↵Stefan Boberg2021-09-151-1/+1
| | | | does not have a constructor which accepts a string argument in the standard (this appears to be an MSVC implementation thing)
* 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-1/+1
| | | | easier to tweak implementation
* Implemented support for dropping z$ buckets while onlineStefan Boberg2021-08-171-1/+2
|
* Cleaned up exception handlingStefan Boberg2021-05-211-4/+5
| | | | 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
* Moved CasBlobFile into basicfile.hStefan Boberg2021-05-211-74/+0
|
* clang-formatStefan Boberg2021-05-131-2/+6
|
* Added paths as context to I/O error exception messagesStefan Boberg2021-05-111-5/+10
|
* Adding zenservice codeStefan Boberg2021-05-111-0/+220