I did the first part, lock some showflags to be 0 or 1 in SHIPPING
If this causes problems for some applications (e.g. using showflag as scalability which they shouldn't) the user needs to update the code.
or we remove the lock from that showflag.
For editor or non shipping features it's fine to use the SetSHOWFLAGNAME() calls, they become NOPS in SHIPPING.
This is a performance optimization (when used in inner loop) and prepares for removing more
[CL 2673126 by Martin Mittring in Main branch]
#UE4 Preallocating Result array in FFileHelper::LoadFileToArray since we know the size. This dramatically reduces memory usage in the editor for larger projects.
#RB Ben.Zeigler
--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2672856 by Bob.Tellez on 2015/08/28 15:36:07.
[CL 2672866 by Bob Tellez in Main branch]
- New filter flags in automationtest.h
- Compile time errors if proper flags are not specified
- Existing tests converted to new flags
- New "disabled" flag
- Filter dropdown in automation UI replaces Smoke Tests button
- Automation features are no longer compiled out in Test configuration at runtime (except in Shipping)
- Enabled automation tests to be triggered from in-game console in non-editor builds (automation controller is enabled)
NOTE: This will force licensees who use automation to update their tests.
#codereview: jason.bestimt, mike.fricker, ben.salem
[CL 2672561 by Adric Worley in Main branch]
jira: UE-12328
When the resolution is not full screen, resolution will always be smaller then the primary desktop resolution, even if the resolution is specified on the commandline(-ResX= and/or -ResY=).
In the case the primary desktop size is smaller then the minimum resolution (1280x720), the system will create a resolution of a scale of 5/6 of the desktop size in both direction, width and height. This will prevent having a window of the desktop size which conflict with the taskbar. Note that the UI layout will not support well small resolution like this.
[CL 2667816 by Alexis Matte in Main branch]
Added advanced searching syntax to Find-in-Blueprints, leveraging the system used for the CB.
TextFilterExpressionEvaluator has support for identifying functions.
Find-in-all-Blueprints uses a single separate thread again, it cannot utilize the task graph system for lack of heap space.
Find-in-Blueprints now supports searching using tags and filters for limiting searches to certain objects inside of Blueprints.
Interfaces, paths, and parent class name are now searchable when using tags.
Added a system for systematically loading and identifying unloaded Blueprint data.
#jira UE-19289 - Advanced Syntax Filtering of FiB Data
#codereview Dan.OConnor
[CL 2667531 by Michael Schoell in Main branch]
- The buffering in WindowsPlatformFile seems to be enough.
- Added an explicit switch to turn it back on in case broader testing proves the above wrong.
(Merging CL 2666741 to main)
[CL 2666903 by Dmitry Rekman in Main branch]
- Enabled by default (no change in behavior), can be turned off with -NoCachedReadFile commandline switch.
- Impact if FCachedReadPlatformFile is disabled (all data from anecdotal local tests, although repeated several times):
- Linux servers have lesser memory footprint (-10% in terms of address space), however, start up times take 1.5x longer.
- Windows client experiences similar effect on memory, load times don't seem to be affected (perhaps due to the secondary cache in FAsyncBufferedFileReaderWindows).
(Merging CL 2665628 from FN to main)
[CL 2665645 by Dmitry Rekman in Main branch]
- Fixes Linux editor crashing on start.
- Stats messages can be sent during global constructor initialization (e.g. creating global SNullWidget instance in SNullWidget.cpp sends one).
- Accesing FPlatformTLS::GetTlsValue() with key (slot id) that was not allocated using FPlatformTLS:AllocTlsSlot() results is bad for pthread-based platforms.
#codereview Jaroslaw.Surowiec, Robert.Manuszewski
[CL 2665428 by Dmitry Rekman in Main branch]
#UE4 Case sensitive display name lookups in TextLocalIzationManager and case sensitive comparison in ICUCulture.
#RB Saul.Abreu, Jamie.Dale, Justin.Sargent
--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2664472 by Bob.Tellez on 2015/08/21 11:19:17.
[CL 2664476 by Bob Tellez in Main branch]
TextFilterExpressionEvaluator has support for identifying functions.
Find-in-all-Blueprints uses a single separate thread again, it cannot utilize the task graph system for lack of heap space.
Find-in-Blueprints now supports searching using tags and filters for limiting searches to certain objects inside of Blueprints.
Interfaces, paths, and parent class name are now searchable when using tags.
Added a system for systematically loading and identifying unloaded Blueprint data.
#jira UE-19289 - Advanced Syntax Filtering of FiB Data
[CL 2664397 by Michael Schoell in Main branch]