aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* trivial: include cleanupStefan Boberg2021-09-201-2/+1
|
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-203-2/+12
|\
| * Try authenticate with Jupiter instance when initializing upstream cache.Per Larsson2021-09-203-2/+12
| |
* | It's not possible to compile out testsStefan Boberg2021-09-2037-100/+206
| | | | | | | | 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.
* | Added testing.h to wrap doctest.hStefan Boberg2021-09-204-0/+19
|/ | | | Provides no real abstraction right now but may in the future. This is introduced primarily to enable centralised configuration of whether tests should be included or not
* Merge branch 'main' of https://github.com/EpicGames/zenPer Larsson2021-09-2078-311/+1778
|\
| * Fixed unused variable warnings exposed by xmake build (unclear why I do not ↵Stefan Boberg2021-09-192-1/+8
| | | | | | | | receive them in VS, but likely due to vcpkg versioning)
| * Implemented handling of "large" chunks in compact cas scrubbingStefan Boberg2021-09-191-0/+10
| |
| * Implemented BasicFile::StreamByteRangeStefan Boberg2021-09-192-2/+9
| |
| * Implemended basic scrubbing / detection of disk corruption. Still needs more ↵Stefan Boberg2021-09-196-48/+207
| | | | | | | | code to propagate errors and make adjustments to account for them in higher level data structures
| * Added BasicFile::StreamFile helper function to support reading large files ↵Stefan Boberg2021-09-192-2/+27
| | | | | | | | in a chunked fashion (will be using memory-mapped strategy in the future where it makes sense)
| * Changed so Windows also uses the portable std::mutex implementation and ↵Stefan Boberg2021-09-193-48/+28
| | | | | | | | reworked some code which would not compile after the change
| * clang-format againStefan Boberg2021-09-194-5/+5
| |
| * Changed some code over from ATL to BasicFile and added Scrub() stubs.Stefan Boberg2021-09-196-35/+113
| |
| * Added zenstore.h and made headers use itStefan Boberg2021-09-194-1/+18
| |
| * Added generated makefiles to .gitignoreStefan Boberg2021-09-191-3/+2
| |
| * Added zenstore-test test driver for zenstore testsStefan Boberg2021-09-196-1/+168
| |
| * Added module cpp/h for zenstoreStefan Boberg2021-09-193-0/+27
| |
| * Added GetSessionIdString() which returns a text representation of the session idStefan Boberg2021-09-194-3/+24
| |
| * Removed unnecessary ATL includesStefan Boberg2021-09-191-1/+0
| |
| * Added testutils for use in writing testsStefan Boberg2021-09-194-0/+68
| | | | | | | | Currently contains helpers for managing temporary directories used in tests
| * Changed BasicFile implementationStefan Boberg2021-09-192-23/+88
| | | | | | | | | | | | * No longer uses ATL on Windows (we just use raw Win32 API) * Added non-throwing Open() implementation * Added beginnings of a test suite, for verifying cross-platform implementation
| * Exclude build outputs from vs-chromiumStefan Boberg2021-09-191-2/+2
| |
| * Simplified AnyUserSecurityAttributes helperStefan Boberg2021-09-181-9/+5
| |
| * Eliminated some redundant logger configurationStefan Boberg2021-09-171-2/+0
| |
| * Changed file logging to use a rotating log strategyStefan Boberg2021-09-171-1/+18
| |
| * zenserver can now run as a Windows service. We'll still need to improve how ↵Stefan Boberg2021-09-179-182/+201
| | | | | | | | data files are found as the current defaults are relative to the user directory which ends up being in the Windows folder when running as the local system user
| * Added IsInteractiveSession() query to help identify if the process is ↵Stefan Boberg2021-09-172-0/+19
| | | | | | | | running as a daemon or as an interactive process
| * IsProcessRunning now throws if it fails the function fails to get a handle ↵Stefan Boberg2021-09-171-2/+18
| | | | | | | | to the process due to an error (unless it is because the process does not exist)
| * Added ThrowSystemError() helperStefan Boberg2021-09-172-0/+8
| |
| * Don't sweep instance table in read-only modeStefan Boberg2021-09-171-1/+4
| |
| * Added better handling for read-only modeStefan Boberg2021-09-172-1/+6
| |
| * Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-1711-39/+569
| |\
| * | Implemented basics for Windows server support (not yet 100% - needs to ↵Stefan Boberg2021-09-179-9/+723
| | | | | | | | | | | | properly report service state etc to the OS)
| * | Added UNICODE and defined _WIN32_WINNT to match the slnStefan Boberg2021-09-171-1/+1
| | |
| * | Assert improvementsStefan Boberg2021-09-172-32/+54
| | |
| * | Removed WindowsException from public headersStefan Boberg2021-09-174-54/+45
| | |
| * | clang-formatStefan Boberg2021-09-1725-31/+47
| | |
| * | Added IsDebuggerPresent() query function to query whether a debugger is ↵Stefan Boberg2021-09-172-1/+15
| | | | | | | | | | | | currently attached to the running process
* | | Probe upstream Zen server when initializing upstream cache.Per Larsson2021-09-203-2/+28
| |/ |/|
* | Added upstream cache policy command line option ↵Per Larsson2021-09-175-23/+72
| | | | | | | | (read|write,readonly,writeonly,disabled).
* | Added cache policy tests for CbPackage.Per Larsson2021-09-171-3/+169
| |
* | Added test for store local/remote cache policy.Per Larsson2021-09-171-0/+35
| |
* | Initial support for cache policies.Per Larsson2021-09-173-19/+220
| |
* | Const correct.Per Larsson2021-09-171-1/+1
| |
* | Merge branch 'main' of https://github.com/EpicGames/zenPer Larsson2021-09-1735-93/+250
|\|
| * Added namespace scopes to more includes for better consistencyStefan Boberg2021-09-1726-71/+147
| |
| * Moved zenserverprocess into zenutil/zenserverprocess.hStefan Boberg2021-09-1713-9/+55
| |
| * Exposed session id in ZenServerStateStefan Boberg2021-09-162-6/+26
| |
| * clang-formatStefan Boberg2021-09-163-7/+13
| |