Commit Graph

78 Commits

Author SHA1 Message Date
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
Dmitry Rekman
8a5a04c342 Linux: do not compile UHT monolithically anymore.
- Fixes it after being broken by a recent change, which requires all plugins to be loaded before proceeding.

[CL 2238707 by Dmitry Rekman in Main branch]
2014-07-31 15:44:39 -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
Mike Beach
875305a99d Adding a more robust system for editor category mapping (allows for easy remapping and localization). Pulling editor metadata specifics out of UClass (and relocating them).
#codereview Robert.Manuszewski Nick.Whiting

[CL 2192177 by Mike Beach in Main branch]
2014-07-11 15:13:57 -04:00
Dmitry Rekman
dbdea559eb [Github] PR 242 (safe changes).
- Code cleanup and minor rearrangement (e.g. variable name changes).
- Additions.
- Case issues fixed.
- Minor fixes (init ordering).

[CL 2172690 by Dmitry Rekman in Main branch]
2014-07-08 00:06:17 -04:00
Robert Manuszewski
e6a88f66a4 UBT will no longer use ini file to get the list of plugins to compile for programs. Removed 'ScriptPlugins' ini setting (replaced with plugin category path).
[CL 2121693 by Robert Manuszewski in Main branch]
2014-06-30 06:19:02 -04:00
Michael Noland
178a4392b2 UHT: Coding standards fixes
[CL 2121428 by Michael Noland in Main branch]
2014-06-29 22:56:37 -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
Robert Manuszewski
63ef616a62 ScriptPlugins: generated glue files will now be including using relative paths
[CL 2113855 by Robert Manuszewski in Main branch]
2014-06-23 06:27:04 -04:00
Gareth Martin
c5c823f167 Fix possible crash due to Foliage UI holding pointers to data inside a TMap which can be reallocated.
[CL 2113832 by Gareth Martin in Main branch]
2014-06-23 05:41:43 -04:00
Steve Robb
472dd00708 Updated UHTDebugging.manifest to new format.
#codereview robert.manuszewski

[CL 2106854 by Steve Robb in Main branch]
2014-06-16 07:34:42 -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
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Max Preussner
3aece47882 Docs: Removed file comments and added missing code documentation
Please note that file comments had no purpose in nearly all cases and just added visual clutter. The two files that had meaningful file comments had their comments moved into the corresponding classes. There are still hundreds of file comments left in other files that will be removed over time.

Also cleaned up some random stuff along the way:
- relative paths to public headers within the same module are no longer necessary (automatically discovered by UBT now)
- header guards are deprecated, use #pragma once instead (all compilers support it now)
- space between multiple template brackets is no longer required (all compilers support >> now)
- NULL to nullptr, OVERRIDE to override
- spelling errors, whitespace, line breaks

[CL 2104067 by Max Preussner in Main branch]
2014-06-12 23:22:18 -04:00
Steve Robb
4973bd00ac Plugin linker fix
#add Fake linker-only function generated in UHT for every Module.generated.cpp.
#change UELinkerFixups file is now processed *after* running UHT.
#change Fake function called from UELinkerFixups for every statically-linked dependent project.

#codereview robert.manuszewski,jj.hoesing

[CL 2103062 by Steve Robb in Main branch]
2014-06-12 08:08:47 -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
Mike Fricker
16d1f0a4fd Always use "override" and "final" keyword on all platforms
[CL 2099153 by Mike Fricker in Main branch]
2014-06-09 11:17:17 -04:00
Robert Manuszewski
9447816913 UnrealHeaderTool: making sure command line is always logged (UBT overrides LogInit verbosity setting)
[CL 2096900 by Robert Manuszewski in Main branch]
2014-06-06 04:32:21 -04:00