Commit Graph

448 Commits

Author SHA1 Message Date
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
Steve Robb
b93b5af0b5 Old localization property flags and related stuff removed:
PPF_LocalizedOnly
CPF_Localized
CLASS_Localized
UProperty::IsLocalized()
Localized specifiers in UPROPERTYs.

#codereview robert.manuszewski,justin.sargent

[CL 2420160 by Steve Robb in Main branch]
2015-01-27 05:50:06 -05:00
Josh Adams
9cf8c67c77 - Generate AndroidManifest.xml from ProjectSettings
- Moved some Android settings to ProjectSettings, re-enabled SDK settings
- Removed SigningConfig.xml, and moved those settings into project settings
- Added concept of NotForLicensees and NoRedist engine and project config settings
- Removed BaseInternalGame.ini, replaced with NotForLicensees/BaseGame.ini
- Moved User*.ini to end of .ini hierarchy
- Added support for CLASS_GlobalUserConfig, so their settings will be saved to <AppData>/.../User*.ini (useful for SDK paths, etc)
- Enabled AndroidPlatformEditor module on Mac
- Changed Mac Build.sh to allow for Android on the commandline (just pass through if it's not an Xcode platform name)
- Iterative Android packaging now looks at just the important .ini sections, NOT entire .ini files

#codereview jamie.dale,james.moran,michael.trepka,robert.jones,chris.babcock

[CL 2413870 by Josh Adams in Main branch]
2015-01-21 11:17:55 -05:00
Jaroslaw Palczynski
da737428aa UHT: Multiple UCLASS in header. Minor tweaks and comments.
[CL 2412453 by Jaroslaw Palczynski in Main branch]
2015-01-20 13:06:35 -05:00
Jaroslaw Palczynski
adecd4aaad UHT: Allows defining multiple UCLASSes in one header file.
[CL 2412156 by Jaroslaw Palczynski in Main branch]
2015-01-20 09:33:54 -05:00
Jaroslaw Palczynski
7228eee5c0 Core: UnrealHeaderTool fails on const member variables
UE-7101

[CL 2408538 by Jaroslaw Palczynski in Main branch]
2015-01-16 05:00:10 -05:00
Steve Robb
d01ffc7226 [UECORE-65]: Generated code for deprecated class is corrupt when there's an enum at the top of the file.
Prevented a token check against the class name until parsing of the class definition has started.
Added a test case.

#codereview robert.manuszewski

[CL 2405070 by Steve Robb in Main branch]
2015-01-13 15:03:03 -05:00
Zak Middleton
c74be9d080 #ue4 - Cast flags can now be declared for non-intrinsic classes.
- Added cast flag support to a handful of the most commonly used classes in the engine, determined by tracking all calls to IsA() over typical workflows.
- Result: reduced IsA() function calls from 21k to 1k instances per frame in a large test scene (1.0ms to 0.06ms per frame).

#codereview Steve.Robb

[CL 2398934 by Zak Middleton in Main branch]
2015-01-06 14:15:32 -05:00
Andrew Rodham
c3306d65af Added ability to specify units on UProperty types through a Units= meta tag
Added ability to adaptively change display units to a more appropriate range on numerical property editors. This behaviour can be disabled with a AllowUnitRangeAdaption=False meta tag.
Spin boxes now accept a numeric type interface which allows customization of numeric handling.

[CL 2398620 by Andrew Rodham in Main branch]
2015-01-06 07:29:48 -05:00
Mikolaj Sieluzycki
4b1f513db4 Emit warning if GetLifetimeReplicatedProps and functions with _Implementation and _Validate suffixes aren't declared.
#codereview Robert.Manuszewski

[CL 2385673 by Mikolaj Sieluzycki in Main branch]
2014-12-11 11:49:41 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00