aboutsummaryrefslogtreecommitdiff
path: root/zencore
Commit message (Collapse)AuthorAgeFilesLines
* Add `import-project` and `export-project` (#183)Dan Engelbrecht2022-11-189-113/+275
| | | * Add `import-project` and `export-project` command line parsing
* Support file reference in package message (#184)Dan Engelbrecht2022-11-072-28/+9
| | | | | | | | * Fix packed message parsing for absolute path * Always enable are sharing when opening files as IoBuffers. * Allow control over sending partial files as localfile ref * Check "AcceptFlags" field in RPC message for allowing localfile ref in reply * make oplog entry add operations ZEN_DEBUG level logs * changelog
* Handle zero size file mapping (#177)Dan Engelbrecht2022-09-301-1/+10
| | | | * Handle edgecase with zero size memory mapping of file * changelog
* De/reduce buffer creation in parsepackedmessage (#175)Dan Engelbrecht2022-09-301-0/+1
| | | | | * Don't create call CreateBuffer for attachement data that we only read and not keep * changelog * don't read oplog attachments into memory just to do a redundant store of them
* De/more upstream details (#168)v0.1.6-pre9v0.1.6-pre10Dan Engelbrecht2022-09-222-0/+8
| | | | | | * Pass along endpoint info for each upstream request * Add more timing details in log * more log details for single item upstream fetch * DISABLEDQUERY over SKIP
* logging - don't do formatting of messages the will not be logged (#169)Dan Engelbrecht2022-09-211-72/+40
|
* Use BLAKE3 port from vcpkg (#141)Stefan Boberg2022-09-202-22/+12
| | | | use BLAKE3 port from vcpkg instead of in-tree binaries
* LoadCompactBinary gracefully handles read failures and sizes larger than the ↵Dan Engelbrecht2022-09-192-24/+70
| | | | | | | | archive (#165) * add failing test * CompactBinary: Fixed LoadCompactBinary to gracefully handle read failures and sizes larger than the archive From https://p4-swarm.epicgames.net/changes/21983905 * changelog
* enable json log file (#164)Dan Engelbrecht2022-09-121-10/+10
| | | | | | * Include source location on ZEN_ERROR and ZEN_CRITICAL * Use proper logging for sentry init status * format file logger as json if .json extension is given * changelog
* Use "\\?\" prefixed paths and fix hardcoded path delimiters (#149)Dan Engelbrecht2022-08-261-1/+6
| | | | | | * use "\\?\" prefix for windows paths * fix path delimiters * disable vcpkg caching * Workaround for spdlog not being able to create directories prefixed with `\\?\`
* added suppression of warning C4189 to work around problems in fmtStefan Boberg2022-07-211-5/+6
|
* add macos builds (#133)Dan Engelbrecht2022-06-241-0/+1
| | | | | | | * add macos builds * bump timeout to 15 minutes and add timeout to create-release flow * strip -pre suffix from version when running config * fix pre-release check * bump version
* merged from mainStefan Boberg2022-06-162-0/+6
|
* added _WIN32_WINNT define to be consistent with xmake fileStefan Boberg2022-06-131-0/+3
|
* namespace/bucket validation now uses AsciiSet for more efficient validation ↵Stefan Boberg2022-06-101-1/+1
| | | | (#127)
* core: added ReadStdInStefan Boberg2022-06-102-0/+21
| | | | implements a simple wrapper around reading stdin until EOF
* added IoBuffer::MutableData()Stefan Boberg2022-06-101-0/+6
|
* fix argument order in IoBufferBuilder::MakeFromFileWithSharedDeleteDan Engelbrecht2022-05-301-1/+1
|
* create local utility function for IoBufferBuilder::MakeFromFile*Dan Engelbrecht2022-05-301-48/+25
|
* Enable FILE_SHARE_DELETE on standalone files in disk bucketsDan Engelbrecht2022-05-282-0/+46
| | | | | | | | This allows us to delete the file even if it is open for read. We do a delete, the rename since we are not allowed to do a rename-overwrite, only delete. As we have the shard lock for the file we want to replace we can safely do a delete+rename. In the rare case that we fail to rename the file into place the old data is lost. As this is a *cache* and it should be very rare this is OK.
* Add catch2 support (#101)Stefan Boberg2022-05-207-40/+71
| | | | | | | Added option to use catch2 for unit tests Currently both doctest and catch2 are supported via some compatibility macros. doctest is the default, and ZEN_USE_CATCH2 needs to be defined to switch to catch2. Our goal is to evaluate how well catch2 works and switch to catch2 if everything pans out since UE5 now supports using catch2 for unit tests.
* use string::compare in caseSensitiveCompareStringsDan Engelbrecht2022-05-121-9/+2
|
* Add caseSensitiveCompareStrings and manual <=> and == operator for CacheKeyDan Engelbrecht2022-05-121-0/+23
| | | | MacOS clang compiler does not implement a default <=> operator for string
* Merge pull request #89 from EpicGames/de/namespacesv1.0.1.5Dan Engelbrecht2022-05-092-0/+45
|\ | | | | Add namespacecachestore layer to allow multiple structured cache namespaces
| * Added GetDirectoryContent utilityDan Engelbrecht2022-05-062-0/+45
| |
* | Make sure blockstore owner and block store state does not get out of sync ↵Dan Engelbrecht2022-05-082-0/+33
|/ | | | | | when fetching a chunk Move MarkAsDeleteOnClose() to IoBuffer(ExtendedCore) and set it on close, SetFileInformationByHandle sometimes fails if done in parallel with FileMapping
* use IsPow2 for mapping lock countDan Engelbrecht2022-04-291-1/+1
|
* naming cleanupDan Engelbrecht2022-04-281-3/+6
|
* Reduce risk of reallocating backing std::vector in CbWriter::AddBinaryDan Engelbrecht2022-04-282-4/+13
| | | | | Shard up g_MappingLock in IoBufferExtendedCore::Materialize() to reduce contention during high load Don't queue upstream cache records if we don't have any upstreams
* Added missing includes.Per Larsson2022-04-281-4/+4
|
* Serialize compact binary from JSON.Per Larsson2022-04-273-1/+327
|
* Compute updates (#74)Joe Kirchoff2022-04-142-7/+13
|
* clang formatJoe Kirchoff2022-04-141-4/+13
|
* more cleanupDan Engelbrecht2022-04-122-2/+4
|
* cleanupDan Engelbrecht2022-04-122-0/+29
|
* use zen::UnsignedIntegral instead of std::unsigned_integralDan Engelbrecht2022-04-121-2/+2
|
* use std::unsigned_integral for ToHexNumber and ParseHexNumberDan Engelbrecht2022-04-011-7/+6
|
* safer and easier to read Char2NibbleDan Engelbrecht2022-04-011-15/+12
|
* remove WorkerThreadPool::Flush()Dan Engelbrecht2022-03-312-10/+0
|
* comments for ToHexNumber and ParseHexNumberDan Engelbrecht2022-03-311-0/+12
|
* clean up number -> hex -> number codeDan Engelbrecht2022-03-312-50/+75
|
* Rename FormatHex to ToHexDan Engelbrecht2022-03-312-2/+2
|
* review feedbackDan Engelbrecht2022-03-311-1/+1
|
* Remove bad kIsOwnedByThisDan Engelbrecht2022-03-311-1/+1
|
* Move FormatHex and ParseHex to zencore/stringDan Engelbrecht2022-03-312-0/+30
|
* Add Flush to workthreadpoolDan Engelbrecht2022-03-312-0/+10
|
* linux fixesDan Engelbrecht2022-03-311-3/+1
|
* remove test codeDan Engelbrecht2022-03-311-4/+0
|
* Manage lifetime of FileHandleDan Engelbrecht2022-03-311-1/+6
|
* Handle error GetFinalPathNameByHandleW when file handle is closedDan Engelbrecht2022-03-311-0/+4
|