Commit Graph

480 Commits

Author SHA1 Message Date
sara schvartzman
69501c7d56 RigVM: Predicates Core
#rb helge.mathee
#preflight https://horde.devtools.epicgames.com/job/64674495cb141b29df140664

[CL 25541919 by sara schvartzman in ue5-main branch]
2023-05-19 06:16:13 -04:00
tim smith
d2cb843082 Enhance C#/C++ UHT to be able to parse more C++ attributes.
#rb self
#preflight 645ce92fb71b8186aa54d1e6

[CL 25430021 by tim smith in ue5-main branch]
2023-05-11 12:47:14 -04:00
tim smith
bc6cc0494b Fixing issue where differences in spacing would cause get/set method to not match.
#rb self
#preflight 6421a5b0974dfaa53c947999

[CL 24810929 by tim smith in ue5-main branch]
2023-03-27 18:24:55 -04:00
Steve Robb
d87d4e444e Fixed the unsized properties which have been broken since CL# 3494741 by assuming that int and unsigned int are always 32-bit.
#rb tim.smith, devin.doucette
#jira none
#preflight 6421d4f6c42c7fd1cb953d5c

[CL 24805833 by Steve Robb in ue5-main branch]
2023-03-27 13:49:14 -04:00
tim smith
6c30bc2705 Fixed C++ UHT to be able to detect getter/setter functions that have been declared prior to the property.
Fixed C++ UHT to ignore possible interface classes that might share a name with a UCLASS.

#rb self
#rnx
#preflight 640f356d363e9b40ab8d03b0

[CL 24614322 by tim smith in ue5-main branch]
2023-03-13 12:19:06 -04:00
tim smith
c75a26e0fe Refactor C++ UHT first stage comment stripping to avoid a bug not found in C# UHT.
#rb self
#rnx
#preflight 6408e3508832f48a4dbc5a30

[CL 24567268 by tim smith in ue5-main branch]
2023-03-08 16:38:26 -05:00
tim smith
1d9b5eced2 Updating C++ UHT to match recent changes to C# UHT
#rb self
#rnx
#preflight 6402066da20ddf1bf4b3e7d0

[CL 24500162 by tim smith in ue5-main branch]
2023-03-03 11:39:14 -05:00
tim smith
98fa4b0797 Add support for parsing nested templates in getter/setter methods in C++ UHT.
#rb self
#preflight 63f8c1d5dd78dd50f66fa2cd

[CL 24400829 by tim smith in ue5-main branch]
2023-02-24 10:20:48 -05:00
tim smith
8e8d27fcfb Fixed C#/C++ UHT to allow functions with parameters in WITH_EDITORONLY_DATA blocks.
#rb matt.peters
#preflight 63ed0b78b96a6b2718ba6e51

[CL 24251747 by tim smith in ue5-main branch]
2023-02-16 01:58:07 -05:00
tim smith
15fc6d1b81 Modified UHT to not emit unsued #defines.
#rb joe.pribele
#preflight 63e3ae697848d5c2a7dbb257

[CL 24074831 by tim smith in ue5-main branch]
2023-02-08 12:13:52 -05:00
tim smith
5a2a0dfb29 Fixed issue in C++ UHT with the C# UHT enum change.
#rb self
#rnx
#preflight 63d95eb88505ea6b1fade1c6

[CL 23938840 by tim smith in ue5-main branch]
2023-01-31 17:05:24 -05:00
Tim Smith
3cf40f7cff Removing engine types from C++ UHT.
C++ UHT can no longer run external script generators but can still be used to validate C# UHT.

#rb self
#preflight 63ca8cb06a00f3cc8ee8b943

[CL 23788618 by Tim Smith in ue5-main branch]
2023-01-20 07:56:59 -05:00
dan oconnor
ed1ffa4216 Add UPARAM(Required) markup for marking function parameters as required (must be linked to some other node in a Blueprint) - example usage:
UFUNCTION(BlueprintCallable)
static void TestRequiredIntParameter(UPARAM(Required) int32 Value);

Useful for marking pointer params as required so they are not null by default, but also applicable to complex types with custom make nodes

#jira
#rb Jordan.Hoffmann
#preflight 63b89fff763c6c10645b94c4

[CL 23604737 by dan oconnor in ue5-main branch]
2023-01-06 17:49:02 -05:00
Tim Smith
545c7a3421 Modified C++ UHT to not do super class testing on native interfaces when the interface does not being with an 'I'.
#rb self
#preflight 63b5d899592c1a9d7ca2f1ef

[CL 23579333 by Tim Smith in ue5-main branch]
2023-01-04 15:05:13 -05:00
tim smith
f06a689088 Porting C# UHT changes for class constructor to C++ UHT
#rb self
#preflight 63b48a791c35d1cbdb4d141c

[CL 23570700 by tim smith in ue5-main branch]
2023-01-03 17:16:25 -05:00
tim smith
65dd4ec6d7 Update C++ UHT to match enum changes in C# UHT
#rb self
#rnx
#preflight 6388bc61bb622e79ce2a755f

[CL 23353472 by tim smith in ue5-main branch]
2022-12-01 11:13:04 -05:00
Helge Mathee
05fdcc139d RigVM: Remove support for opaque attributes
#rb na
#jira na
#preflight https://horde.devtools.epicgames.com/job/6380cb4818176c67c25e8ecf

[CL 23286054 by Helge Mathee in ue5-main branch]
2022-11-28 02:47:25 -05:00
Helge Mathee
1a2e6285a6 C++ UHT: Allow True and False as identifiers for variables
This is already supported by the new header tool.

#rb benoit.gadreau
#jira na
#preflight https://horde.devtools.epicgames.com/job/637f20598b12eb83a75d8207
#fyi tim.smith

[CL 23257086 by Helge Mathee in ue5-main branch]
2022-11-24 04:13:12 -05:00
tim smith
0a2f2958b2 Fixed C# UHT to properly generate an error when a function's argument name shadows a property in the class or super classes.
Fixed C++ UHT to no longer check for parameter name shadowing for delegates.

#rb self
#preflight https://horde.devtools.epicgames.com/job/6375290d232e3d12cb4474dc

[CL 23160122 by tim smith in ue5-main branch]
2022-11-16 15:00:59 -05:00
Helge Mathee
7190300031 UHT: Support for RigVM Lazy arguments
Ran local UHT compat checks

#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/63737c08232e3d12cbaf448a

[CL 23151631 by Helge Mathee in ue5-main branch]
2022-11-16 03:45:03 -05:00
Helge Mathee
1ecdfaec3f UHT: Fix RigVM related compat issues
#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/63721afa5368a3230a3ca9ee

[CL 23116147 by Helge Mathee in ue5-main branch]
2022-11-14 06:25:24 -05:00
Helge Mathee
32963f057c RigVM: Centralize use of RigVMExecuteContext
#rb halfdan.ingvarsson
#jira UE-169677
#preflight https://horde.devtools.epicgames.com/job/636cc3b24d3c1d9d92868927

[CL 23073598 by Helge Mathee in ue5-main branch]
2022-11-10 04:36:01 -05:00
Tim Smith
1b683ffcf8 Fixed C++ UHT to match recent changes to C# UHT
#rb sara.schvartzman
#preflight 6363c253dc30a4ce96fc129a

[CL 22951982 by Tim Smith in ue5-main branch]
2022-11-03 09:42:39 -04:00
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
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