aboutsummaryrefslogtreecommitdiff
path: root/zencore/compactbinarypackage.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add `import-project` and `export-project` (#183)Dan Engelbrecht2022-11-181-63/+75
| | | * Add `import-project` and `export-project` command line parsing
* LoadCompactBinary gracefully handles read failures and sizes larger than the ↵Dan Engelbrecht2022-09-191-0/+42
| | | | | | | | archive (#165) * add failing test * CompactBinary: Fixed LoadCompactBinary to gracefully handle read failures and sizes larger than the archive From https://p4-swarm.epicgames.net/changes/21983905 * changelog
* Added missing std:: namespace to nullptr_t useMartin Ridgers2022-01-131-5/+5
|
* Compressed oplog attachmentsPer Larsson2021-10-211-6/+40
|
* Removed MemoryOutStream, MemoryInStreamStefan Boberg2021-09-281-28/+19
| | | | | | | | BinaryWriter/BinaryReader now implements memory buffer functionality which previously needed two chained instances of a Buffer/Reader. This was originally expected to be an abstraction for file and other stream access but this is not going to be useful so may as well collapse the functionality. This also eliminates the need for stack-aware ref-counting which is the real reason for wanting to get rid of this code. This was a very old experimental feature which turned out to be a bad idea. This also removes the /cas/batch endpoint
* It's not possible to compile out testsStefan Boberg2021-09-201-2/+5
| | | | Tests are now compiled in if `ZEN_WITH_TESTS=1`, and compiled out if not. Compiling tests out reduces the footprint of the resulting executables quite significantly.
* Added backwards compatible package serialization code for UE5 interop during ↵Stefan Boberg2021-09-141-3/+131
| | | | transition to new marshaling formats
* Changed CbPackage::TryLoad() signature so it can handle temporariesStefan Boberg2021-09-131-1/+1
|
* Change Compact Binary Package API to represent binary attachments as ↵Stefan Boberg2021-09-071-161/+257
| | | | | | | | compressed buffers identified by their raw hash. Change Compact Binary Package serialization for binary attachments to compressed buffers and objects as objects followed by their hash. Ported changes from Zousar's pending CL17372417
* Made IoHash zero initialize member, corrected Empty Attachment hash checkStefan Boberg2021-09-041-2/+2
|
* IoHash::HashMemory -> IoHash::HashBuffer for consistency with UE5 codeStefan Boberg2021-09-021-9/+9
|
* Introduced support for compressed buffer attachmentsStefan Boberg2021-09-021-78/+173
|
* CompactBinary: Restricted compact binary attachments to objects to simplify ↵Stefan Boberg2021-09-011-182/+134
| | | | | | package management based on CL16533710 @ p4
* SharedBuffer: MakeOwned now returns a buffer instead of operating in-placeStefan Boberg2021-09-011-8/+4
| | | | CL15713705
* CompactBinary: Added explicit operator bool for array and object typesStefan Boberg2021-09-011-3/+3
| | | | p4 CL16069971
* Remove trace.cpp/h and all traces of usageStefan Boberg2021-08-241-1/+0
|
* CL16570338: CompactBinary: Added validation to LoadCompactBinary and removed ↵Stefan Boberg2021-08-201-34/+68
| | | | asserts from the other load functions
* Renamed CompactBinaryAttachment to ObjectAttachment to mimic UE (see CL16510518)Stefan Boberg2021-08-201-18/+18
|
* Removed a const which upsets VS 16.9.5 for whatever reasonStefan Boberg2021-05-131-2/+2
|
* Implemented move-in-place for large CAS payloadsStefan Boberg2021-05-131-1/+4
|
* Made SharedBuffer/UniqueBuffer share guts with IoBufferStefan Boberg2021-05-131-2/+2
| | | | This enables way more efficient marshaling of compact binary objects and attachments
* Implemented basic support for marshaling attachments out-of-band with the ↵Stefan Boberg2021-05-111-3/+11
| | | | | | | | package payload Currently supported in project store but will also be used for the structured cache Currently, cleanup is missing. Ultimately the intent is that the file used for marshaling will simply be moved into place.
* Adding zenservice codeStefan Boberg2021-05-111-0/+945