Commit Graph

448 Commits

Author SHA1 Message Date
Tim Smith
78d9b37bdf Fixed threading issue with editor only check on optional classes. Other objects can not be inspected until parsing has been completed.
#rb self
#rnx
#fyi francis.hurteau
#preflight 6290d808b974ae8eb040e58e

[CL 20392973 by Tim Smith in ue5-main branch]
2022-05-27 10:12:44 -04:00
francis hurteau
94281d5ef7 Expand the check for optional class not to allow editor only properties but also prevent struct properties from containing editor only properties
#rb Tim.Smith
#preflight 628d33376c4351e37291b959

#ROBOMERGE-AUTHOR: francis.hurteau
#ROBOMERGE-SOURCE: CL 20370136 via CL 20371532 via CL 20371546 via CL 20371560
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20372798 by francis hurteau in ue5-main branch]
2022-05-25 18:38:47 -04:00
robert manuszewski
e579cfedf8 Removing debug code
#rb trivial
#preflight none

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20277682 via CL 20277694 via CL 20277695 via CL 20277698
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20278116 by robert manuszewski in ue5-main branch]
2022-05-19 06:58:42 -04:00
ben zeigler
da8766633c Fix issue where BP callable functions on native interfaces were incorrectly detected as invalid
This is fallout from fixing UE-99628, this check was missed when adding NotBlueprintable as a proper keyword
#rb phillip.kavan
#preflight 62759a302e58cb727d5c144f

[CL 20166884 by ben zeigler in ue5-main branch]
2022-05-12 13:09:35 -04:00
Helge Mathee
074029cadc RigVM: Automatically mark up rig structs as blueprint type in the HeaderParser
#jira na
#rb sara.schvartzman
#preflight https://horde.devtools.epicgames.com/job/6257ef0bd606fd159eb75496

[CL 19752875 by Helge Mathee in ue5-main branch]
2022-04-14 06:09:20 -04:00
Thomas Sarkanen
98c834dfd7 Control rig and RigVM changes to allow for data interface prototype to be further developed
This removes some of the dependencies on UControlRigBlueprint and replaces them with 'host' interfaces for URigVMController and URigVMGraph.
Also adds support for TScriptInterfaces in RigVM. This includes a modification of the RigVM parts of UHT.
Some of these changes are due to be reworked later to allow RigVM-hosting systems to not have to be also implemented in terms of control rig.

#rb Helge.Mathee,Sara.Schvartzman
#fyi Helge.Mathee,Sara.Schvartzman
#preflight 624d857aa64871f1a11ef3f9

[CL 19645705 by Thomas Sarkanen in ue5-main branch]
2022-04-06 08:26:45 -04:00
Patrick Boutot
ac1b5333fa UHT: Support enum namespace as accessor type
#preflight 624732d2c61d8a458f615f71

[CL 19591307 by Patrick Boutot in ue5-main branch]
2022-04-01 13:25:05 -04:00
sara schvartzman
c7b0e74c59 Controlr Rig: UI implementation of Aggregate nodes
#jira UE-146928
#rb helge.mathee
#preflight https://horde.devtools.epicgames.com/job/62433ef7dc6183e3f5e500dc

[CL 19554694 by sara schvartzman in ue5-main branch]
2022-03-30 05:21:45 -04:00
robert manuszewski
64305a4b12 Fixing static array properties with setters and getters not generating correct wrapper code
#rb Tim.Smith
#preflight 624307e5c51908059a979885

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19541948 via CL 19543263 via CL 19543382 via CL 19543410
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19544439 by robert manuszewski in ue5-main branch]
2022-03-29 12:56:22 -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
Patrick Boutot
2c45e14e5e UHT: Autogenerate the Getter/Setter accessor. The setter and getter can now also be UFunction. It allow some deprecation path.
#preflight 6239dbc5c73745c6009df1a1

[CL 19466367 by Patrick Boutot in ue5-main branch]
2022-03-22 10:39:00 -04:00
halfdan ingvarsson
00579ea89f RigvM: Bracket Uobject / Uinterface functionality
Added new define as an overall toggle - defaults to off.
If turned on the functionality can be disabled using a console variable

#rb sara.schvartzman
#jira UE-145106
#preflight https://horde.devtools.epicgames.com/job/6230657b306f46da147a3188

#ROBOMERGE-OWNER: halfdan.ingvarsson
#ROBOMERGE-AUTHOR: helge.mathee
#ROBOMERGE-SOURCE: CL 19384087 via CL 19384325 via CL 19385988 via CL 19397856 via CL 19397869
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19403124 by halfdan ingvarsson in ue5-main branch]
2022-03-16 03:28:36 -04:00
Tim Smith
25a0c64f40 Minor fix to prior change to enum parsing to fix issue where some comments were now being included when there previously were not.
#rnx
#rb trivial
#preflight 6230d56d640ce2a64afc3fdc

[CL 19389978 by Tim Smith in ue5-main branch]
2022-03-15 14:21:33 -04:00
Tim Smith
f679d1b7a3 Add support for deprecation macros for enum values in UHT
#rb trivial
#preflight 6230ac4c143c5440c8417f03

[CL 19386702 by Tim Smith in ue5-main branch]
2022-03-15 11:26:46 -04:00
Patrick Boutot
1e4c3973db UHT: Add FieldNotify specifier to UHT. It auto generate the UE_FIELD_NOTIFICATION_DECLARE_CLASS_DESCRIPTOR and UE_FIELD_NOTIFICATION_IMPLEMENT_CLASS_DESCRIPTOR macro. FieldNotify is only available on FProperty and UFunction member of a UCLass and if the UClass implement the INotifyFieldValueChanged interface.
#preflight 622f43d419287beb2c316755

[CL 19372159 by Patrick Boutot in ue5-main branch]
2022-03-14 09:47:28 -04:00
Tim Smith
3044817c8b Deprecate CLASS_NoExport. It was only being used by UHT.
#rb trivial
#rnx
#jira UE-117144
#preflight 622f32e80a342dea04e2face

[CL 19371725 by Tim Smith in ue5-main branch]
2022-03-14 08:36:12 -04:00
Tim Smith
037175a783 Add internal use command line options to UHT. One to enable debugger code generation outout and one to disable the concurrent processing.
#rnx
#rb trivial
#preflight 622227d0945d64b4ec3bb0d5

[CL 19265968 by Tim Smith in ue5-main branch]
2022-03-04 09:57:14 -05:00
Helge Mathee
79aa2efe18 Control Rig: Implement upgrade path to all nodes
#rb benoit.gadreau
#jira UE-141505
#preflight https://horde.devtools.epicgames.com/job/6220faa46a33f9b416b0f292

[CL 19264381 by Helge Mathee in ue5-main branch]
2022-03-04 06:27:54 -05:00
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