aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Misplaced nodiscard attributeMartin Ridgers2021-10-121-3/+3
|
* Only include zencore/windows.h on WindowsMartin Ridgers2021-10-124-7/+18
|
* Corrected incorrect casing of include statementsMartin Ridgers2021-10-127-9/+9
|
* Changed example project VS generation command to exclude x86Martin Ridgers2021-10-111-1/+1
|
* uson.json tests were passing un-terminated strings to json11::parse()Martin Ridgers2021-10-111-9/+9
|
* Added some tests for pid-related functionsMartin Ridgers2021-10-111-0/+12
|
* ZEN_*_OPTIMIZATION for GCC and ClangMartin Ridgers2021-10-111-2/+8
|
* There are no surrogate pairs in utf32Martin Ridgers2021-10-111-0/+5
|
* Replaced use of std::u16string* with std::wstring*Martin Ridgers2021-10-112-10/+19
|
* Added a ZEN_SIZEOF_WCHAR_T defineMartin Ridgers2021-10-111-0/+7
|
* Merged mainMartin Ridgers2021-10-1117-957/+185
|\
| * iobuffer: Changed MakeFromTemporaryFile so it accepts a path instead of a ↵Stefan Boberg2021-10-083-5/+5
| | | | | | | | character pointer
| * zenstore: Added forcelink stuff to ensure we bring in filecas testsStefan Boberg2021-10-081-0/+2
| |
| * Added ScopedTemporaryDirectory which specifies a particular directory path ↵Stefan Boberg2021-10-082-0/+8
| | | | | | | | | | | | to use This is primarily for temporary debugging purposes, since it can be more convenient to use the same directory over and over
| * Added another test exe name to GetExePath testStefan Boberg2021-10-081-2/+2
| |
| * filecas: stress test code to understand access denied errorsStefan Boberg2021-10-082-6/+132
| | | | | | | | | | | | Added stress test for file cas file rename strategy (compiled out by default), to understand behaviour and why we get access denied errors in some cases when opening a file Also added code to ensure source file is deleted in the case where we end up hitting this error condition
| * Removed invalid commentStefan Boberg2021-10-081-1/+1
| |
| * basicfile: Added Write member functions accepting MemoryView for convenienceStefan Boberg2021-10-082-0/+14
| |
| * filecas: Added handling of error when a rename is attempted but the target ↵Stefan Boberg2021-10-081-1/+8
| | | | | | | | already exists
| * Added shell32.dll to delay load list since it's only needed when no ↵Stefan Boberg2021-10-074-941/+2
| | | | | | | | | | | | directory is specified on the command line Also removed redundant vfs files
| * NiceByteRateToBuffer could cause a divide-by-zero in some cases - fixedStefan Boberg2021-10-071-1/+11
| |
* | Fixed undefined mimalloc symbolsMartin Ridgers2021-10-071-0/+1
| |
* | Fixed signed/unsigned comparison mismatchMartin Ridgers2021-10-071-1/+1
| |
* | Fixed misplaced nodiscard attributeMartin Ridgers2021-10-071-1/+1
| |
* | Fixed shadowed template parameterMartin Ridgers2021-10-071-1/+1
| |
* | Merged mainMartin Ridgers2021-10-0758-677/+2421
|\|
| * Only enable the MSVC debug output sink for sessions when the --debug mode is ↵Stefan Boberg2021-10-061-1/+1
| | | | | | | | | | | | enabled Previously it would always be enabled if an attached debugger was detected but it impacts performance quite severely so now it is opt-in
| * structured cache: Added locking around large cache value updates to prevent ↵Stefan Boberg2021-10-061-13/+37
| | | | | | | | races leading to file sharing violations
| * Support for asynchronous HTTP response processing (#19)Stefan Boberg2021-10-0614-190/+627
| | | | | | | | | | | | | | | | This change introduces WriteResponseAsync which can be used to move potentially slow request handler code (like upstream lookups) off the I/O service thread to ensure we are always able to serve as many HTTP requests as possible. The current implementation defaults to 16 async worker threads and there is currently no back-pressure. - Added RequestStats - Metrics for network requests. Aggregates tracking of duration, payload sizes into a single class for ease of use - Added some metrics on upstream communication Co-authored-by: Per Larsson <[email protected]>
| * Added option to specify path to logfile.Per Larsson2021-10-063-1/+4
| |
| * clang-formatStefan Boberg2021-10-054-4/+7
| |
| * MergedStefan Boberg2021-10-051-1/+1
| |\
| | * Merge branch 'main' of https://github.com/EpicGames/zen into mainStefan Boberg2021-10-051-3/+48
| | |\
| | | * Serialize JSON NaN numbers to null.Per Larsson2021-10-051-3/+48
| | | |
| | * | Added Ref<> constructor which allows casting from derived types to parent typesStefan Boberg2021-10-051-0/+9
| | | |
| | * | Merge branch 'main' of https://github.com/EpicGames/zen into mainStefan Boberg2021-10-0526-232/+720
| | |\|
| | | * Pass logger from Zen client to session instead from spdlog registry.Per Larsson2021-10-052-3/+8
| | | |
| | | * status: Exposed global status at /status/statusStefan Boberg2021-10-041-13/+50
| | | |
| | | * stats: Implemented new stats endpointStefan Boberg2021-10-048-23/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stats are exposed under /stats/{id}, so for example structured cache stats are exposed under /stats/z$ The separate endpoint makes it easier to separate request handling to ensure stats/status endpoints still respond if the regular request queue is somehow saturated or otherwise not behaving There is also a /status endpoint which is similar and is targeted towards lightweight health monitoring
| | | * filesystem: Added comment for future optimization opportunities in ↵Stefan Boberg2021-10-041-0/+7
| | | | | | | | | | | | | | | | CreateDirectories
| | | * http: strip any known content-type suffixes from URI before passing it to a ↵Stefan Boberg2021-10-041-9/+14
| | | | | | | | | | | | | | | | service
| | | * zenserver: Changed initialization flowStefan Boberg2021-10-046-155/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - HTTP server is now started earlier, so it can be queried while scrubbing/recovery runs - Stats/status services are initialized before anything else, so they can be used to monitor progress while scrubbing happens - Structured cache initialization is now in a separate function - Scrubbing now emits some summary stats at the point of completion
| | | * monitoring: added stubs for /stats and /status endpointsStefan Boberg2021-10-046-0/+132
| | | | | | | | | | | | | | | | this is a tactical check-in to allow me to merge some other changes
| | | * clang-formatStefan Boberg2021-10-042-2/+2
| | | |
| | | * CAS: exposed some scrubbing statsStefan Boberg2021-10-042-22/+41
| | | |
| | | * Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-10-041-10/+27
| | | |\
| | | | * Add option to build with XMake in deploy script. (#17)Per Larsson2021-10-041-10/+27
| | | | |
| | | * | timer: Added GetLofreqTimerValue() etc for applications that don't need ↵Stefan Boberg2021-10-042-0/+31
| | | |/ | | | | | | | | | | | | | | | | | | | | particularly high resolution This value is intended to get updated as part of some higher level tick process. It is not automatic.
| | | * Added build version tag using the latest Git commit hash. (#16)Per Larsson2021-10-042-3/+21
| | | | | | | | | | | | build: Added build version tag using the latest Git commit hash an date/time
| | * | http: Exclude iothreadpool from compilation on non-WindowsStefan Boberg2021-10-052-2/+12
| | | |