#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 2839897 on 2016/01/22 by Ori.Cohen
Allow static mesh editor to specify a default collision profile.
#rb Lina.Halper
#UE-2836
Change 2840489 on 2016/01/22 by Ori.Cohen
Fix collision customization so that it respects const editing property
#rb Marc.Audy
Change 2840528 on 2016/01/22 by Ori.Cohen
Fix compile error and actually get value from attribute
Change 2840672 on 2016/01/22 by Zak.Middleton
#ue4 - Include data from USkinnedMeshComponent in USkeletalMeshComponent::GetResourceSize().
#rb Michael.Noland
Change 2841314 on 2016/01/24 by Marc.Audy
Fix depressingly frequent misspellings of 'suppress'
Change 2841323 on 2016/01/24 by Marc.Audy
Reserve worst case memory for TSet Intersect, Union, and Difference to avoid memory allocations during iteration
Ensure that TSet Intersect considers the least number of elements possible
Early out from TSet Contains if Other is larger than this
Clarify comment on TSet Difference
#rb Steve.Robb
Change 2841380 on 2016/01/24 by Aaron.McLeran
UE-25586 Audio assets not correctly reporting resource memory usage
Tested on PC/PS4 and with Editor builds. Memory reporting is working for all cases now.
Change 2841385 on 2016/01/24 by Aaron.McLeran
UE-21210 Adding subtitle priority to USoundWave
Change 2841386 on 2016/01/24 by Marc.Audy
Return null for GameNetDriver if World is null instead of crashing
Change 2841409 on 2016/01/24 by Aaron.McLeran
UE-25514 Removing load for default objects for every sound wave
Change 2841858 on 2016/01/25 by Ori.Cohen
Make sure that PIE face index results are consistent with runtime
#rb Benn.Gallagher
Change 2841977 on 2016/01/25 by Ori.Cohen
Fix object type customization so that it's only enabled when custom is selected. (Accidently broke this in recent change)
Change 2841982 on 2016/01/25 by Marc.Audy
Minor optimization by avoiding recreating FNames repeatedly in constructor
Change 2842169 on 2016/01/25 by Benn.Gallagher
Fixes to animBP compiler and instance to store and double buffer internal machine state weights on the instance. So they can be queried cross-machine without issue.
#rb Lina.Halper
Change 2842390 on 2016/01/25 by Ori.Cohen
Fix in world editing of BodyInstance not working.
No longer serializing Scale3D as this is allways initialized in InitBody.
No longer overwriting MassInKg and renamed to to MassInKgOverride which better reflects what this variable does.
#JIRA UE-25518
#rb Lina.Halper
Change 2843579 on 2016/01/26 by Marc.Audy
Only update replication when it actually changes
Don't check calling SetIsReplicated if the class cannot replicate, instead output an error message
Fix spelling in comment
#rb Ori.Cohen
Change 2843627 on 2016/01/26 by Marc.Audy
Add \\ as a default console key for Italian keyboard layouts
#jira UE-25198
#rb James.Golding
Change 2843628 on 2016/01/26 by Marc.Audy
Don't reconstruct FName on each call to GetHitResultAtScreenPosition
#rb James.Golding
Change 2843671 on 2016/01/26 by Martin.Wilson
Fix incorrect bone transforms being pushed to the renderer during SetSkeletalMesh. This presented as motion blur artifacts in editor
#rb Thomas.Sarkanen
Change 2843768 on 2016/01/26 by Marc.Audy
Inline Get Component functions in TriggerBase
Change 2844003 on 2016/01/26 by Zak.Middleton
#ue4 - Fix FMath::Fmod(X, Y) sometimes returning small negative values for positive X and Y due to float imprecision. Added tests to math tests at startup to check this, and also to better handle results close to Y. Wrap the ensure on Y=0 within a conditional so a breakpoint can be used during debugging (to distinguish between zero and very small input).
#codereview Laurent.Delayen
Change 2844005 on 2016/01/26 by Zak.Middleton
#ue4 - Convert uses of fmod() and fmodf() to use FMath::Fmod() instead.
Also see CL 2844003
[CL 2855709 by Marc Audy in Main branch]
Newly installed versions of the engine will now attempt to copy the project-agnostic config settings from a previous engine installation. This happens by way of a versioned manifest that copies old versions when the manifest does not exist, or is a different version. This code path is benign for non-installed versions of the engine (or FPaths::ShouldSaveToUserDir() is false).
EditorGameAgnosticSettings and EditorUserSettings ini paths have been renamed to EditorSettings and EditorPerProjectUserSettings respectively to better convey their purpose. In general, most settings should be saved in EditorSettings (project-agnostic) so that they apply regardless of which project is open. We have some way to go migrating existing settings for this to be the case, however.
Some previously per-project configuration files are now project-agnostic (such as Editor.ini, EditorKeyBindings.ini, and EditorLayout.ini)
GEditor->Access...Settings and GEditor->Get...Settings have been removed in favor of direct access of the CDO through GetMutableDefault<> and GetDefault<> respectively. Global config ini filenames that are not set up are now neither loaded nor saved on build machines, to handle the problem of indeterminate state more generically.
This addresses UETOOL-270 (Most editor preferences should be project-agnostic)
[CL 2517558 by Andrew Rodham in Main branch]
Fixed hard-to-read documentation tool-tips in Blueprints (UE-8467)
- Changed SCS tool-tips to use the new simplified dark-text-on-white-background styling
- Made "Hold Ctlr+Alt" easier to read on a white background
[CL 2425847 by Ben Marsh in Main branch]
New look and feel for Slate tool-tips
- Tool-tips are now black on white so they stand out from the rest of the editor
- Increased tool-tip font size by one point; increased the amount of padding
- Only regular text-only tool-tips and documentation tool-tips are affected. We may update the various customized tool-tips later on.
[CL 2419520 by Ben Marsh in Main branch]
SCS Editor now shows a root actor that you can select and see properties.
Draging and dropping components to the graph from SCS editor creates Getters.
Add components drop down has more common entries and better naming for some.
[CL 2419383 by Ben Marsh in Main branch]
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)
This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText.
[CL 2401019 by Jamie Dale in Main branch]
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)
This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText.
[CL 2399803 by Jamie Dale in Main branch]
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN
[CL 2329610 by Wes Hunt in Main branch]
Removed ability to independently set font size & colour etc. and replaced with a set of font styles we can use (and style appropriately). Added legacy code to deal with old-style text as best it can.
[CL 2282800 by Thomas Sarkanen in Main branch]
This solves a wrapping issue where STextBlock would incorrectly consume new-line characters when wrapping, as well as allowing it to use custom wrapping behavior (eg, CamelCase wrapping for asset names in the content browser).
This change also implements FString -> FText passthrough for SLATE_TEXT_ATTRIBUTE (it was previously performing FText -> FString passthrough, however this didn't fit well with the fact that FText has a more efficient method of comparing whether a bound text attribute has changed (see FTextSnapshot), so can quickly work out that the FTextLayout doesn't need updating).
This change adds FTextBlockLayout to handle the text layout cache for text block types (STextBlock and SRichTextBlock) and serves a dual purpose of moving the duplicated caching logic into a single place, as well as hiding it from the widget (so allowing the cache to mutate, even when called from immutable widget functions).
This change also increases the unification between the STextBlock and SRichTextBlock construction parameters, by allowing STextBlock to specify a Justification, Margin, and LineHeightPercentage, and allowing SRichTextBlock to specify its HighlightText as an attribute.
ReviewedBy Nick.Atamas, Justin.Sargent
[CL 2280351 by Jamie Dale in Main branch]
Tutorials can now be created using the right-click asset menu->Misc->Tutorial Blueprint.
Importer allows you to pick a UDN file, which will then be converted into a new Tutorial Asset.
Adapted UDN parser to also output rich text format for the purposes of this importer. This may be deprecated at some point soon, once existing tutorials have been imported.
Rich text editor added to tutorial details customization. Features; font, color, size & hyperlinks for now.
Rich text display also added to content widgets.
Added option to optionally show the widget highlight if only the bubble widget is required.
#codereview Bruce.Nesbit
[CL 2256027 by Thomas Sarkanen in Main branch]