Commit Graph

886 Commits

Author SHA1 Message Date
Helge Mathee
74987bc740 RigVM: Move NameCaching to RigVM module
Also move base class for struct tests to RigVM module

#rb benoit.gadreau
#jira na
#preflight https://horde.devtools.epicgames.com/job/636cd909376a9cd6a8ebab24

[CL 23076572 by Helge Mathee in ue5-main branch]
2022-11-10 08:00:53 -05:00
Helge Mathee
32963f057c RigVM: Centralize use of RigVMExecuteContext
#rb halfdan.ingvarsson
#jira UE-169677
#preflight https://horde.devtools.epicgames.com/job/636cc3b24d3c1d9d92868927

[CL 23073598 by Helge Mathee in ue5-main branch]
2022-11-10 04:36:01 -05:00
Ben Marsh
193687cd32 Horde: Include additional metadata for the author and committer of each change.
#preflight none

[CL 23064344 by Ben Marsh in ue5-main branch]
2022-11-09 17:13:20 -05:00
Ben Marsh
4d350aff08 Horde: Move CommitNode into EpicGames.Horde, and allow reading anonymous TreeNodeRef types. Now that type information is embedded in the bundle, we no longer need to have overridden read methods for each type.
#preflight none

[CL 23063696 by Ben Marsh in ue5-main branch]
2022-11-09 16:52:17 -05:00
Ben Marsh
a5e60969c3 Horde: Ensure computed hashes for serialized nodes are identical to serialized data (ie. not including a separate array of hashes).
#preflight none

[CL 23061307 by Ben Marsh in ue5-main branch]
2022-11-09 15:22:33 -05:00
Ben Marsh
f73603b46f Horde: Add a node type for storing opaque compact-binary objects without transcoding them into some other form.
#preflight none

[CL 23060179 by Ben Marsh in ue5-main branch]
2022-11-09 14:35:26 -05:00
Ben Marsh
33da272f85 Horde: Missing file.
#preflight none

[CL 23058595 by Ben Marsh in ue5-main branch]
2022-11-09 13:33:42 -05:00
Ben Marsh
5a570a4e74 Horde: Various changes to bundle utility classes.
* Bundles now include a unique identifier (GUID) for the type of each exported node, as well as a version number for serializer. Unique identifier and version number is configured through the TreeNodeAttribute class which must be attached to each node type.
* Known node types are registered explicitly through the TreeReaderOptions class passed to the TreeReader constructor. Types are discovered as needed when writing nodes to TreeWriter, via the type of supplied objects.
* Support for custom deserializers is removed. Nodes are always constructed via a constructor taking a ITreeNodeReader argument.
* Nodes are now read from bundles using an explicitly instantiated TreeReader class, which removes a lot of the complexity from StorageNodeBase.

#preflight none

[CL 23058577 by Ben Marsh in ue5-main branch]
2022-11-09 13:32:45 -05:00
josh adams
c73c7c2c1d - Added missing param comment for a new function in EpicGames.Core
#preflight skip
#rb trivial

[CL 23049850 by josh adams in ue5-main branch]
2022-11-09 04:11:23 -05:00
josh adams
f7bf13d747 - Added CreateObjectList to StringUtils, this is helpful for some refactoring in other code, but it could be a useful utility function to have
#rb tim.smith
#preflight 636a798cdc30a4ce96a496e7

[CL 23039093 by josh adams in ue5-main branch]
2022-11-08 16:01:44 -05:00
Ben Marsh
f0c9bcc7e7 Horde: Missing files.
#preflight none

[CL 23030917 by Ben Marsh in ue5-main branch]
2022-11-08 12:09:56 -05:00
Ben Marsh
5e6448a0fa Horde: Incremental GC for storage. Now tracks bundle import metadata in the database and tracks and removed references to bundles in Redis, before querying DB to determine if any references still exist.
#preflight none

[CL 23030899 by Ben Marsh in ue5-main branch]
2022-11-08 12:09:28 -05:00
Tim Smith
0f859f5f71 Improved C# UHT circular include detection and logging.
#rb self
#preflight 636a503e63037c1026421efe

[CL 23026769 by Tim Smith in ue5-main branch]
2022-11-08 08:07:03 -05:00
Ben Marsh
4615cc7a65 Remove IList.BinarySearch extension methods due to IList not deriving from IReadOnlyList, and some classes implementing both.
#preflight none

[CL 23016231 by Ben Marsh in ue5-main branch]
2022-11-07 15:04:41 -05:00
Ben Marsh
4604abc152 UGS: Fix PCBs not showing if built for changelists not visible for the current project.
#preflight none

[CL 23015525 by Ben Marsh in ue5-main branch]
2022-11-07 14:40:57 -05:00
Tim Smith
81a3067e8f Added more complete recursion include checking in C# UHT.
Fixed threading issue in C# UHT message output.

#rb self
#rnx
#preflight 6369290c63037c1026d8fe95

[CL 23011632 by Tim Smith in ue5-main branch]
2022-11-07 11:07:29 -05:00
Ben Marsh
cab220dbe9 P4VUtils: Fix compilation errors due to using NET Core 3.1.
#preflight none
#fyi Paul.Chipchase

[CL 23009622 by Ben Marsh in ue5-main branch]
2022-11-07 08:28:12 -05:00
carl bystrom
9929f84041 Horde: Respect client file paths when syncing without a have table
#preflight 636548f8f233f06a12ef8813

[CL 22990439 by carl bystrom in ue5-main branch]
2022-11-04 13:18:44 -04:00
carl bystrom
d56648da19 Horde: Add alternative sync method for ManagedWorkspace not using client's have table
The new class DepotStreamTreeBuilder is simply code extracted from FindClientContentsAsync to avoid duplicating that. Ideally, that method would also use this class but want to minimize changes to existing code with this CL.

#preflight 6363eae0dc30a4ce960eafac

[CL 22957336 by carl bystrom in ue5-main branch]
2022-11-03 13:05:51 -04:00
Tim Smith
1b683ffcf8 Fixed C++ UHT to match recent changes to C# UHT
#rb sara.schvartzman
#preflight 6363c253dc30a4ce96fc129a

[CL 22951982 by Tim Smith in ue5-main branch]
2022-11-03 09:42:39 -04:00
joe kirchoff
144ce56048 UnrealBuildTool: Move some util properties to EpicGames.Build
#rnx
#rb trivial
#preflight 6362e8e86000216d2e2b4bdd

[CL 22937953 by joe kirchoff in ue5-main branch]
2022-11-02 23:07:24 -04:00
tim smith
36d48c7e41 Fixed C# UHT to properly handle a Java style ignore comment followed by a C++ line comment resulting in a mismatch between C++ UHT and C# UHT in the tooltip.
#rb self
#preflight 6362857a54471d10bef62060

[CL 22919837 by tim smith in ue5-main branch]
2022-11-02 12:53:09 -04:00
tim smith
9bd4a477e6 Updated C++ UHT to match C# UHT global delegate changes
#rb self
#preflight 6362769454471d10beef033e

[CL 22919817 by tim smith in ue5-main branch]
2022-11-02 12:52:47 -04:00
tim smith
5f2a5bcff0 Fixed C# UHT so that enumerations can not contain value names of TRUE or FALSE (case insensitive).
#rb self
[FYI] maxime.mercier
#preflight 636272f8522c8f7ab33488ea

[CL 22919757 by tim smith in ue5-main branch]
2022-11-02 12:50:37 -04:00
henrik karlsson
862ef70ca4 [UHT]
* Fixed so delegate wrapper function is implemented in cpp file to be able to forward declare types used by delegate

#preflight 6360593fc6242f88a4c1fe5a
#rb none

[CL 22888516 by henrik karlsson in ue5-main branch]
2022-11-01 15:06:21 -04:00