aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/compactbinary.cpp
Commit message (Collapse)AuthorAgeFilesLines
* optimize startup time (#175)Dan Engelbrecht2024-09-301-2/+2
| | | | | | * use tsl::robin_set for BlockIndexSet don't calculate full block location when only block index is needed * don't copy visitor function * reserve space for attachments
* improved lock file handling (#50)Dan Engelbrecht2024-04-181-2/+20
| | | | | | | | | | | | - Feature: `zen down` - --`data-dir` to specify a data directory to deduce which zen instance to bring down - Feature: `zen attach` - --`data-dir` to specify a data directory to deduce which zen instance to attach to222 - Feature: `zen status` - --`port` filter running zen instances based on port - --`data-dir` filter running zen instances based on information in the data directory - Improvement: Trying to load a compact binary object from an empty file no longer causes access violation
* add yaml serialization support (#3)Stefan Boberg2024-03-261-781/+0
| | | | | | | this change adds serialization of payloads as YAML, but not parsing. The implementation is somewhat based on the JSON path, and may be collapsed eventually as it is possible to serialize JSON format using the same code it also separates out the JSON serialization into a separate file for ease of maintenance any HTTP request response may be formatted as yaml by using a `.yaml` suffix or an `Accept: text/yaml` header
* implement cache recording segment split by age (#611)Stefan Boberg2023-12-141-0/+52
| | | - also fixes weird DateTime/TimeSpan comparison operator
* basic ZEN_ASSERT_FORMAT implementation (#556)Stefan Boberg2023-11-211-17/+18
| | | includes porting some compact binary builder code to use it since it had vestiges of the UE-side asserts
* gc history log (#519)Dan Engelbrecht2023-11-131-18/+142
| | | | | - Feature: Writes a `gc.log` with settings and detailed result after each GC execution (version 2 only) - Break out file name rotate to allow access for gclog - CompactBinaryToJson(MemoryView Data, StringBuilderBase& InBuilder)
* only measure a variable integer once where we can (#500)Dan Engelbrecht2023-10-251-2/+2
|
* * Added Guid::FromStringStefan Boberg2023-06-301-2/+46
| | | | | | | * 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)
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+2299
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees