Commit Graph

455 Commits

Author SHA1 Message Date
tim smith
3789d080bb Added support for ": int" size for regular and namespace enums. Only "int" is supported.
#rb henrik.karlsson
#preflight 6307d53b5a76ca27a8a7121c

[CL 21585169 by tim smith in ue5-main branch]
2022-08-26 01:47:13 -04:00
henrik karlsson
213a68824f * UnrealHeaderTool - Fixed so destructor is declared and defined for code gen classes
* UnrealTypeDefinitionInfo - Explicitly added destructor to make sure code gen is not adding.
* Niagra - Fixed bug where function was declared as non-inline virtual but implemented as inline.
* RecastNavmesh - Made sure destructor is outside #ifdef for UHT to more easily parse the header and generate proper code

#rb Tim.Smith
#preflight 630660a4c00af5e2946af6a6

[CL 21555810 by henrik karlsson in ue5-main branch]
2022-08-24 19:22:18 -04:00
Tim Smith
fa8d3bc2af Added support for final keyword on structure definitions
#jira UE-146768
#8993
#rb self
#preflight 63063f76ae13a5a09838e88c

[CL 21541526 by Tim Smith in ue5-main branch]
2022-08-24 11:25:47 -04:00
Tim Smith
85a2476ec8 Fix header tool error when class name contains only a prefix.
#jira UE-161655
#9509
#rb self
#preflight 630633fa5366f61a42bd8db5

[CL 21540326 by Tim Smith in ue5-main branch]
2022-08-24 10:26:51 -04:00
Zousar Shaker
fa14a019ff 2nd submit:
Remove special case handling of engine plugins in UHT for ObjectPtr behavior.

#rb none
#preflight 62ffc2690f7187ef8112f23f

[CL 21466661 by Zousar Shaker in ue5-main branch]
2022-08-19 18:04:34 -04:00
Zousar Shaker
7b3840b9b2 [Backout] - CL21460034
#fyi Zousar.Shaker
Original CL Desc
-----------------------------------------------------------------
Remove special case handling of engine plugins in UHT for ObjectPtr behavior.

#rb none
#preflight 62ffc2690f7187ef8112f23f

[CL 21461028 by Zousar Shaker in ue5-main branch]
2022-08-19 13:57:01 -04:00
Zousar Shaker
20bdfad92d Remove special case handling of engine plugins in UHT for ObjectPtr behavior.
#rb none
#preflight 62ffc2690f7187ef8112f23f

[CL 21460034 by Zousar Shaker in ue5-main branch]
2022-08-19 13:10:17 -04:00
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