Commit Graph

448 Commits

Author SHA1 Message Date
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
Jaroslaw Palczynski
78f6bf5355 [GitHub] 337 : Add module gen include dir to ShouldExportClassesForModule
#ttp 343350

[CL 2312600 by Jaroslaw Palczynski in Main branch]
2014-09-29 04:03:28 -04:00
Maciej Mroz
f55429024e CPF_EditInline flag removed (replaced by metadata).
CPF_PersistentInstance  flag added.

#codereview Robert.Manuszewski, Nick.Whiting, James.Golding

[CL 2308211 by Maciej Mroz in Main branch]
2014-09-24 09:09:32 -04:00
Maciej Mroz
7e1c4c25ca 347339 BLOCKER: CRASH: EDITOR: ORION: Occurs when adding a skylight to a scene.
347343 BLOCKER: EDITOR: ORION: Unable to edit or view the light details properties.

[CL 2306682 by Maciej Mroz in Main branch]
2014-09-23 05:53:00 -04:00
Maciej Mroz
8523cb31f0 The CPF_EditInline flag, will force the subobject instance to be persistent, but CLASS_DefaultToInstanced wonÆt imply CPF_EditInline anymore.
#codereview Ben.Zeigler, Robert.Manuszewski

[CL 2305323 by Maciej Mroz in Main branch]
2014-09-22 09:42:15 -04:00
Robert Manuszewski
3144ce46a8 Removing references to MakeCommandlet from code
[CL 2302207 by Robert Manuszewski in Main branch]
2014-09-18 04:05:01 -04:00
Michael Noland
3fbebf9cf5 UnrealHeaderTool: Clarified a couple of error messages that sounded like keywords were limited to only multicast delegate properties (when they are also applicable to functions)
[CL 2286811 by Michael Noland in Main branch]
2014-09-05 17:50:18 -04:00
Michael Schoell
358bea4d7b Resolved issues causing an ensure to fire when compiling a Blueprint with an overide function.
Having a private function with BlueprintImplementableEvent will now report as an error by the UHT.

Having a sealed function with BlueprintImplementableEvent will now report as an error by the UHT.

Having a 'final' function with BlueprintImplementableEvent will now report as an error by the UHT.

#ttp 343140 - BP:  LIVE CRASH:  ensure((Function->FunctionFlags & FUNC_FuncOverrideMatch) == (OverridenFunction->FunctionFlags & FUNC_FuncOverrideMatch))

[CL 2283008 by Michael Schoell in Main branch]
2014-09-03 10:46:58 -04:00
Dan Oconnor
c7f6d3b0bd Removed the error we raised when a const function was exposed as BlueprintPure, tested by marking QAPawn::GetWeapon() BlueprintPure, also ran BlueprintInfoDump commandlet, and no changes were observed in blueprint data
[CL 2281921 by Dan Oconnor in Main branch]
2014-09-02 16:02:17 -04:00
Maciej Mroz
d585b1b677 EditInline tag is removed. It is replaced with Instanced.
[CL 2280604 by Maciej Mroz in Main branch]
2014-09-01 14:15:28 -04:00
Maciej Mroz
8487c15178 Better support for "EditInline"/"EditinlineNew" feature in UEngine::CopyPropertiesForUnrelatedObjects.
Invalid/useless "EditInline" tags removed. UHT generates error when "EditInline" is used for property other than Object reference (or an array).

#codereview Nick.Whiting

[CL 2274828 by Maciej Mroz in Main branch]
2014-08-27 14:39:09 -04:00