Commit Graph

208 Commits

Author SHA1 Message Date
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
Fred Kimberley
aade1b1941 Merging the latest changes to the ability system.
Merging using UE4-Fortnite-To-UE4

#codereview David.Ratti, Richard.Hinckley

[CL 2321666 by Fred Kimberley in Main branch]
2014-10-07 15:19:27 -04:00
Jaroslaw Palczynski
37f19fe3fa Server functions passed by non-const reference result in bad code generation.
Fixed.

#ttp 338601

[CL 2321310 by Jaroslaw Palczynski in Main branch]
2014-10-07 11:04:06 -04:00
Nick Darnell
6fbae11592 Blueprint - We now support making FText an exposed on spawn parameter.
[CL 2317619 by Nick Darnell in Main branch]
2014-10-02 14:23:34 -04:00
Zak Middleton
ae46af7395 #ue4 - Fix HeaderParser so it no longer removes valid uses of "*", " * ", etc from within comments when generating tooltips. Only asterisks from the beginning of lines following only whitespace are removed.
- For example: "A * B" within a java-doc comment used to become "A B".

[CL 2316224 by Zak Middleton in Main branch]
2014-10-01 13:24:30 -04:00
Steve Robb
c1d423f758 Better error message regarding the use of interfaces as properties, suggesting the use of TScriptInterface instead.
#codereview robert.manuszewski

[CL 2314145 by Steve Robb in Main branch]
2014-09-30 09:10:54 -04:00
Jaroslaw Palczynski
65ba5d456f TArray documentation and a coupld of methods deprecation.
Changes mostly in Array.h. The changes in other files are only renames for deprecated functions.

[CL 2312616 by Jaroslaw Palczynski in Main branch]
2014-09-29 04:23:44 -04:00