Commit Graph

2741 Commits

Author SHA1 Message Date
Martin Mittring
97ee86291e UE-19859 Remove debug/show rendering features on shipping
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]
2015-08-28 17:18:26 -04:00
Bob Tellez
adccb0a85a [AUTOMERGE]
#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]
2015-08-28 15:39:38 -04:00
Sammy James
9266dffb85 Added an interface to bubble up console commands.
#platformnotify Josh.Adams

[CL 2672751 by Sammy James in Main branch]
2015-08-28 15:03:07 -04:00
Adric Worley
9d134e7464 #ENGINE - Integrating automation test flags refactor
- 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]
2015-08-28 13:23:02 -04:00
Steve Robb
e710837e2a Removed Broadcast forwarding function for derived multicast delegates to bring it into parity with the variadic version.
#codereview robert.manuszewski,michael.troughton

[CL 2672383 by Steve Robb in Main branch]
2015-08-28 11:51:02 -04:00
Peter Knepley
2eacb61d14 Linux dedicated servers should launch crash reporter with -unattended
Merging 2671555

//depot/UE4-UT/...

to //depot/UE4/...

#platformnotify Josh.Adams

[CL 2671560 by Peter Knepley in Main branch]
2015-08-27 17:13:23 -04:00
Peter Knepley
6f00f2d671 Windows dedicated server should run crash report client in unattended mode
Merging 2671504

//depot/UE4-UT/...

to //depot/UE4/...

#platformnotify Josh.Adams

[CL 2671531 by Peter Knepley in Main branch]
2015-08-27 17:01:27 -04:00
Steve Robb
e0e18e5319 Fix for FString::Compare comment.
#codereview robert.manuszewski

[CL 2671034 by Steve Robb in Main branch]
2015-08-27 11:50:24 -04:00
Steve Robb
fb2baf52de Compile fixes for TCircularQueue::Count.
#codereview robert.manuszewski

[CL 2670752 by Steve Robb in Main branch]
2015-08-27 07:57:45 -04:00
Michael Noland
40c738a915 Core: Avoiding allocations in DoesConfigPropertyValueMatch
[INTEGRATE] Change 2668488 by Michael.Noland@mnoland-T2784-HDepot on 2015/08/25 17:39:10

[CL 2668700 by Michael Noland in Main branch]
2015-08-25 19:43:58 -04:00
Jeff Campeau
47a5d75a06 Fix accidentally commented line
[CL 2668340 by Jeff Campeau in Main branch]
2015-08-25 16:44:10 -04:00
Jeff Campeau
e757dc2c9f VS2015 dissable __is_pod update warning
[CL 2668311 by Jeff Campeau in Main branch]
2015-08-25 16:32:28 -04:00
Alexis Matte
a28865bc9d #codereview matt.kuhlenschmidt
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]
2015-08-25 12:46:07 -04:00
Michael Schoell
fd82141c2a Resubmitting CL# 2664397 with a fix for the Content Browser filtering.
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]
2015-08-25 10:38:11 -04:00
Dan Oconnor
7d13ce4ed6 Back out changelist 2664397
#jira UE-20259

[CL 2667005 by Dan Oconnor in Main branch]
2015-08-24 19:46:09 -04:00
Dmitry Rekman
14bc41195d FCachedReadPlatformFile: default to off on Windows (UEPLAT-1017).
- 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]
2015-08-24 18:33:43 -04:00
Allar
4b1d9ffc87 Fixes a spelling error in code Padd->Pad.
PR #1486: Typo fix, bPaddNibble to bPadNibble in HexToBytes (Contributed by Allar)

[CL 2666718 by Michael Schoell in Main branch]
2015-08-24 17:05:43 -04:00
Mieszko Zielinski
beefe3a97a Fix to FMath::SegmentIntersection2D comment #UE4
[CL 2666601 by Mieszko Zielinski in Main branch]
2015-08-24 16:12:03 -04:00
Dmitry Rekman
ac9a5a2ea9 Allow disabling FCachedReadPlatformFile on desktop platforms (UEPLAT-1017).
- 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]
2015-08-24 01:36:08 -04:00
Dmitry Rekman
dcef1319ed Linux: benchmark clocks.
- Makes perf problems on VMs more evident.

(Merging CL 2665576 from FN to main).

[CL 2665644 by Dmitry Rekman in Main branch]
2015-08-24 01:35:49 -04:00
Dmitry Rekman
f533a6ac23 Stats2: fix trying to access TLS value with invalid TLS key.
- 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]
2015-08-23 01:38:19 -04:00
Peter Sauerbrei
a5dae9f755 PR-1285 - added CanLaunchURL blueprint function
courtesy of derekvanvliet
#platformnotify josh.adams

[CL 2664624 by Peter Sauerbrei in Main branch]
2015-08-21 13:23:18 -04:00
Bob Tellez
23d5f80416 [AUTOMERGE]
#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]
2015-08-21 11:19:56 -04:00
Michael Schoell
80a959fb57 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

[CL 2664397 by Michael Schoell in Main branch]
2015-08-21 10:22:37 -04:00
EverNewJoy
3dcdb84961 PR #1365: FVector::DistSquaredXY ? Rama (Contributed by EverNewJoy)
[CL 2664192 by Robert Manuszewski in Main branch]
2015-08-21 06:06:49 -04:00