Commit Graph

89 Commits

Author SHA1 Message Date
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
Maciej Mroz
37c8721c9e Error: "Static array cannot be exposed to blueprint" (previously it was a warning, but it was ignored)
codereview Robert.Manuszewski

[CL 2374667 by Maciej Mroz in Main branch]
2014-12-03 07:51:35 -05:00
Robert Manuszewski
8cb5dea614 Hot-Reload: fixing infinite loop when changing USTRUCTs caused by unnecessary re-initialization of the owner UClass.
UE-4916

#change Replaced CLASS_Temporary (UHT-only flag) with CLASS_Constructed to check if a class needs to be constructed or not in generated code
#change Modified code generator to make sure UClasses don't get reconstructed if not required

[CL 2351525 by Robert Manuszewski in Main branch]
2014-11-06 15:16:05 -05:00
Ben Zeigler
d0769bb096 #UE4 Fix header parsing of component properties, private_subobject was breaking the parser and causing the next property to be ignored. This was causing Character's Mesh property to not exist as an example
#codereview robert.manuszewski

[CL 2345720 by Ben Zeigler in Main branch]
2014-10-30 21:14:35 -04:00
Mikolaj Sieluzycki
7551bfda8b Add parsing DEPRECATED macro in struct and class declaration in UHT.
#codereview Steve.Robb

[CL 2339610 by Mikolaj Sieluzycki in Main branch]
2014-10-24 02:59:18 -04:00
Robert Manuszewski
af80979bb7 First phase of deprecating TSubobjectPtr<> replacing TSubobjectPtr properties in the Engine with normal pointers and adding subobject accessors for derived classes/client code.
[CL 2331521 by Robert Manuszewski in Main branch]
2014-10-16 09:02:30 -04:00
Jaroslaw Palczynski
7c41927cf4 Rename FPostConstructInitializeProperties to something simpler
Changed it with FObjectInitializer.

UECORE-7

[CL 2328384 by Jaroslaw Palczynski in Main branch]
2014-10-14 10:29:11 -04:00
Jaroslaw Palczynski
e1cafcc43a NUXF-11 Don't require a Category on UPROPERTIES (for game classes)
TTP 346443

[CL 2328243 by Jaroslaw Palczynski in Main branch]
2014-10-14 10:27:14 -04:00
Jaroslaw Palczynski
399074d7ea DonÆt default to æpublicÆ protection level in classes.
UECORE-8

[CL 2327190 by Jaroslaw Palczynski in Main branch]
2014-10-13 10:31:50 -04:00
Jaroslaw Palczynski
cc0f6d9a4e UObject custom constructors.
In order to use new feature user have to change GENERATED_UCLASS_BODY() macro to the new GENERATED_BODY(). Then no constructor is implicitly declared. If there is no constructor declared in UCLASS then PCIP one is declared and defined that passes PCIP down to super-class. On the other hand if there is a constructor declared then UObject system expects to have one of the default or PCIP constructor to initialize a class during loading from disk, default object creation, etc. and it expects that user will declare and define one.

There is a possibility now to create UCLASS with the default constructor (i.e. no PCIP).

New macro is encouraged by standard classes and in-editor wizards templates.

#codereview Robert.Manuszewski

[CL 2325282 by Jaroslaw Palczynski in Main branch]
2014-10-10 04:34:56 -04:00