Commit Graph

437 Commits

Author SHA1 Message Date
jonathan adamczewski
18ac15cbb1 Upgrade to .NET 6.0
#jira UE-119846
#preflight 6241fc06470aff98e943c035

[CL 19531725 by jonathan adamczewski in ue5-main branch]
2022-03-28 15:30:56 -04:00
Ben Marsh
f1e04dc894 Horde: Fix incorrectly named enum members, causing syncing to return invalid records.
#preflight none

[CL 19528834 by Ben Marsh in ue5-main branch]
2022-03-28 12:18:07 -04:00
Ben Marsh
b50740d5c1 Horde: Compact binary serialization improvements.
- Fix serialization of lists, directories and arrays that are set to null.
- Throw an exception when serializing a type that does not have any explicit compact binary field attributes. This is usually an error, caused by serializing a framework type with no matching converter, but can also occur when serializing an empty base class instance. To handle these situations, the class can be marked with [CbObject] to explicitly opt-in to being valid for serialization.

#fyi Joe.Kirchoff
#preflight none

[CL 19526671 by Ben Marsh in ue5-main branch]
2022-03-28 10:11:10 -04:00
Tim Smith
0f0682ee83 Adjusted UHT table initialization in preperation for plugins.
#rb none
#rnx
#preflight 6241ac18bd063ab82296cc0a

[CL 19525715 by Tim Smith in ue5-main branch]
2022-03-28 08:54:49 -04:00
Tim Smith
4f5d1c171d Changed the collection of parsing tables and configuration to be session specific and not a singleton. This is required for plugin support.
#rb none
#rnx
#preflight 623f34e5361866e20fec8e0f

[CL 19521840 by Tim Smith in ue5-main branch]
2022-03-26 12:02:18 -04:00
Ben Marsh
508c144999 Horde: Last batch (hopefully) of static analysis fixes/suppressions.
#preflight 623e144c8073508cfc117a87

[CL 19517822 by Ben Marsh in ue5-main branch]
2022-03-25 15:35:47 -04:00
Tim Smith
63bb8b7b4b Fixed issue where UHT wasn't properly renaming the output files.
Added number of written files as an informational line.

#rb trivial
#rnx
#preflight 623dcf4b4302b204a3681279

[CL 19512496 by Tim Smith in ue5-main branch]
2022-03-25 10:33:06 -04:00
Ben Marsh
7a0ca03010 Fix test failure.
#preflight none

[CL 19511958 by Ben Marsh in ue5-main branch]
2022-03-25 10:01:43 -04:00
Ben Marsh
d9651a6f14 Horde: Fix build errors after BuildGraph refactor.
#preflight none

[CL 19511746 by Ben Marsh in ue5-main branch]
2022-03-25 09:46:16 -04:00
Tim Smith
18468119c1 Updated UHT in UBT with changes to getter/setter lookup.
Fixed comment issue at the end of function declarations.
Fixed nested include file issue.
Fixed issue with RigVM visible arguments.
Updated NoExportTypes.h to mark two structures as core types.
Fixed type check for bit fields in Getter/Setters.

#rb none
#rnx
#preflight 623daea315497b40c209e1c5

[CL 19510306 by Tim Smith in ue5-main branch]
2022-03-25 08:19:29 -04:00
Ben Marsh
5e8a45eab2 Reformat EpicGames.BuildGraph according to style guidelines.
#preflight 623cdba70a073579730cf22b

[CL 19502617 by Ben Marsh in ue5-main branch]
2022-03-24 17:05:58 -04:00
Ben Marsh
cda1b66bba Reformat EpicGames.Core according to standard coding conventions.
#preflight 623cd2e84368f558e30b4a9e

[CL 19502309 by Ben Marsh in ue5-main branch]
2022-03-24 16:35:00 -04:00
Ben Marsh
6b226011d7 Change EpicGames.Serialization library to match standard coding style.
#preflight none

[CL 19501703 by Ben Marsh in ue5-main branch]
2022-03-24 15:56:16 -04:00
Ben Marsh
9a66487017 Reformat EpicGames.IoHash according to coding conventions.
#preflight none

[CL 19500779 by Ben Marsh in ue5-main branch]
2022-03-24 15:24:16 -04:00
Steve Robb
897dd170ab Replacement of DEPRECATED_MACRO with UE_DEPRECATED_MACRO.
#rb devin.doucette
#jira none
#preflight 623b225a7b69b01ec16118a7

[CL 19480377 by Steve Robb in ue5-main branch]
2022-03-23 12:07:25 -04:00
Tim Smith
76b3f0f74a Undo //UE5/Main/Engine/Source/Programs/... changelist 19477828
#preflight skip
#rnx

[CL 19477910 by Tim Smith in ue5-main branch]
2022-03-23 08:30:01 -04:00
Tim Smith
40be3125a0 Moved C# project build support from UAT to EpicGames.Build. Isolated code referencing Microsoft.Build into a dll to avoid any issues calling Assembly.GetTypes(). In prior code, it would attempt to resolve the types for things using Microsoft.Build.Framework and fail to load it. By resolving that issue, any future changes to UBT that will utilize this code will not result in any build/target scripts needing to be modified if they use Assembly.GetTypes().
#rnx
#rb jonathan.adamczewski
#preflight 623b0e64c73745c600b8e626

[CL 19477828 by Tim Smith in ue5-main branch]
2022-03-23 08:17:23 -04:00
Tim Smith
bc16dd9141 Fixing missing copyright
#rb trivial
#rnx
#preflight 623a22591302f69e9a861794

[CL 19470823 by Tim Smith in ue5-main branch]
2022-03-22 15:38:50 -04:00
Tim Smith
fd7bf66db5 Added a sample UHT exporter to dump stats.
Add the ability to disable all default exporters.

#rb trivial
#rnx
#preflight 623a1746ca34ffd7bf6f5632

[CL 19470124 by Tim Smith in ue5-main branch]
2022-03-22 14:52:46 -04:00
Tim Smith
8ebf93c1c2 Fix issue where FColor default values were not working in C# UHT
#rb trivial
#rnx
#preflight 623a147a0820efd0949c57f2

[CL 19469774 by Tim Smith in ue5-main branch]
2022-03-22 14:31:51 -04:00
Ben Marsh
4f74fda8c1 Horde: Use standard coding style for EpicGames.Horde.
#preflight none

[CL 19452872 by Ben Marsh in ue5-main branch]
2022-03-21 11:58:35 -04:00
Tim Smith
603b903987 Prepare UBT and automation code type scanning for the moving of the MSBuild code. This requires a change in how we handle the load failure of Microsoft.build.framework.
#rb leigh.swift
#rnx
#preflight 62337c800820efd0945e40d0

[CL 19424430 by Tim Smith in ue5-main branch]
2022-03-17 14:44:47 -04:00
Tim Smith
90940eb67a 1) Update parser and code gen with FieldNotify changes
2) Update parser and code gen with RigVM changes
3) Fix issue with UhtException not returning Message
4) Fix issue with deprecated functions inside of non-deprecated classes signaling deprecated property issues.

#rb trivial
#rnx
#preflight 62335b558e2a84d9bb6b1429

[CL 19422197 by Tim Smith in ue5-main branch]
2022-03-17 12:23:34 -04:00
Ben Marsh
793c6e8a5a Horde: Normalize namespace names to match assembly names.
#preflight none

[CL 19406255 by Ben Marsh in ue5-main branch]
2022-03-16 11:18:39 -04:00
Ben Marsh
085c944dbb Horde: Support thread safe reads from bundles.
- Node state is now separated into a separate class to allow atomic transitions between imported/exported/standalone states.
- A semaphore is used to limit concurrent reads from underlying storage, so bundles now implement IDisposable.
- DirectoryNode.CopyToDirectoryAsync() spawns multiple tasks to extract data in parallel. The current tree traversal is fairly naive; since it doesn't know which objects are currently in the cache, it can result in a lot of thrashing if the cache is full as objects are purged and re-read to match the traversal order.
- Mutation of the tree is still restricted to a single thread.

#preflight none

[CL 19405679 by Ben Marsh in ue5-main branch]
2022-03-16 10:26:46 -04:00