| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
* make sure we validate pointers returned from zen::Memory::Alloc
|
| |
|
|
|
|
|
| |
* Added LoadCompactBinaryObject from file to compactbinaryfile.cpp/h
* Added SaveCompactBinary(BinaryWriter& Ar, ...) functions
* Added ZEN_PLATFORM_NAME define
* Added SystemMetrics functionality to query system properties (see zencore/system.h)
|
| |
|
|
| |
IsProcessRunning on Windows would only consider if we could get a handle to a process. It is possible to get a handle to a process even if it is terminated in Windows. To actually know if the process is running, a further call to GetExitCodeProces is required. Addressing this issue ensures that the ZenServerState::Sweep method doesn't keep terminated processes in the state table.
|
| |
|
|
| |
we don't currently permit creating zero-length IoBuffer instances to prevent inefficiencies, but this can cause issues since some higher level code now ends up using it for things it was not originally intended for.
|
| |
|
|
|
| |
- curl is a dependency of zenhttp, not zencore
- zencore only depends on crypto functions from openssl
|
| |
|
|
| |
this enables mapping the result of a CreateProc call to an integer pid
|
| |
|
|
| |
characters (#332)
|
| | |
|
| |
|
|
|
| |
Added "snapshot" oplog RPC
this may be used to bring referenced files into the local store instead of referencing them by filename, thus making the project/oplog transportable
|
| |
|
|
|
|
| |
* ~FileMapping() is not allowed to throw exceptions
* ~ScopedActivityBase() should not call ZEN_ASSERT (which causes SIGABORT on error)
* ProjectStore::Project::WriteAccessTimes() which is called from ProjectStore::~Project() must not throw exceptions
* changelog
|
| |
|
|
| |
* use exception when allocations fail rather than asserts
* changelog
|
| |
|
| |
Added CompressedBufferReader support from UE. This provides some streaming decompression support which can be employed to reduce memory and other resource usage.
|
| | |
|
| |
|
| |
currently this implements a way (`zen bench --purge`) to purge the standby lists on Windows. This basically flushes the file system cache and is useful to put your system in a consistent state before running benchmarks
|
| | |
|
| | |
|
| |
|
|
| |
no actual code changes, just comments
|
| |
|
|
|
|
| |
this verifies that attempting to map a range outside the underlying file
fails. Posix appears to offer different semantics so it
silently accepts it still however.
|
| | |
|
| |
|
|
|
| |
without this, traces rather unhelpfully show up with no context in
the session browser
|
| | |
|
| |\ |
|
| | |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| | |
* added WorkerThreadPool naming, packaged_task support
* name the http.sys thread pool service threads
* added http.sys I/O threadpool naming
* upstream cache I/O thread naming
|
| |/ |
|
| |
|
|
|
|
|
|
| |
may be used as audit trail to help analyse potential cache pollution/corruption
* also added common header with timestamp to all known log targets
* made `Oid::operator bool` explicit to avoid logging/text format mishaps
* made `HttpClient::operator bool` explicit
|
| |
|
|
| |
* better logging/exception when reading file in IoBuffer::Materialize fails
* changelog
|
| |
|
|
|
| |
* Feature: Gracefully exit if Ctrl-C is pressed
* Bugfix: Return error code on exit as set by application
* changelog
|
| |
|
|
| |
* if logging is not initialized, just log to console
* changelog
|
| |
|
|
| |
previous version would fail with multiple instances in the same scope
|
| |
|
| |
fix help for xmake test
|
| |
|
|
| |
* added FileSizeFromHandle function
* added file size to error message when MapViewOfFile fails
|
| |
|
|
| |
EmitScopesForLogging -> EmitActivitiesForLogging
|
| | |
|
| |
|
| |
includes support for on-demand formatting of scope in error messages
|
| |
|
|
| |
later versions of cxxopts changed the signatures of exceptions. This change adds zen::OptionParseException to replace it
|
| |
|
|
|
|
|
|
|
| |
* implemented HttpClient connection pooling
* implemented missing verbs
* added response helpers (CbObject/CbPackage/text)
* added RwLock::WithSharedLock and RwLock::WithExclusiveLock
* added some noexcept annotations on RwLock
* removed CPR dependency in httpclient.h
|
| |
|
|
| |
changed win64 to be more in line with other platforms wrt xmake config
|
|
|
* moved source directories into `/src`
* updated bundle.lua for new `src` path
* moved some docs, icon
* removed old test trees
|