aboutsummaryrefslogtreecommitdiff
path: root/zenstore/CAS.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CAS.cpp/h -> cas.cpp/h to keep Zen's file casing consistentMartin Ridgers2021-10-291-325/+0
|
* Replaced use of DWORD with uint32_tMartin Ridgers2021-10-131-1/+1
|
* Corrected incorrect casing of include statementsMartin Ridgers2021-10-121-1/+1
|
* Merged from upstreamStefan Boberg2021-10-051-2/+9
|
* cas: added some GC stubsStefan Boberg2021-10-011-0/+37
|
* Fixed dumb bug in CasChunkSet::IterateChunks which would cause infinite loopStefan Boberg2021-09-231-1/+1
|
* Encapsulated containers in CasChunkSet to allow for more efficient ↵Stefan Boberg2021-09-211-3/+36
| | | | udpates/queries
* Removed scrubbing from CasImpl::Initialize since this is triggered by higher ↵Stefan Boberg2021-09-211-3/+7
| | | | level code now
* Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-2/+2
| | | | Also removed snapshot_manifest (remnants of vfs prototype)
* It's not possible to compile out testsStefan Boberg2021-09-201-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.
* Fixed unused variable warnings exposed by xmake build (unclear why I do not ↵Stefan Boberg2021-09-191-0/+1
| | | | receive them in VS, but likely due to vcpkg versioning)
* Implemended basic scrubbing / detection of disk corruption. Still needs more ↵Stefan Boberg2021-09-191-7/+17
| | | | code to propagate errors and make adjustments to account for them in higher level data structures
* Changed some code over from ATL to BasicFile and added Scrub() stubs.Stefan Boberg2021-09-191-23/+62
|
* 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
* Clang-format fixesStefan Boberg2021-08-241-1/+1
|
* Implemented more formalised CAS chunk filtering (with plenty of room for ↵Stefan Boberg2021-08-231-0/+9
| | | | optimization)
* Implemented Flush() operation for CID/CAS store interfacesStefan Boberg2021-08-111-1/+9
|
* Removed pointer-based InsertChunk from CAS store interface.Stefan Boberg2021-05-251-23/+5
| | | | All code must now use the IoBuffer path
* Adding zenservice codeStefan Boberg2021-05-111-0/+192