Commit Graph

831 Commits

Author SHA1 Message Date
sara schvartzman
c5af22e8a9 Control Rig: Fix TEnumAsByte not casting correctly in the generated headers
#jira UE-168624
#udn 00490176
#rb helge.mathee
#preflight https://horde.devtools.epicgames.com/job/635d5ca1df01edd149436805

[CL 22858512 by sara schvartzman in ue5-main branch]
2022-10-31 07:55:49 -04:00
joe kirchoff
6f4454f093 UnrealHeaderTool: Remove unused code in CodeGenerator.cpp
#rnx
#rb trivial

[CL 22823603 by joe kirchoff in ue5-main branch]
2022-10-28 00:34:33 -04:00
henrik karlsson
612995dbd2 [UHT]
* Moved event parameter structs to .gen.cpp

#preflight 634a36853c37eed481a7dbfe
#rb none

[CL 22549036 by henrik karlsson in ue5-main branch]
2022-10-15 13:02:39 -04:00
henrik karlsson
d40f9ed519 [UHT]
* Fixed so SparseClassDataType code generation is not inlined. This makes it possible to forward declare the type used for sparse class data

#preflight 6349aa0bce524ed356fb134b
#rb tim.smith

[CL 22547737 by henrik karlsson in ue5-main branch]
2022-10-15 02:09:15 -04:00
Ryan Gerleve
acc1553813 Changes to allow compiling engine modules with Iris replication code by default, and link against modules/projects that don't depend on Iris.
ModuleRules.SetupIrisSupport defines a new macro to enable or disable the Iris fast array bindings for a module, added UHT support for this. This allows the dependency on the Iris bindings to be compiled out of modules that don't need it and still link with Iris-enabled modules.
Iris plugin disabled by default, should be enabled for specific projects that use it.

#jira UE-160209
#rb mattias.hornlund, peter.engstrom
#preflight 6346fd2cfa31324bb153b63b

[CL 22482725 by Ryan Gerleve in ue5-main branch]
2022-10-12 14:28:30 -04:00
bryan sefcik
8e86bfa25f Added a IWYU pragma to the generated header so IWYU doesn't add the generated headers. They need to be added manually because there should only be one generated header included per header file.
#jira
#preflight 6335f761a852bd922c02588b

[CL 22264266 by bryan sefcik in ue5-main branch]
2022-09-30 01:41:29 -04:00
Zousar Shaker
6540112e2f Allow an Epic-only configuration on UnrealHeaderTool that enforces TObjectPtr usage in Engine Plugins specifically. Cannot be used externally due to the occurrance of third party plugins being placed in the engine plugins directory. Tested against C++ UHT and C# UHT both with and without the Epic-only configuration file present.
#rb tim.smith
#preflight 6334666b0169596cdf0cc710

[CL 22225475 by Zousar Shaker in ue5-main branch]
2022-09-28 12:58:24 -04:00
tim smith
d97581da03 Fix wrong API macro being used in C# UHT
Cleaned up formatting in both C++ and C# UHT

#rb self
#preflight 632b37b21003050806ec9f3a

[CL 22140411 by tim smith in ue5-main branch]
2022-09-22 14:05:55 -04:00
henrik karlsson
19e2368228 [UHT]
* Fixed so dll export is added to GetLifetimeReplicatedProps
* Fixed so UFUNCTION that produce _Validate function adds dll export if class is not dll exported but function is

#preflight 632a522cb40000c8f099fccb
#rb Tim.Smith

[CL 22110139 by henrik karlsson in ue5-main branch]
2022-09-21 07:33:55 -04:00
Devin Doucette
76234e85ae Set EngineIncludeOrderVersion.Latest for several additional targets
#preflight 6318ddca2b7fe03eb66fbb46
#rb none
#rnx

[CL 21858206 by Devin Doucette in ue5-main branch]
2022-09-07 14:45:10 -04:00
jessica agee
403f029bd7 Set UnsafeTypeCastWarningLevel to Error for a few widely-used modules
#rb none
#preflight 630d013af92416fb926b3c7a
#preflight 630d0938e54ec9d5815ebb45

[CL 21696478 by jessica agee in ue5-main branch]
2022-08-30 02:22:04 -04:00
Devin Doucette
af02fca022 Fixed unsafe type casts in UHT
#preflight 630d013af92416fb926b3c7a
#rb Bryan.Sefcik
#rnx

[CL 21686635 by Devin Doucette in ue5-main branch]
2022-08-29 15:56:30 -04:00
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
tim smith
84d854bb90 Updated C# UHT with the destructor changes and making a minor fix to the formatting.
#rb self
#preflight 6307a3632a56ec23c843da3b

[CL 21585155 by tim smith in ue5-main branch]
2022-08-26 01:46:39 -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
8480a2d1a1 CoreNet.h will now be automatically included when needed.
#rb self
#jira UE-160243
#preflight 62fcee9787319bacfb0bc705

[CL 21424404 by Tim Smith in ue5-main branch]
2022-08-17 09:50:12 -04:00
bryan sefcik
751e38e8c8 Updated to use FUnrealFunctionDefinitionInfo instead of FUnrealStructDefinitionInfo.
#JIRA

#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21394592 via CL 21396515 via CL 21396869
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21399908 by bryan sefcik in ue5-main branch]
2022-08-15 21:51:42 -04:00
bryan sefcik
23a1f3d430 Fixed Linux compile issue.
#JIRA

#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21393745 via CL 21396338 via CL 21396841
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21399892 by bryan sefcik in ue5-main branch]
2022-08-15 21:51:03 -04:00
bryan sefcik
55ded5e984 Fixed an issue where the generated cpp files weren't including all the needed headers. It relied on the original header that generated the cpp to include all the headers which is a problem because the header could forward declare the types.
#JIRA
#preflight 62fa903bae3edb54c9a08b6e

#ROBOMERGE-OWNER: bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21392760 via CL 21396083 via CL 21396090
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21399837 by bryan sefcik in ue5-main branch]
2022-08-15 21:49:10 -04:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00