Commit Graph

423 Commits

Author SHA1 Message Date
zousar shaker
09c4c45f03 Fix issues with the TObjectPtr upgrade toolchain in preparation of another pass to make ShooterGame compliant and enforce the use of TObjectPtr for all member properties.
#rb matt.peters

#ROBOMERGE-SOURCE: CL 16622906 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v830-16605563)

[CL 16622920 by zousar shaker in ue5-release-engine-test branch]
2021-06-10 10:20:49 -04:00
tim smith
af243577b4 Fixed global delegate functions to support changes when doing live coding.
Fixed issue where changing a function signature in an interface wouldn't update nodes in a blueprint.
Changed the API of the deferred registry to be more inline with UE coding standards.

#rb ben.marsh phillip.kavan
#rnx
#jira UE-113662
#preflight 60c0c0fdc61264000190e16a

#ROBOMERGE-SOURCE: CL 16606206 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16606221 by tim smith in ue5-release-engine-test branch]
2021-06-09 11:43:12 -04:00
Tim Smith
9072242c05 Modify propagation of some property flags to happen after all parsing is complete. This removes a hidden restriction where parse order beyond explicit includes affected the output.
Enable concurrent parsing of headers.
Fixing uninitialized variable from prior submit.

Tested by running UHT on a sample large scale game 1000 times and verifying the output matched with a prior version of UHT.

#rb jonathan.adamczewski
#rnx
#preflight 60be0b3a0249c30001e9b0e5

[CL 16568873 by Tim Smith in ue5-main branch]
2021-06-07 08:08:33 -04:00
Tim Smith
72126e50b9 Undo //UE5/Main/Engine/Source/Programs/UnrealHeaderTool/Private/... changelist 16554523
[CL 16555686 by Tim Smith in ue5-main branch]
2021-06-03 20:34:03 -04:00
Tim Smith
3ae8fb8678 Modify propagation of some property flags to happen after all parsing is complete. This removes a hidden restriction where parse order beyond explicit includes affected the output.
Enable concurrent parsing of headers.

Tested by running UHT on a sample large scale game 1000 times and verifying the output matched with a prior version of UHT.

#rb jonathan.adamczewski
#rnx
#preflight 60b93533884c630001f06a7d

[CL 16554523 by Tim Smith in ue5-main branch]
2021-06-03 18:20:05 -04:00
Tim Smith
bdc1a5d293 Fixing issue in UHT where the CLASS_Config and CLASS_HasInstancedReference flags might not get property propagated when the parent and child are in the same H file.
#rb marc.audy
#rnx
#preflight 60b81011107dc60001a281d5
#preflight 60b823fb8e7ee10001dacb67

[CL 16543221 by Tim Smith in ue5-main branch]
2021-06-02 21:53:36 -04:00
Tim Smith
c40a70a473 Changed the metadata base class API to return a reference to the local meta data since all users now supply metadata.
Moved the parsing of the enumeration form and underlying type to the pre-parser so they can be accessed during the parse phase.
Fixed "warning as errors" return code.
Removed the SimplePropertyTypeDispatch since it was only used the the version that supported containers.

#rb self
#rnx
#preflight 60af9c85cd591d0001bc9a6e

[CL 16483831 by Tim Smith in ue5-main branch]
2021-05-27 10:12:41 -04:00
Tim Smith
e5eec0d339 Cleanup of exception and logging.
#rb self
#rnx
#preflight 60af806f388f9600014b89b4

[CL 16482659 by Tim Smith in ue5-main branch]
2021-05-27 08:04:11 -04:00
Tim Smith
b6d62d54c5 Classes and ScriptStructs are now created post-parse
#rb self
#rnx

[CL 16472312 by Tim Smith in ue5-main branch]
2021-05-26 13:58:10 -04:00
Tim Smith
c824d9c0b3 Enumerations are constructed post parse
#rb self
#rnx

[CL 16470925 by Tim Smith in ue5-main branch]
2021-05-26 12:17:18 -04:00
Tim Smith
6dbd708a7b Removed the usage of FError::Throwf and the need for HeaderParser to set a logging context.
#rb self
#rnx
#preflight 60ae3f7f6905a60001243752

[CL 16468733 by Tim Smith in ue5-main branch]
2021-05-26 09:54:27 -04:00
Tim Smith
27c18e8061 Functions are no longer required to be created at parse time.
#rb self
#rnx
#preflight 60ad8b891d784900010f7c88

[CL 16462576 by Tim Smith in ue5-main branch]
2021-05-25 22:15:51 -04:00
tim smith
baa180ad47 Properties engine types no longer need to be created during parsing.
#rb self
#rnx
#preflight 60ad1c9cbb30900001badd4b

#ROBOMERGE-SOURCE: CL 16451820 in //UE5/Main/... via CL 16451834
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Release-Engine-Staging) (v818-16446889)

[CL 16451843 by tim smith in ue5-release-engine-staging branch]
2021-05-25 13:03:26 -04:00
Tim Smith
8d9cf63189 Properties engine types no longer need to be created during parsing.
#rb self
#rnx
#preflight 60ad1c9cbb30900001badd4b

[CL 16451820 by Tim Smith in ue5-main branch]
2021-05-25 13:02:42 -04:00
tim smith
fa37c2725e Implement a common meta data container to be shared between all types.
Moving more property functionality into PropertyTypes
Assorted cleanup of other methods.

#rb self
#rnx

#ROBOMERGE-OWNER: tim.smith
#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 16447199 in //UE5/Main/... via CL 16447502
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Release-Engine-Staging) (v818-16446889)

[CL 16447513 by tim smith in ue5-release-engine-staging branch]
2021-05-25 10:01:11 -04:00
Tim Smith
4e09fb650a Implement a common meta data container to be shared between all types.
Moving more property functionality into PropertyTypes
Assorted cleanup of other methods.

#rb self
#rnx

[CL 16447199 by Tim Smith in ue5-main branch]
2021-05-25 09:43:57 -04:00
tim smith
070cf456ce Remove all GetProperty calls
#rb self
#rnx
#preflight 60ac45318194e7000114aea5

#ROBOMERGE-SOURCE: CL 16443629 in //UE5/Main/... via CL 16443640
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Release-Engine-Staging) (v814-16434418)

[CL 16443641 by tim smith in ue5-release-engine-staging branch]
2021-05-24 21:40:52 -04:00
Tim Smith
16f2bed91a Remove all GetProperty calls
#rb self
#rnx
#preflight 60ac45318194e7000114aea5

[CL 16443629 by Tim Smith in ue5-main branch]
2021-05-24 21:36:39 -04:00
tim smith
c8b5d314f2 Removed most of GetClass calls.
#rb self
#rnx
#preflight 60abf088bb309000018d647f

#ROBOMERGE-SOURCE: CL 16439221 in //UE5/Main/... via CL 16439241
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Release-Engine-Staging) (v814-16434418)

[CL 16439251 by tim smith in ue5-release-engine-staging branch]
2021-05-24 15:38:26 -04:00
Tim Smith
268d862932 Removed most of GetClass calls.
#rb self
#rnx
#preflight 60abf088bb309000018d647f

[CL 16439221 by Tim Smith in ue5-main branch]
2021-05-24 15:36:52 -04:00
tim smith
94714e88cd Removing GetScriptStruct and GetStruct as much as possible.
#rb self
#rnx
#preflight 60abcdea04188d0001af7b39

#ROBOMERGE-SOURCE: CL 16437013 in //UE5/Main/... via CL 16437024
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Release-Engine-Staging) (v814-16434418)

[CL 16437032 by tim smith in ue5-release-engine-staging branch]
2021-05-24 13:00:54 -04:00
Tim Smith
7e79fc7175 Removing GetScriptStruct and GetStruct as much as possible.
#rb self
#rnx
#preflight 60abcdea04188d0001af7b39

[CL 16437013 by Tim Smith in ue5-main branch]
2021-05-24 13:00:29 -04:00
tim smith
7c17f147f1 Changed more routines to not use UFunction type.
Removed GetEnum as much as possible.

#rb self
#rnx
#preflight 60aba9191d02bb00011bb579

#ROBOMERGE-SOURCE: CL 16435208 in //UE5/Main/... via CL 16435211
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Release-Engine-Staging) (v814-16434418)

[CL 16435212 by tim smith in ue5-release-engine-staging branch]
2021-05-24 10:10:16 -04:00
Tim Smith
64372c2039 Changed more routines to not use UFunction type.
Removed GetEnum as much as possible.

#rb self
#rnx
#preflight 60aba9191d02bb00011bb579

[CL 16435208 by Tim Smith in ue5-main branch]
2021-05-24 10:08:26 -04:00
tim smith
f9ea7e34b2 Removed most calls to GetFunction (parser still uses it a lot)
#rb self
#rnx
#preflight 60ab8a011d02bb00011807f0

#ROBOMERGE-SOURCE: CL 16434562 in //UE5/Main/... via CL 16434564
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Release-Engine-Staging) (v814-16434418)

[CL 16434565 by tim smith in ue5-release-engine-staging branch]
2021-05-24 07:57:09 -04:00