#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2910968 on 2016/03/15 by Dan.Oconnor
PR #2152: Fix for UE-27652 (Contributed by SNikon)
#jira UE-28368, UE-27652
Change 2911052 on 2016/03/15 by Dan.Oconnor
Moving Pin tooltip generating into GetPinHoverText to correct some issues with hovertext being stale. Motivation was PR #2095: Keep ResultPin Tooltip up to date on SpawnActor and CreateObject Nodes (Contributed by mollstam)
#jira UE-27345
Change 2912261 on 2016/03/16 by Maciej.Mroz
Fixed DynamicClass loading.
#codereview Robert.Manuszewski
Change 2912719 on 2016/03/17 by Phillip.Kavan
[UE-28450] Cooked component template data now properly handles array property values having one or more items that differ from the default object.
change summary:
- modified FBlueprintEditorUtils::BuildComponentInstancingData() to generate additional data for individual array property values that differ from the component's class default object at cook time.
- modified FBlueprintCookedComponentInstancingData::BuildCachedPropertyList() to parse cooked array property data at load time and generate a SubPropertyList representing the set of changed array property values.
- modified UArrayProperty::SerializeItem() to handle an explicit custom property list when specified as part of the FArchive.
- modified AActor::CreateComponentFromTemplateData() to set the 'PPF_Duplicate' PortFlag in order to emulate expected behavior that would otherwise occur when SDO is used for component instancing.
- modified UActorComponent::Serialize() to not set 'bHasBeenCreated' on load for component template objects.
Change 2912749 on 2016/03/17 by Phillip.Kavan
[UE-28450] CIS fix
Change 2912811 on 2016/03/17 by Phillip.Kavan
[UEBP-112] Fix for a minor issue w/ branch nodes not including pure node chains in profiler tree view. Also reversed order of pure node chain display in tree view.
#codereview Ben.Cosh
Change 2912890 on 2016/03/17 by Maciej.Mroz
Blueprint C++ Conversion:
- Constructor handles private (inaccessible) member variables.
- no ensure failed when a component was removed in a static actor instance.
Change 2913115 on 2016/03/17 by Phillip.Kavan
[UEBP-112] Fix for a potential profiler crash when processing a pure node event with a script code offset that also maps to an impure exec node in a different function context.
(forgot to include this in the previous CL)
#codereview Ben.Cosh
Change 2913266 on 2016/03/17 by Maciej.Mroz
Blueprint C++ Conversion:
- fixed super:: call for BP native event.
Change 2913313 on 2016/03/17 by Phillip.Kavan
[UEBP-112] Fix reversed trace paths on pure nodes which caused missing pure timing data.
(introduced in CL# 2912811)
#codereview Ben.Cosh
Change 2915001 on 2016/03/18 by Maciej.Mroz
Blueprint C++ Conversion: Fixed color construction
Change 2915306 on 2016/03/18 by Phillip.Kavan
Fix /initProperties() optimization when PostLoad() changes a CDO property value away from the default value.
Change 2916140 on 2016/03/20 by Phillip.Kavan
Improved array property handling for both InitProperties() and cooked component data optimizations.
Note: This should allow for proper runtime handling of array properties with an Inner that is potentially also an array property.
change summary:
- added FObjectInitializer::InitArrayPropertyFromCustomList() to assist with initializing instances from array properties with an explicit sub-property list.
- added FBlueprintCookedComponentInstancingData::BuildCachedArrayPropertyList() to assist with recursively building a sub-property list for array deltas.
- added FBlueprintGeneratedClass::BuildCustomArrayPropertyListForPostConstruction() to assist with recursively building a sub-property list for array deltas.
Change 2916640 on 2016/03/21 by Ben.Cosh
Support for tunnelling graphs in the blueprint profiler
#UEBP-183 - Tunneling graph support
#Proj Kismet, BlueprintProfiler
- This removes the need to filter stat updates to prevent cyclic references ( now tunnel nodes are better described in terms of i/o pins )
- Moves to the more complete function based mapping of graphs.
- Precursor to final macro code
codereview Phillip.Kavan
Change 2916902 on 2016/03/21 by Michael.Schoell
The graph panel will now properly fade in splines when highlighting them.
Added dynamic tick registering that will invalidate the graph panel, allowing it to update the current display per tick until the action is complete.
Change 2917087 on 2016/03/21 by Ben.Cosh
CIS mac fix
Change 2917433 on 2016/03/21 by Dan.Oconnor
PR #2163: Fix Bug for "IsDataOnlyBlueprint" Error (Contributed by cdsama)
#jira UE-28534
Change 2917499 on 2016/03/21 by Mike.Beach
Correcting an expectation that custom collision mappings were ordered (by collision channel). Now sorting the list before we translate them into trace types.
#codereview Ori.Cohen, Lina.Halper, Zak.Middleton
#rb Ori.Cohen, Zak.Middleton
Change 2919538 on 2016/03/23 by Maciej.Mroz
[CL 2937623 by Mike Beach in Main branch]
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.
#codereview Robert.Manuszewski
[CL 2481343 by Jaroslaw Palczynski in Main branch]