aboutsummaryrefslogtreecommitdiff
path: root/zenutil/zenserverprocess.cpp
Commit message (Collapse)AuthorAgeFilesLines
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-677/+0
| | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
* fixed dashboard file serving bug (#255)Stefan Boberg2023-04-241-1/+23
| | | | | a recent change which introduced support for specifying accept: implicitly via the file extension in the URI caused fallout in the dashboard which would fail to serve any content because the extension was stripped from the RelativeUri accessor. This change fixes that by retaining a copy of the Uri string view which includes the suffix additionally, in order to test this change with both asio/http.sys paths I made the path used for all tests configurable in zenserver-test which involved pulling in a change from sb/proto which makes testing configuration a bit more flexible
* fix down command (#254)Dan Engelbrecht2023-04-241-1/+1
| | | | | * add option to zen down command to control port * use correct port for shutdown even when attaching to running server * changelog
* tweaks for enabling unity buildsStefan Boberg2023-04-191-2/+2
| | | | | | | | | | mostly changes to make sure anonymous namespaces don't clash and a change to avoid windows headers from leaking into other compilation units unity builds are not yet enabled by default, but can be enabled by uncommenting this line in the root `xmake.lua` ``` --add_rules("c++.unity_build") ```
* removed some more mesh related debrisStefan Boberg2023-01-261-5/+0
|
* De/fix crash on non responding upstream (#145)Dan Engelbrecht2022-08-191-0/+1
| | | * Fix ZenStructuredCacheClient lifetime issues
* 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
|
* Handle HTTP port collisions when initializing server (#40)zousar2022-01-271-13/+15
|
* 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
|
* Merged main.Per Larsson2021-12-141-112/+110
|\
| * 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
| | |
| * | Changed SpawnServer() over to use zen::CreateProc()Martin Ridgers2021-11-161-82/+23
| | |
| * | Fixed narrowing warningMartin Ridgers2021-11-021-2/+2
| | |
| * | 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-281-0/+6
| |\ \
| * | | If/def around Windows-only headersMartin Ridgers2021-10-151-3/+5
| | | |
* | | | Format fix.Per Larsson2021-12-091-1/+1
| |_|/ |/| |
* | | 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
|/ /
* / Lockfile implementation (#24)Stefan Boberg2021-10-271-0/+6
|/ | | | | Implemented lockfile synchronization To be used instead of or in conjunction with existing events to coordinate launching and discovery of server instances
* Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-16/+16
| | | | Also removed snapshot_manifest (remnants of vfs prototype)
* Simplified AnyUserSecurityAttributes helperStefan Boberg2021-09-181-9/+5
|
* Added better handling for read-only modeStefan Boberg2021-09-171-1/+4
|
* Added namespace scopes to more includes for better consistencyStefan Boberg2021-09-171-28/+32
|
* Moved zenserverprocess into zenutil/zenserverprocess.hStefan Boberg2021-09-171-1/+1
|
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-161-2/+7
|\
| * Compact binary package caching support (#9)Per Larsson2021-09-161-2/+7
| |
* | Changed how sponsor processes are managedStefan Boberg2021-09-161-2/+56
|/ | | | We can now monitor more than one process and if a new process is started on the same port we will hand over the owner pid to the process which is already executing before exiting. Note that this is only done if there is actually already an owner process in the instance list.
* Changed `std::exception` into `std::runtime_error` since `std::exception` ↵Stefan Boberg2021-09-151-2/+2
| | | | does not have a constructor which accepts a string argument in the standard (this appears to be an MSVC implementation thing)
* Changed logging implementationStefan Boberg2021-09-151-10/+10
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-151-1/+1
| | | | easier to tweak implementation
* clang-formatStefan Boberg2021-09-091-1/+1
|
* Log spawned process nameStefan Boberg2021-09-081-2/+2
|
* Adding ZenServerInstance::GetBaseUri()Stefan Boberg2021-09-081-0/+11
|
* Silence truncation warningStefan Boberg2021-09-041-1/+1
|