aboutsummaryrefslogtreecommitdiff
path: root/zenutil
Commit message (Collapse)AuthorAgeFilesLines
* Added streaming version of GetCacheRecords.Per Larsson2022-03-081-0/+1
|
* 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
| |\ \ \
| * | | | Use add_syslinks() instead of add_link() for system librariesMartin Ridgers2021-11-121-2/+2
| | | | |
| * | | | NamedEvent is no longer an Event-type object.Martin Ridgers2021-11-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Platforms other than Windows do not really have a named event-like primitive or ones that are close are fallible if a process hard-terminates. Separating from Event more clearly conveys the use of NamedEvent objects; to synchronise two processes.
| * | | | Fixed narrowing warningMartin Ridgers2021-11-021-2/+2
| | | | |
| * | | | Fixed shm_open() and friends link errorMartin Ridgers2021-11-021-1/+5
| | | | |
| * | | | Disabled SpawnServer() on POSIX for time beingMartin Ridgers2021-10-291-0/+4
| | | | |
| * | | | Implemented ZenServerState's shared memory layer for POSIXMartin Ridgers2021-10-291-24/+71
| | | | |
| * | | | Use zen::GetCurrentProcessId() instead of MS' _getpid()Martin Ridgers2021-10-291-1/+1
| | | | |
| * | | | Fixed std::memory_order compile errorsMartin Ridgers2021-10-291-3/+3
| | | | |
| * | | | Merged mainMartin Ridgers2021-10-282-5/+17
| |\ \ \ \
| * | | | | If/def around Windows-only headersMartin Ridgers2021-10-151-3/+5
| | | | | |
* | | | | | Format fix.Per Larsson2021-12-091-1/+1
| | | | | |
* | | | | | Merged main.Per Larsson2021-12-091-1/+23
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Merge pull request #30 from EpicGames/non-elevated-asiozousar2021-11-291-0/+22
| |\ \ \ \ \ | | | | | | | | | | | | | | Get zenserver running non-elevated
| | * | | | | Address review feedback and fix issue when deploying.Zousar Shaker2021-11-291-4/+4
| | | | | | |
| | * | | | | Allow ZenMap to fallback to local shared memory when running non elevated.Zousar Shaker2021-11-291-0/+22
| | | |_|_|/ | | |/| | |
| * / | | | Sponsor PIDs were getting truncated to 16 bits which isn't portableMartin Ridgers2021-11-261-1/+1
| |/ / / /
* | | | | merge from mainStefan Boberg2021-11-187-0/+402
|\| | | |