Commit Graph

448 Commits

Author SHA1 Message Date
Steve Robb
64f7f5fca8 NonPIETransient renamed to NonPIEDuplicateTransient to better reflect that it's a variant of DuplicateTransient, not a variant of Transient.
Bug fix where serialization was not occurring on properties marked as NonPIETransient.

#codereview robert.manuszewski

[CL 2262932 by Steve Robb in Main branch]
2014-08-19 15:07:24 -04:00
Mikolaj Sieluzycki
3558b6168f Add error message when UHT fails to create generated.h.
TTP #339649 UHT fails to create generated.h with no error message.
#codereview Steve.Robb

[CL 2260578 by Mikolaj Sieluzycki in Main branch]
2014-08-18 04:57:34 -04:00
Steve Robb
82fcd06c42 enum class support for UENUMs. Currently only supports enum classes of underlying type uint8, because the property system needs to be updated to handle more than that.
EPropertyReferenceFlags removed too, because it is unused.

#ttp 329394: UHT: Support the C++ "enum class" syntax for UENUMs

#codereview robert.manuszewski

[CL 2252907 by Steve Robb in Main branch]
2014-08-12 08:51:25 -04:00
Steve Robb
3757db36a5 [GitHub] 341 : Enabled class member initializer-awareness to UnrealHeaderTool
Integrated changes, added a test.

#codereview robert.manuszewski

[CL 2248431 by Steve Robb in Main branch]
2014-08-08 09:42:56 -04:00
Maciej Mroz
0781f10f49 Back out revision 297 from //depot/UE4/Engine/Source/Programs/UnrealHeaderTool/Private/HeaderParser.cpp
The fortnite was updated, so the warning is restored.

#codereview Ben.Zeigler

[CL 2247047 by Maciej Mroz in Main branch]
2014-08-07 12:57:45 -04:00
Ben Zeigler
5987522fc2 #UE4 Change blueprint access to static array compile error to be a compile display text. Warnings get converted to errors so we can't use warnings.
[CL 2244727 by Ben Zeigler in Main branch]
2014-08-05 17:01:47 -04:00
Maciej Mroz
e39b3831f1 Warnings and erros about using static arrays with blueprints.
Warnings about using properties without BlueprintReatWrite or BlueprintReadOnly tags.

ttp343139 BP:  PUBLIC CRASH:  ensure(1 == StructProperty->ArrayDim) in FScriptBuilderBase::EmitTermExpr
ttp343016 ensure(1 == StructProperty->ArrayDim) in FScriptBuilderBase::EmitTermExpr

#codereview Nick.Whiting, Michael.Noland, Robert.Manuszewski

[CL 2244501 by Maciej Mroz in Main branch]
2014-08-05 14:16:02 -04:00
Mikolaj Sieluzycki
1158cb6c95 Fix for enum default values parsing in UHT.
TTP #342183: Enum default values do not parse correctly

[CL 2238020 by Mikolaj Sieluzycki in Main branch]
2014-07-31 03:32:31 -04:00
Michael Trepka
3dfa109889 Fixed a number of compile warnings reported by Clang on Mac (just some for now, there's many more that will need to be fixed in the future)
[CL 2237140 by Michael Trepka in Main branch]
2014-07-30 12:35:58 -04:00
Robert Manuszewski
26f250c9a2 Hot-reload: support for structural changes for hot-reload (adding/removing properties/classes/structs/enums)
#change Classes will now be defer registered instead of being created during static initialization
#change Added class re-instancing after hot-reload
#change Changes to UHT to keep track of generated code changes
#change Refactored a few CoreUObject delegates to a common namespace struct.

[CL 2235479 by Robert Manuszewski in Main branch]
2014-07-29 02:43:48 -04:00
Michael Noland
053b4998f1 UnrealHeaderTool: Improve error message when an unknown class type is used as a template parameter
[CL 2120746 by Michael Noland in Main branch]
2014-06-28 16:36:30 -04:00
Jaroslaw Palczynski
ee851e46ac UObject improvement: DependsOn in engine code
Removing DependsOn and replacing them with proper #includes.
#ttp 312783

[CL 2117686 by Jaroslaw Palczynski in Main branch]
2014-06-26 03:00:24 -04:00
Michael Noland
db2f805416 Editor: Now with more dragons!
- Added new class metadata Experimental and EarlyAccessPreview, which will trigger a warning section in the actor details panel

Experimental:
- Here be dragons!  It's a totally unsupported and undocumented prototype

Early Access Preview:
- While not considered production-ready, it's a step beyond 'experimental' and is being provided as a preview of things to come

[CL 2117581 by Michael Noland in Main branch]
2014-06-26 01:14:00 -04:00
Jaroslaw Palczynski
ce0aa1be23 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
Some missing changes from last submit plus deprecated message when using macros.

[CL 2104460 by Jaroslaw Palczynski in Main branch]
2014-06-13 08:09:04 -04:00
Robert Manuszewski
22f5d663fd UnrealHeaderTool: support for 'typename const' parameter declarations.
[CL 2100290 by Robert Manuszewski in Main branch]
2014-06-10 09:17:04 -04:00
Matt Kuhlenschmidt
fb672d5990 Removed UAttributeProperty and all related changes
[CL 2091937 by Matt Kuhlenschmidt in Main branch]
2014-06-02 14:20:58 -04:00
Steve Robb
864bd3d8da WIP refactors
#ttp 331467: Make UHT not depend on CoreUObject

#change GScriptHelper made an object instead of a heap-allocated pointer.
#change NameLookupCPP made an object instead of a heap-allocated pointer.
#add FClasses::FindAnyClass added.
#change FClasses construction moved earlier.
#change FClass::GetInnerClass added.
#change More UClasses changed to FClasses.

#codereview robert.manuszewski

[CL 2091696 by Steve Robb in Main branch]
2014-06-02 07:02:29 -04:00
Mikolaj Sieluzycki
91f6663f51 Fix unspecified error in UHT on circular header dependency.
#ttp 336732 [UHT] Getting enigmatic error code -1073741571
#proj core
#branch UE4
#summary [UHT] Getting enigmatic error code -1073741571
#codereview Steve.Robb

[CL 2086790 by Mikolaj Sieluzycki in Main branch]
2014-05-29 17:22:15 -04:00
Mikolaj Sieluzycki
902e81a0ec Fix unspecific UHT error when missing semicolon in header.
#ttp 336426 UnrealHeaderTool: Unspecific error when missing semicolon in header
#proj core
#branch UE4
#summary Fix unspecific UHT error when missing semicolon in header.
#codereview Steve.Robb

[CL 2086696 by Mikolaj Sieluzycki in Main branch]
2014-05-29 17:20:50 -04:00
Mikolaj Sieluzycki
90c50e0b3b Fix UHT parsing of multiple angle closing angle brackets in nested templates (e.g. TArray<TSubclassOf<SomeClass>>).
#ttp 332272  UHT cannot correctly parse TArray<TSubclassOf<AActor>>
#proj core
#branch UE4
#summary Fix UHT parsing of multiple angle closing angle brackets in nested templates (e.g. TArray<TSubclassOf<SomeClass>>).
#codereview Steve.Robb

[CL 2081774 by Mikolaj Sieluzycki in Main branch]
2014-05-22 05:21:52 -04:00
Robert Manuszewski
e6412f5459 Fixing Non-Unity UHT CIS
[CL 2081739 by Robert Manuszewski in Main branch]
2014-05-22 04:36:37 -04:00
Robert Manuszewski
a05ad646c2 UBT: More detailed module types. ScriptPlugins can now ingore modules by their type.
[CL 2081573 by Robert Manuszewski in Main branch]
2014-05-22 01:20:24 -04:00
Steve Robb
d3d90eafb4 #ttp 333737: UHT should not output anything differently for Rocket - resubmitted after CL# 2068336 was backed out due to UAT rebuild problems.
#change Root module path added to include paths.
#change Plugins now write intermediates to the project folder.
#change All generated #includes are now relative.
#change Updated UHTDebugging.manifest to new format.
#change Android response files now use relative include paths to prevent overly-large response files.
#remove Rocket-specific UHT execution removed.
#remove iOS header hack removed.

#codereview robert.manuszewski,ben.marsh

[CL 2077472 by Steve Robb in Main branch]
2014-05-19 06:57:00 -04:00
Maciej Mroz
095b0bbfe7 Fix for: error Default value '(X=0.000,Y=0.000,Z=1.000)' for Direction is invalid: 'Invalid value for an FVector'
#codereview Michael.Noland

[CL 2075285 by Maciej Mroz in Main branch]
2014-05-16 05:01:25 -04:00
Steve Robb
ddad01ad2f Back out changelist 2073005
[CL 2073795 by Steve Robb in Main branch]
2014-05-14 23:07:26 -04:00