Commit Graph

705 Commits

Author SHA1 Message Date
tim smith
6a940d89c4 Added Internal directory support to UHT
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 17034854 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v846-17029325)

[CL 17035677 by tim smith in ue5-release-engine-test branch]
2021-08-03 14:45:37 -04:00
aurel cordonnier
dc4bf61540 Merge from Release-Engine-Staging @ 17030559 to Release-Engine-Test
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17030553

[CL 17031509 by aurel cordonnier in ue5-release-engine-test branch]
2021-08-03 11:56:47 -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
helge mathee
c749d352ce Control Rig: RigVM Property Based storage support for sliced memory
#rb audit
#jira na

#ROBOMERGE-SOURCE: CL 17008022 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 17008382 by helge mathee in ue5-release-engine-test branch]
2021-07-30 15:49:56 -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
jamie dale
63d9f040fe Allow Cast to gracefully handle an interface instance that's not a UObject
This allows you to test whether a particular interface instance (implemented as a UInterface) has been implemented by a UObject, or whether it's been implemented by a standard C++ type. This is useful if you have an interface that _may_ be implemented by a UObject, but isn't required to be.

#rb Tim.Smith
#preflight 60fb64cd8fe7e0000143f3de

#ROBOMERGE-SOURCE: CL 16954784 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16954797 by jamie dale in ue5-release-engine-test branch]
2021-07-26 07:58:17 -04:00
tim smith
daa6dac524 Replacing the UClass::StaticRegistrationInfo method with a extern function that won't be exported from the DLL if the class is marked as exported.
#rb trivial
#rnx
#preflight 60fc2bc324804700014eda57

#ROBOMERGE-SOURCE: CL 16949953 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)
#ROBOMERGE[bot1]: Dev-EngineMerge

[CL 16949956 by tim smith in ue5-release-engine-test branch]
2021-07-24 11:56:31 -04:00
tim smith
e1badfdb32 Removed the UScriptStruct _Hash() method from being marked as an exported API method. Reduces the number of exports.
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 16949693 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)
#ROBOMERGE[bot1]: Dev-EngineMerge

[CL 16949696 by tim smith in ue5-release-engine-test branch]
2021-07-24 10:15:44 -04:00
tim smith
d7668b783d Fixed issue where UHT would crash if an exception is thrown in one of the code generation routines.
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 16940932 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16940940 by tim smith in ue5-release-engine-test branch]
2021-07-23 15:41:33 -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
a06191d5be Add a prefix to generated macro names when the project directory starts with something other than an alpha character
#rb trivial
#rnx
#jira UE-68563

#ROBOMERGE-SOURCE: CL 16936545 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16936546 by tim smith in ue5-release-engine-test branch]
2021-07-23 08:47:17 -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
8d4c8d9009 1) Make the creation of engine types not required for post parsing.
2) Don't create engine types unless a script plugin is found

#rb none
#rnx

#ROBOMERGE-SOURCE: CL 16922516 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16922790 by tim smith in ue5-release-engine-test branch]
2021-07-22 09:55:25 -04:00
tim smith
ce4b29162a Removed a dereference that wasn't needed.
#rb trivial
#rnx
#jira UE-119880

#ROBOMERGE-SOURCE: CL 16901423 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16901428 by tim smith in ue5-release-engine-test branch]
2021-07-20 16:09:03 -04:00
tim smith
096cfea703 Remove some diagnostic code to test for version correctness.
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 16900566 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16900577 by tim smith in ue5-release-engine-test branch]
2021-07-20 15:22:53 -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
f19a049b59 Remove the need for GetFunction during code generation
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 16899287 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16899291 by tim smith in ue5-release-engine-test branch]
2021-07-20 14:22:36 -04:00
tim smith
9da8709963 Removing remaining places where GetScriptStruct is needed during code generation.
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 16899213 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16899248 by tim smith in ue5-release-engine-test branch]
2021-07-20 14:17:05 -04:00
tim smith
7bb677b500 Replaced two UProperty formatting routines with UHT specific code.
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 16897502 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16897512 by tim smith in ue5-release-engine-test branch]
2021-07-20 11:44:37 -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
tim smith
c50ab3ad63 Fixing issue with WRITEF/VERIFYREF where a duplicate file name would result in base verifications.
#rb none
#rnx
#preflight 60f5901694fcd00001e9619a

#ROBOMERGE-SOURCE: CL 16884561 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16884565 by tim smith in ue5-release-engine-test branch]
2021-07-19 12:02:26 -04:00