Commit Graph

208 Commits

Author SHA1 Message Date
Steve Robb
2443964b1a GetVarAndDim's HardcodedName parameter removed.
#codereview robert.manuszewski

[CL 2486324 by Steve Robb in Main branch]
2015-03-20 12:52:40 -04:00
Steve Robb
b1f4463491 Redundant GetVarType return value removed.
#codereview robert.manuszewski

[CL 2484783 by Steve Robb in Main branch]
2015-03-19 13:42:08 -04:00
Steve Robb
4f14c1c278 Error contexts determined from EVariableCategory.
HintText/Thing parameters removed from GetVarNameAndDim/GetVarType.

#codereview robert.manuszewski

[CL 2484763 by Steve Robb in Main branch]
2015-03-19 13:27:48 -04:00
Steve Robb
a7f92019fb GetVarType and GetVarNameAndDim no longer take ObjectFlags.
#codereview robert.manuszewski

[CL 2484601 by Steve Robb in Main branch]
2015-03-19 11:33:15 -04:00
Dmitry Rekman
b7afabb59a Fix && and || being in the same scope.
#codereview Jaroslaw.Palczynski

[CL 2481965 by Dmitry Rekman in Main branch]
2015-03-17 14:48:41 -04:00
Jaroslaw Palczynski
b8c4d83b9c Enabling UHT to digest GENERATED_BODY instead of GENERATED_*_BODY.
#codereview Robert.Manuszewski

[CL 2481360 by Jaroslaw Palczynski in Main branch]
2015-03-17 06:02:26 -04:00
Jaroslaw Palczynski
f23f29257b Back out changelist 2481333
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.

#codereview Robert.Manuszewski

[CL 2481343 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:38:32 -04:00
Jaroslaw Palczynski
fa31560e2d Enabled UHT to digest GENERATED_BODY instead of GENERATED_UCLASS_BODY, GENERATED_USTRUCT_BODY, GENERATED_UINTERFACE_BODY or GENERATED_IINTERFACE_BODY, changed every occurence to the new syntax and fixed every warning that have fallen out of this change.
#codereview Robert.Manuszewski

[CL 2481333 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:19:11 -04:00
Steve Robb
7be67f883f Localized some vars which caused a pointless test.
#codereview robert.manuszewski

[CL 2480498 by Steve Robb in Main branch]
2015-03-16 15:05:08 -04:00
Steve Robb
d4079e9cc8 Some unused stuff removed from FHeaderParser: bIsMulticastDelegate, LegalVariableSpecifiers and IsValidVariableSpecifier.
#codereview robert.manuszewski

[CL 2480191 by Steve Robb in Main branch]
2015-03-16 11:26:20 -04:00
Steve Robb
5eaa66f638 https://github.com/EpicGames/UnrealEngine/pull/910
Fixes UHT crashes with malformed UINTERFACE headers.

#codereview robert.manuszewski

[CL 2478423 by Steve Robb in Main branch]
2015-03-13 08:17:47 -04:00
Maciej Mroz
56e1ade4b0 Inner DELEGATEs as children. [By JaroslawP]
UE-11693 Compiler error when using Bind Event to OnTextChanged in UMG
UE-11674 BindEvent node gives "Wrong Event Dispatcher" error for BlueprintAssignable MC delegate

#codereview Jaroslaw.Palczynski

[CL 2477120 by Maciej Mroz in Main branch]
2015-03-12 14:06:13 -04:00
Jaroslaw Palczynski
f12f8a83bc UHT was reporting circular dependency if UClassA inherited UClassB defined in the same header. Fixed.
[CL 2473892 by Jaroslaw Palczynski in Main branch]
2015-03-10 12:06:49 -04:00
Robert Manuszewski
595412cd06 Fully deprecating 'DependsOn' specifier in UHT
#codereview Jaroslaw.Palczynski

[CL 2473554 by Robert Manuszewski in Main branch]
2015-03-10 06:24:24 -04:00
Robert Manuszewski
7f252d9994 Fixing UnrealHeaderTool not respecting class flags on unparsed classes used as property types in other classes.
- Fixed some properties requiring 'instanced' keyword even though their type was marked as 'defaulttoinstanced"
- Removed 'Placeable' keyword from ALandscape (it has long been deprecated)

[CL 2473550 by Robert Manuszewski in Main branch]
2015-03-10 06:14:19 -04:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Jaroslaw Palczynski
3c450b9477 UE-10111: Hot Reload crash with Scene Component tied to Actor class
We've changed the way vtable ptr are obtained for UClasses. Right now we use special empty constructor to get it, so we don't have to use normal one which was causing troubles. This special vtable helper constructor is generated automatically for most cases, but sometimes it's not possible (e.g. no default constructor for members types). In such case there is a possibility to override that generated constructor and write a custom one. The signature is UCustomClass::UCustomClass(FVTableHelper& Helper) and it needs to call base class'es constructor with the same parameter. Please do not use these constructors for anything else. There is no guarantee the object will be in correct state after calling this.

You can still disable this functionality if something breaks, just set WITH_HOT_RELOAD_CTORS to 0.

[CL 2466152 by Jaroslaw Palczynski in Main branch]
2015-03-02 06:44:04 -05:00
Steve Robb
80159c6fcf Better error message for when a TArray property has an allocator.
#codereview robert.manuszewski

[CL 2456028 by Steve Robb in Main branch]
2015-02-23 08:53:06 -05:00
Saul Abreu
29e961d808 Fixed UHT issue where enums were not being registered as types in a data structure that is used to track what header file a type is declared in, in turn used to populate metadata.
#codreview Steve.Robb

[CL 2453850 by Saul Abreu in Main branch]
2015-02-20 15:37:38 -05:00
Jaroslaw Palczynski
cf0fbf0353 UHT: Missing adding function to the current scope which resulted in lack of error when there were two functions with the same name in class.
[CL 2451664 by Jaroslaw Palczynski in Main branch]
2015-02-19 10:58:34 -05:00
Matthew Griffin
0e1909b220 [INTEGRATE] Change 2441047 by Michael.Noland@mnoland-T2784-Reference on 2015/02/11 00:38:29
Blueprints: Add support for class metadata IgnoreCategoryKeywordsInSubclasses, which prevents inheritance of showCategories, hideCategories, AutoExpandCategories, and AutoCollapseCategories metadata when placed on the immediate parent of a Blueprint

	UnrealHeaderTool: Add a new UCLASS() specifier ComponentWrapperClass, which implies IgnoreCategoryKeywordsInSubclasses metadata

	Engine: Add ComponentWrapperClass to all actors that contain a component marked with ExposeFunctionCategories
	[UE-9115]

[CL 2448606 by Matthew Griffin in Main branch]
2015-02-17 09:13:35 -05:00
Matthew Griffin
8327a08f2d [INTEGRATE] Change 2435941 by Michael.Noland@mnoland-T2784-Reference on 2015/02/06 15:40:38
UnrealHeaderTool: Improve default-value parsing for things like FText::FromString, and it now treats C++ types as case-sensitive

[CL 2446749 by Matthew Griffin in Main branch]
2015-02-16 04:40:38 -05:00
Jaroslaw Palczynski
6f783c9b2b UECORE-59: I want to be able to specify server/validation function names in UHT and not rely on predefined ones.
[CL 2435374 by Jaroslaw Palczynski in Main branch]
2015-02-06 09:54:41 -05:00
Robert Manuszewski
e56a5b49ee Deprecating 'operator new' for UObjects.
[CL 2425600 by Robert Manuszewski in Main branch]
2015-01-30 08:30:03 -05:00
Steve Robb
3ba4afdc05 Redundant parameter removed from CompileVariableDeclaration.
[CL 2422127 by Steve Robb in Main branch]
2015-01-28 09:41:47 -05:00