aboutsummaryrefslogtreecommitdiff
path: root/zenutil
Commit message (Collapse)AuthorAgeFilesLines
* Add `import-project` and `export-project` (#183)Dan Engelbrecht2022-11-182-8/+11
| | | * Add `import-project` and `export-project` command line parsing
* move BasicFile to zenutil to remove zenstore dependency from zen command (#190)Dan Engelbrecht2022-11-172-0/+688
|
* Add "Accept" field in RPC request to gracefully handle requests from older ↵Dan Engelbrecht2022-10-132-0/+32
| | | | instances (#180)
* Implement proper GetCacheValues upstream (#155)Dan Engelbrecht2022-09-061-0/+6
| | | | * Implement proper GetCacheValues upstream * changelog
* De/fix crash on non responding upstream (#145)Dan Engelbrecht2022-08-191-0/+1
| | | * Fix ZenStructuredCacheClient lifetime issues
* Remove PutCacheRecordRequest::RecordBody and GetCacheRecordResult:RecordBody ↵Dan Engelbrecht2022-07-012-50/+50
| | | | (#140)
* Use cacherequest::* for zenserver tests (#135)Dan Engelbrecht2022-06-301-0/+6
| | | | | * use cacherequests in zcache.rpc * use cacherequests for zcache.rpc.allpolicies
* Add ability to control where in the result array results go in ↵Dan Engelbrecht2022-06-302-14/+55
| | | | GetCacheRecordsResult::Parse and CacheValuesResult::Parse (#138)
* add optional filter when writing GetCacheRecordsRequest and ↵Dan Engelbrecht2022-06-292-19/+67
| | | | GetCacheValuesRequest (#137)
* cache requests API (#134)Dan Engelbrecht2022-06-272-0/+1759
|
* Keep Namespace out of CacheKey and store it on request levelDan Engelbrecht2022-05-191-9/+1
| | | | | RPC requests now has a Namespace field under Params instead of one Namespace per cache key Fall back to legacy upstream HTTP URI format if default namespace is requested
* Add caseSensitiveCompareStrings and manual <=> and == operator for CacheKeyDan Engelbrecht2022-05-121-4/+10
| | | | MacOS clang compiler does not implement a default <=> operator for string
* manual <=> calls for strings in CacheKeyDan Engelbrecht2022-05-121-1/+8
|
* use spaceship operator for CacheKey comparisonsDan Engelbrecht2022-05-111-22/+2
|
* parameterize namespace for upstream (first hack)Dan Engelbrecht2022-05-111-6/+12
|
* Add pre-commit config (#69)Joe Kirchoff2022-04-051-2/+2
| | | | | | | * Add .pre-commit-config.yaml * format all using pre-commit clang-format hook * Add pre-commit to inject unreal header comment * Remove prepare_commit.bat & update CODING.md * Remove check-added-large-files, add headers before clang-format
* clang formatDan Engelbrecht2022-03-231-2/+2
|
* Enable Horde compute code on Linux & Mac (#61)Joe Kirchoff2022-03-221-2/+2
|
* Linux compile fixMartin Ridgers2022-02-211-2/+2
|
* Explicitly set access permissions so we're not affected by process' umaskMartin Ridgers2022-02-211-2/+3
|
* Marked a few file descriptors to be closed on execute (POSIX)Martin Ridgers2022-02-211-2/+2
|
* POSIX states the shared memory paths should start with a slashMartin Ridgers2022-02-111-2/+2
|
* Simplify HandleRpcGetCacheChunks (#53)mattpetersepic2022-02-091-1/+0
| | | Refactor HandleRpcGetCacheChunks to reduce complexity. Port CacheStore tests from Unreal.
* Remove the backwards compatibility for the Zen CachePolicy changes no… (#49)mattpetersepic2022-02-082-18/+1
| | | Remove the backwards compatibility for the Zen CachePolicy changes now that there has been enough time for all internal users of the old protocol to update.
* Merging minor fixes to mainStefan Boberg2022-02-072-9/+24
|\
| * Changed some initializers to constinit to ensure compile time initializationStefan Boberg2022-02-041-8/+24
| | | | | | | | Also changed ConvertToUpstream to not use so many ternary operators to improve debuggability
| * removed unnecessary <unordered_map> includeStefan Boberg2022-02-041-1/+0
| |
* | Fixed signed/unsigned comparison compile errorMartin Ridgers2022-02-031-1/+1
|/
* CacheRecordPolicy: Fix inverted PolicyMask expression that caused parsing ↵Matt Peters2022-02-011-2/+2
| | | | ValuePolicies to fail.
* Cache policy support (#47)mattpetersepic2022-02-013-198/+277
| | | | | | | | Add HandleRpc methods for the remaining ICacheStore requests from unreal: PutCacheValues/GetCacheValues. We now have batched versions for PutCacheRecords,GetCacheRecords,PutCacheValues,GetCacheValues,GetCacheChunks. Add support for CachePolicy flags to all of these batched methods. * Add Batched PutCacheValues/GetCacheValues. Rename old GetCacheValues to GetCacheChunks. * HandleRpcGetCacheRecords: Receive a CacheRecordPolicy with each key, and skipdata on attachments we already have. * Changes to CachePolicy copied from Release-5.0 depot. Change serialization to use the key BasePolicy instead of DefaultValuePolicy. * GetChunks: Read CacheRecords from remote if necessary to find ContentId. Implement QueryLocal, StoreLocal, and SkipData.
* Rename Paylod to Value to match the client side. Rename PayloadId to ↵mattpetersepic2022-01-271-3/+3
| | | | ValueContentId where its a hash instead of an oid.
* Handle HTTP port collisions when initializing server (#40)zousar2022-01-272-17/+20
|
* Implement SkipData,QueryLocal,StoreLocal for HandleRpcGetCacheRecords (#41)mattpetersepic2022-01-262-0/+24
| | | * Implement SkipData,QueryLocal,StoreLocal for HandleRpcGetCacheRecords.
* Unused Delimiter string_view wouldn't compile POISX platformsMartin Ridgers2022-01-251-1/+0
|
* Cachepolicy (#36)mattpetersepic2022-01-252-143/+278
| | | | | | | | | | | | | | | | | * Copy CachePolicy implementation from UE5/Release-5.0. Add backwards compatability for clients and upstreams that are using the old protocol. * Add RefPtr templated move operator and constructor, so that RefPtr<const Foo*> A = std::move(RefPtr<Foo*>()) will do a move. * Fix broken CachePolicy tests and add tests for new Save/Load. * Remove TODO comments * CachePolicy Save/Load Fixes from codereview * Fix comment to match code change. * Remove backwards compatibility for CachePolicy change. Convert policy string tokens to PascalCase. Fix tests for new policy text. Change ParseCachePolicy to assert string is non-empty and always succeed. * Fix release build: use ZEN_WITH_TESTS define
* Fixed CacheRecordPolicy::SaveDevin Doucette2022-01-201-0/+2
|
* Added copyright headers to xmake.lua scriptsMartin Ridgers2022-01-201-0/+2
|
* Converted use of _format UDL to fmt::formatMartin Ridgers2022-01-101-3/+1
|
* Turn all ThrowLastError() sites in source_location variantsMartin Ridgers2022-01-071-2/+1
|
* Added preprocessing config file and removed Visual Studio files.Per Larsson2021-12-152-151/+0
|
* Include header files when generating solution.Per Larsson2021-12-141-1/+2
|
* Merged main.Per Larsson2021-12-142-114/+112
|\
| * Fixed unused return value warnings from POSIX/Linux headersMartin Ridgers2021-12-081-1/+2
| |
| * Merged mainMartin Ridgers2021-12-081-0/+24
| |\
| * | Sponsor PIDs were getting truncated to 16 bits which isn't portableMartin Ridgers2021-11-261-1/+1
| | |
| * | Added log if a wait was abandoned because the process disappearedMartin Ridgers2021-11-241-0/+1
| | |
| * | Moved librt dependency specification to zencore/xmake.luaMartin Ridgers2021-11-241-5/+1
| | |
| * | Changed SpawnServer() over to use zen::CreateProc()Martin Ridgers2021-11-161-82/+23
| | |
| * | Merged mainMartin Ridgers2021-11-151-0/+3
| |\ \
| * \ \ Merged mainMartin Ridgers2021-11-157-0/+399
| |\ \ \