Commit Graph

430 Commits

Author SHA1 Message Date
robert manuszewski
e33b9b80b0 It's no longer required to provide an explicit setter or getter name if Setter or Getter tag are present in UPROPERTY macro. If no accessor function name is specified it will be autogenerated.
#rb Steve.Robb
#preflight 6216795ec152c67496dd3acf

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19170586 via CL 19170837 via CL 19170842 via CL 19170845 via CL 19170992
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19171072 by robert manuszewski in ue5-main branch]
2022-02-28 02:40:02 -05:00
marc audy
cff01aa9fa Added support for native FProperty setters and getters.
Setters and getters are native functions called by FProperties when setting property values with *_InContainer functions.
Setters and getter function names can be manually specified with Setter = Func and Getter = Func keywords inside of UPROEPRTY macro but they will also be automatically parsed if the name is not explicitly specified if the setter or getter function name matches SetPropertyName and GetPropertyName pattern.
The latter behavior can be disabled in UHT's DefaultEngine.ini by setting AutomaticSettersAndGetters=False.
ImportText and ExportTextItem functions have been deprecated and should be replaced with *_InContainer or *_Direct variants.

#rb Steve.Robb
#preflight 6210a377a83e0bcefd03d9e1

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19070318 via CL 19098059 via CL 19104650 via CL 19104661 via CL 19110012
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19147839 by marc audy in ue5-main branch]
2022-02-25 10:39:39 -05:00
Tim Smith
cc7bf85f5d 1) Minor updates to code generation to make the checksums a bit more stable
2) Added new struct and class specifiers to account for settings being extracted from the engine code.
3) UHT no longer depends on pre-existing classes in the engine but will use them when it needs to create the engine instances of the classes.

#rb joe.kirchoff, janathan.adamczewski
#rnx
#preflight 620fa0316c6c638c07ddca93

[CL 19049306 by Tim Smith in ue5-main branch]
2022-02-18 08:54:19 -05:00
Helge Mathee
25659c95a1 RigVM: Remove use of UE_RIGVM_UCLASS_BASED_STORAGE_DISABLED define
#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/6206623a963efc0c28d83c37

[CL 18951321 by Helge Mathee in ue5-main branch]
2022-02-11 08:48:47 -05:00
Tim Smith
007a4b4420 UHT will now warn the user if any form of GENERATED_BODY is used in code being skipped.
#rb jonathan.adamczewski
#preflight 62028f977e40979d33b0dc48

[CL 18902909 by Tim Smith in ue5-main branch]
2022-02-08 11:08:20 -05:00
Andrew Davidson
4a3e582384 LWC: Remove UE_LARGE_WORLD_COORDINATES_DISABLED toggle
#rb stephen.holmes
[FYI] zak.middleton
#preflight 61f7d18b114ec25fe09648d6

#ROBOMERGE-OWNER: Andrew.Davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18788533 in //UE5/Release-5.0/... via CL 18788583 via CL 18788850
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
#ROBOMERGE-CONFLICT from-shelf
#preflight 61f7eb7a114ec25fe0990f8c

[CL 18789644 by Andrew Davidson in ue5-main branch]
2022-01-31 10:10:51 -05:00
matt breindel
597fddd644 Improved assertion output for FHeaderParser to provide the name of the struct/class being compiled and a possible user error that might have caused the problem (missing a prefix)
[at]*tim.tillotson
#rb tim.smith
#preflight 61b277aedd082817e81d0866

#ROBOMERGE-AUTHOR: matt.breindel
#ROBOMERGE-SOURCE: CL 18426836 via CL 18428164 via CL 18428184 via CL 18428205 via CL 18435149 via CL 18437401
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18437876 by matt breindel in ue5-release-engine-test branch]
2021-12-10 21:22:25 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
tim smith
5e96b745c7 Temporary fix to a long standing UHT issue made worse by the concurrency changes. If an intermediate file in an include chain doesn't contain any U definitions, it will be omited by UBT causing UHT to have gaps in the include file graph. This results in some delegates not being able to be found.
#jira UE-127685
#rb none
#rnx
#preflight 615727027b2a620001714c51

#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 17693354 in //UE5/Release-5.0/... via CL 17693374
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v875-17642767)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17693384 by tim smith in ue5-release-engine-test branch]
2021-10-01 12:38:40 -04:00
tim smith
25fd5cab31 UnrealHeaderTool crashes with Assertion when structure is missing the proper prefix.
#jira UE-126909
#rb trivial
#rnx
#preflight 6147445211925a00013e00f3

#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 17565863 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17565874 by tim smith in ue5-release-engine-test branch]
2021-09-19 11:03:02 -04:00
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