aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil
Commit message (Collapse)AuthorAgeFilesLines
* Make sure error logging or destructors don't throw exception when trying to ↵Dan Engelbrecht2023-09-121-2/+6
| | | | | get file name from handle (#393) - Bugfix: Make sure error logging or destructors don't throw exception when trying to get file name from handle
* retry file create (#383)Dan Engelbrecht2023-09-042-0/+17
| | | | | * add retry logic when creating files * only write disk usage log if disk writes are allowed * changelog
* fix zen server state mac mmap (#380)Dan Engelbrecht2023-08-311-1/+1
| | | | * use MAP_SHARED when initializing read only access of shared memory * changelog
* crash in process cache (#375)Dan Engelbrecht2023-08-231-36/+70
| | | | * - Bugfix: Fix OpenProcessCache state error causing assert/error * changelog
* Fix construction order in OpenProcessCache (#374)Dan Engelbrecht2023-08-221-1/+1
|
* buffered file reading for oplog (#366)Dan Engelbrecht2023-08-212-0/+217
| | | | | * add BasicFileBuffer for buffered read of BasicFile * Use BasicFileBuffer when reading oplog * changelog
* Cache process handles for FormatPackageMessage (#360)Dan Engelbrecht2023-08-172-0/+189
|
* update vcpkg dependencies (#356)Dan Engelbrecht2023-08-111-1/+1
| | | | | | * bump vcpkg version * fmt lib 10 fixes * xmake dependencies (with linux workarounds) * changelog
* minor: set_group('libs') on zenutil for consistency with zencore etcStefan Boberg2023-08-091-0/+1
|
* * added file sharing control to BasicFile (required to implement lockfiles)Stefan Boberg2023-06-302-19/+60
| | | | | * added delete-on-close support to BasicFile * added BasicFile::ReadRange()
* added ZenServerInstance::SpawnServerAndWait (#334)Stefan Boberg2023-06-162-6/+62
| | | | | this change adds `ZenServerInstance::SpawnServerAndWait()` which as the name implies spawns a server and then waits for the instance to reach a usable state before returning to the caller. It also changes the behaviour of `ZenServerInstance::AttachToRunningServer()` so it matches the Spawn behaviour wrt automatic termination on ZenServerInstance destruction. Previously it would always terminate the subprocess on exit.
* BasicFile::ReadAll should handle zero-sized files gracefullyStefan Boberg2023-05-251-3/+10
|
* cache log sessionid (#297)Stefan Boberg2023-05-231-0/+28
| | | | | | | | | | | * implemented structured cache logging to be used as audit trail to help analyse potential cache pollution/corruption * added common header to all known log targets * made Oid::operator bool explicit to avoid logging/text format mishaps * HttpClient::operator bool -> explicit * changed cache logs to not rotate on start in order to retain more history * added CacheRequestContext * properly initialize request context * log session id and request id on zencacehstore get/put * changelog
* Added some comments to ZenServerInstance etcStefan Boberg2023-05-151-10/+18
|
* Remove ATL header usage (#306)Stefan Boberg2023-05-151-1/+0
| | | ATL has been used here and there as a convenience. Given that this is a legacy component and not always something which gets installed along with the compiler we hereby remove the dependency altogether in favour of our own simple wrappers
* moved source directories into `/src` (#264)Stefan Boberg2023-05-0214-0/+4286
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees