Commit Graph

404 Commits

Author SHA1 Message Date
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
zousar shaker
0f5eb6cd81 Enforce use of TObjectPtr instead of raw pointers for member properties on all engine modules (but not all engine plugins) regardless of project and all modules used from ShooterGame.
#rb matt.peters

#ROBOMERGE-SOURCE: CL 17313796 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17315199 by zousar shaker in ue5-release-engine-test branch]
2021-08-26 07:05:33 -04:00
daren cheng
52d2948d2e Add support for prioritization of categories.
Change commontext display order

#jira UE-122344
#rb Tim.Smith
#preflight 612400dfcc11eb00018dce1c

#ROBOMERGE-SOURCE: CL 17288271 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17288281 by daren cheng in ue5-release-engine-test branch]
2021-08-24 12:05:36 -04:00
tim smith
54ab580651 Improved the error message when a deprecated type is found in a non-deprecated function
#rb none
#rnx
#jira UE-87673

#ROBOMERGE-SOURCE: CL 17014970 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v839-17012307)

[CL 17014976 by tim smith in ue5-release-engine-test branch]
2021-08-02 07:51:27 -04:00
tim smith
c73272280d Remove the usage of CLASS_Parsed and CLASS_CustomConstructor.
#rb none
#rnx
#jira UE-117144
#preflight 6102dbc84cd7930001bd626d

#ROBOMERGE-SOURCE: CL 16998823 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16998829 by tim smith in ue5-release-engine-test branch]
2021-07-29 14:15:35 -04:00
tim smith
b8020bdcbc Generate an error when a BlueprintNativeEvent references a const class but the parameter is not marked const.
#rb none
#rnx
#jira UE-38145
#preflight 61003b8328ba090001744a24
#preflight 610145839112370001a051ff

#ROBOMERGE-SOURCE: CL 16981401 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16981407 by tim smith in ue5-release-engine-test branch]
2021-07-28 08:43:37 -04:00
helge mathee
58e0665acc RigVM: Implementing support for new memory storage
All code is still based on the UE_RIGVM_UCLASS_BASED_STORAGE_DISABLED define, which is turned on.
So the feature / changes don't affect anything just yet.

#rb na
[FYI] jack.cai halfdan.ingvarsson
#jira na

#ROBOMERGE-SOURCE: CL 16970759 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16970901 by helge mathee in ue5-release-engine-test branch]
2021-07-27 14:04:39 -04:00
tim smith
275ba4dbc8 Fix issue with Placeable/NotPlaceable, EditInlineNew/NotEditInlineNew, and CollapseCategories/DontCollapseCategories would not properly clear inherited flag from super class.
#rb trivial
#rnx
#jira UE-98181
#preflight 60fff2d9118e5b000122dd26

#ROBOMERGE-SOURCE: CL 16967939 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16967947 by tim smith in ue5-release-engine-test branch]
2021-07-27 09:17:12 -04:00
tim smith
e33a680de7 Fix issue where UHT was unable to generate functions with deprecated parameters.
#rb none
#rnx
#jira UE-87673
#jira UE-61906

#ROBOMERGE-SOURCE: CL 16938132 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16938135 by tim smith in ue5-release-engine-test branch]
2021-07-23 12:02:05 -04:00
tim smith
dfa6a79e7c 1) Moved some string initialization to the parsing code so it can be run concurrently with all other parsing and not be applied to the post parsing time.
2) Improved the performance of the array dimension enum lookup code.
3) Moved type shutdown to be tracked in the app instead of at c++ exit time.
4) Changed to TSharedRef iteration to use references instead of by value to avoid the performance hit.

#rb none
#rnx

#ROBOMERGE-SOURCE: CL 16936536 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16936540 by tim smith in ue5-release-engine-test branch]
2021-07-23 08:46:32 -04:00
tim smith
ce89d08530 Remove the need for GetClass during code generation
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 16899911 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16899958 by tim smith in ue5-release-engine-test branch]
2021-07-20 14:56:45 -04:00
tim smith
b28ff61e27 1) Removed the need to create a UScriptStruct to test to see if it has a NoOp constructor.
2) Added a quick method to query the deferred CppStructOps until we decide on a long term solution
3) Added method to test to see if a source file is the NoExports include file.

#rb none
#rnx
#preflight 60f6c42f25c166000152cbdc

#ROBOMERGE-SOURCE: CL 16895867 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16895873 by tim smith in ue5-release-engine-test branch]
2021-07-20 09:30:31 -04:00
tim smith
4ab05517cf Improved the detection of class methods. Resolves issue of incorrectly matching method names in comments.
#jira UE-85807
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 16886923 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16886976 by tim smith in ue5-release-engine-test branch]
2021-07-19 14:42:38 -04:00
tim smith
b3ec04b1e1 Change the Token to use a StringView instead of copying the text directly into two different buffers in the token. Improves performance of the tokenizer and provides a much smaller structure that can be cached for other uses.
#rb none
#rnx
#preflight 60f5732c1d824300016d0630

#ROBOMERGE-SOURCE: CL 16882977 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16882990 by tim smith in ue5-release-engine-test branch]
2021-07-19 09:35:19 -04:00
tim smith
4441c73c6d Removed the FToken from the FFuncInfo structure.
Saved around 100MB of memory on some larger games.

#rb none
#rnx
#preflight 60d335d1be81e80001bd8772

#ROBOMERGE-SOURCE: CL 16757044 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16757056 by tim smith in ue5-release-engine-test branch]
2021-06-23 10:48:20 -04:00
tim smith
65a22303d8 Fix issue where USTRUCTs and UDELEGATES don't generate an error if the H file doesn't include the generated H file. There us currently no requirement for UENUM.
#jira UE-49820
#rb trivial
#preflight 60d1eb9b95e2320001770748

#ROBOMERGE-SOURCE: CL 16743622 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16743627 by tim smith in ue5-release-engine-test branch]
2021-06-22 11:21:23 -04:00
tim smith
b74d0954a2 Fix issue where /* /* */ comment would cause UHT to crash.
#jira UE-89192
#rb trivial
#preflight 60d0ebc195e23200014d07ec

#ROBOMERGE-SOURCE: CL 16734161 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16734182 by tim smith in ue5-release-engine-test branch]
2021-06-21 17:10:24 -04:00
tim smith
ac13af7abe Removed the Class/Struct meta data class.
Fixed some API that were mistakenly setup as generic struct API instead of class API.
Removed some unused API.
No functional changes, just code reorg.

#rb none
#rnx
#preflight 60d08126d9586b0001ae3336

#ROBOMERGE-SOURCE: CL 16727641 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16727647 by tim smith in ue5-release-engine-test branch]
2021-06-21 09:35:30 -04:00
tim smith
f0efc5aeaf Added support for a UEnum not containing a literal zero value. If that is the case, a static_assert is added to verify that one of the enum values is zero.
#rb jonathan.adamczewski
#jira UE-85060
#preflight 60cb726c78c3b00001297ce7

#ROBOMERGE-SOURCE: CL 16706846 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16706890 by tim smith in ue5-release-engine-test branch]
2021-06-17 13:41:17 -04:00
tim smith
c18f0ec418 Cleaning up the compiler directive code.
Add error message for when WITH_EDITOR used in shipping code to hide a property.

#rb jonathan.adamczewski
#rnx
#jira UE-48666

#ROBOMERGE-SOURCE: CL 16687191 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16687195 by tim smith in ue5-release-engine-test branch]
2021-06-16 08:50:17 -04:00
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