Commit Graph

411 Commits

Author SHA1 Message Date
Tim Smith
681506d35e 1) Fix minor validation issue where TObjectPtr was being denied as a function return type. Also applied to lazy pointers.
2) Fixed TObjectPtr formatting for return value
3) Fixed TMap formatting when template arguments are also templates.
4) Fixed -Test option

#rnx
#rb trivial
#preflight 6230e6be6d230f4cc8ea6f7a

[CL 19391964 by Tim Smith in ue5-main branch]
2022-03-15 15:27:25 -04:00
Ben Marsh
31e50412e6 Horde: Fix error deserializing file node data from bundles.
#preflight none

[CL 19384615 by Ben Marsh in ue5-main branch]
2022-03-15 09:34:04 -04:00
Ben Marsh
dca1affebb Horde: Fix tests.
#preflight none

[CL 19381096 by Ben Marsh in ue5-main branch]
2022-03-14 21:07:12 -04:00
Ben Marsh
fd9d9932c8 Horde: Encode settings used to replicate data to Perforce in the ref ids. Settings are now copied into a CommitKey object, which is encoded as compact binary and hashed, and also embedded in its original form in the bundle ref.
#preflight none

[CL 19376293 by Ben Marsh in ue5-main branch]
2022-03-14 14:51:49 -04:00
Ben Marsh
f035ee86ae Horde: Rename ReadObject/WriteObject methods on IStorageClient to ReadBlob/WriteBlob for consistency. Objects and blobs are generally treated as identical now.
#preflight none

[CL 19374912 by Ben Marsh in ue5-main branch]
2022-03-14 13:37:17 -04:00
Ben Marsh
5df05854df Horde: Add cancellation token arguments to all IStorageClient extension methods.
#preflight none

[CL 19374508 by Ben Marsh in ue5-main branch]
2022-03-14 13:15:29 -04:00
Ben Marsh
ab05edcdd0 Horde: Add stats for writing out new bundles to storage.
#preflight none

[CL 19373739 by Ben Marsh in ue5-main branch]
2022-03-14 12:14:47 -04:00
Tim Smith
3044817c8b Deprecate CLASS_NoExport. It was only being used by UHT.
#rb trivial
#rnx
#jira UE-117144
#preflight 622f32e80a342dea04e2face

[CL 19371725 by Tim Smith in ue5-main branch]
2022-03-14 08:36:12 -04:00
Ben Marsh
180c64b3cf Horde: More bundle fixes.
- Fixed tracking of parent ownership for child nodes when adding new nodes to the tree.
- Fixed incorrect offsets in exports when multiple items are in a single compression packet.
- Document and enforce invariants when switching nodes between different states. Nodes read from refs are now immediately turned into standalone nodes. Removes unnecessary logic for caching/decompressing nodes in the root ref on demand.

#preflight none

[CL 19368974 by Ben Marsh in ue5-main branch]
2022-03-12 20:43:58 -04:00
Tim Smith
53eee77433 More UHT documentation updates
#rnx
#rb trivial
#preflight 622c9e4e1a639d7b6fc5b5e0

[CL 19367721 by Tim Smith in ue5-main branch]
2022-03-12 09:35:42 -04:00
Joe Kirchoff
73a88da8b3 Horde: Bump DefaultMaxInMemoryBlobLength
#rnx
#rb none
#preflight none

[CL 19363383 by Joe Kirchoff in ue5-main branch]
2022-03-11 18:27:39 -05:00
Ben Marsh
719fa0b9d9 Horde: Fix infinite recursion when trying to upload compact binary encoded objects.
#preflight none
#fyi Joe.Kirchoff

[CL 19362130 by Ben Marsh in ue5-main branch]
2022-03-11 17:35:08 -05:00
Tim Smith
ba6b3ce2af More UHT documentation updates
#rnx
#rb trivial
#preflight 622badb132749f363c920d3e

[CL 19359920 by Tim Smith in ue5-main branch]
2022-03-11 15:25:57 -05:00
Tim Smith
f8a8701e86 More UHT documentation updates
#rnx
#rb trivial
#preflight 622b9a58ea76b02e348843ef

[CL 19358791 by Tim Smith in ue5-main branch]
2022-03-11 14:07:45 -05:00
Joe Kirchoff
bb75809a0e Horde: Add IStorageClient.FindMissingBlobsAsync
#rnx
#rb none
#preflight none

[CL 19358297 by Joe Kirchoff in ue5-main branch]
2022-03-11 13:32:51 -05:00
Tim Smith
58da4d872d More UHT documentation updates
#rnx
#rb trivial
#preflight 622b62e79b7ce6ea5d3ba4ea

[CL 19354682 by Tim Smith in ue5-main branch]
2022-03-11 10:09:11 -05:00
Tim Smith
f5b6a97070 More UHT documentation updates
#rnx
#rb trivial
#preflight 622b541c46679d56c3139ed7

[CL 19353821 by Tim Smith in ue5-main branch]
2022-03-11 09:20:43 -05:00
Ben Marsh
df633e0189 Horde: Missing file.
#preflight none

[CL 19345956 by Ben Marsh in ue5-main branch]
2022-03-10 20:04:04 -05:00
Ben Marsh
17ddfdfdfc Horde: More improvements to Bundles.
- Now does all string manipulations in UTF8 rather than converting to and fro with data received from Perforce
- Added support for reading a stream out of a CbWriter object. This allows pushing data directly to Horde Storage from the piecemeal 1kb buffers it allocates without having to concatenate everything into a contiguous array first, removing some big allocations and data copying on the common path for serializing objects into Horde Storage.
- Refactored the way that BundleNodeRef objects work so they don't need to track the Bundle that owns them, so we can add some serialization/deserialization tests without having to set up as much framework code.

#preflight none

[CL 19345769 by Ben Marsh in ue5-main branch]
2022-03-10 19:56:01 -05:00
Tim Smith
0474f5e1c3 More updates to UHT documentation
#rb trivial
#rnx
#preflight 622a572832749f363c561d7a

[CL 19340519 by Tim Smith in ue5-main branch]
2022-03-10 15:10:36 -05:00
Tim Smith
7d12a32966 Updating UHT documentation
#rnx
#rb trivial
#preflight 622a126b6c2b449433b96cef

[CL 19335808 by Tim Smith in ue5-main branch]
2022-03-10 10:07:54 -05:00
Ben Marsh
3948f921c5 Horde: Fix double-free when using intercepted IO in native perforce library.
#preflight none

[CL 19325783 by Ben Marsh in ue5-main branch]
2022-03-09 16:16:08 -05:00
Ben Marsh
2897458ba4 Horde: Fix corrupt data in native Perforce library when server returns gzipped streams.
- Implementation of this logic exists within the p4 library, but is required to be reimplemented by any custom filesystem implementations.
- Add header for gzip.h utility class used by regular implementation so we can duplicate the logic for our overriden impl.
- Move output folder for compiled binaries under Engine/Binaries.

#preflight none

[CL 19309319 by Ben Marsh in ue5-main branch]
2022-03-08 15:14:22 -05:00
Ben Marsh
a405ab5cbf Horde: Remove temp memory allocation for creating IoHash objects.
#preflight none

[CL 19308788 by Ben Marsh in ue5-main branch]
2022-03-08 14:44:59 -05:00
Tim Smith
3dbb3ed9e7 Minor bug fix to file reader which hadn't been well tested.
#rn trivial
#rnx
#preflight 6227968ce83598518f3a3693

[CL 19305873 by Tim Smith in ue5-main branch]
2022-03-08 13:03:20 -05:00