Commit Graph

119 Commits

Author SHA1 Message Date
Max Preussner
1fab6e586f Slate: Added support for convertible laptops on Windows (GitHub PR #380 by JeffRous)
https://github.com/EpicGames/UnrealEngine/pull/380

#CodeReview: nick.atamas

[CL 2324225 by Max Preussner in Main branch]
2014-10-09 11:44:41 -04:00
Jaroslaw Surowiec
7227dad9b8 CrashReport - Refactoring continued
[CL 2324141 by Jaroslaw Surowiec in Main branch]
2014-10-09 11:27:20 -04:00
Jaroslaw Surowiec
e2b920244b CrashReport - Renamed WindowsPlatformExceptionHandling to *CrashContext, to be consistent with other platforms
[CL 2323894 by Jaroslaw Surowiec in Main branch]
2014-10-09 06:01:10 -04:00
Jaroslaw Surowiec
984bf67cc2 Core/CrashReport - FGenericCrashContext::Initialize caches several platform specific data so getting that data should be safe after a crash, called in PlatformPreInit
#codereview Robert.Manuszewski

[CL 2323890 by Jaroslaw Surowiec in Main branch]
2014-10-09 05:56:08 -04:00
Jaroslaw Surowiec
48c137098e CrashReport - CrashContext.runtime-xml is now a part of the minidump file, so the whole crash report is just one file
[CL 2323885 by Jaroslaw Surowiec in Main branch]
2014-10-09 05:46:03 -04:00
Jaroslaw Surowiec
2639674e97 CrashReport - Added missing override
[CL 2322957 by Jaroslaw Surowiec in Main branch]
2014-10-08 13:39:44 -04:00
Jaroslaw Surowiec
d33f0d54a3 Core - GetOSVersions is cached
[CL 2322568 by Jaroslaw Surowiec in Main branch]
2014-10-08 09:08:31 -04:00
Andrew Rodham
4ad1b987fc Improved progress reporting in the editor
FScopedSlowTask has been refactored to better allow for nesting of slow operations. This allows us to cascade nested scopes and provide accurate feedback on slow tasks. FScopedSlowTasks now work together when nested inside sub functions. Break up long functions that contain calls to multiple nested FScopedSlowTasks with FScopedSlowTask::EnterProgressFrame().

Example Usage:
void DoSlowWork()
{
    FScopedSlowTask Progress(2.f, LOCTEXT("DoingSlowWork", "Doing Slow Work..."));
    // Optionally make this show a dialog if not already shown
    Progress.MakeDialog();

    // Indicate that we are entering a frame representing 1 unit of work
    Progress.EnterProgressFrame(1.f);

    // DoFirstThing() can follow a similar pattern of creating a scope divided into frames. These contribute to their parent's progress frame proportionately.
    DoFirstThing();

    Progress.EnterProgressFrame(1.f);
    DoSecondThing();
}

This addresses TTP#338602 - NEEDS REVIEW: Editor progress bars nearly always just show 100%, don't offer useful indication of progress

[CL 2322391 by Andrew Rodham in Main branch]
2014-10-08 04:42:34 -04:00
Jaroslaw Surowiec
8840c5d6b2 CrashReport - Added GenericPlatformContext
#codereview Robert.Manuszewski

[CL 2321042 by Jaroslaw Surowiec in Main branch]
2014-10-07 05:41:02 -04:00
Ben Marsh
77b7f83587 Add binaries directories to the PATH environment variable on Windows, so the loader can always find implicitly linked DLLs. Prevents having to mess around with module load order to link directly to plugin libraries.
[CL 2317460 by Ben Marsh in Main branch]
2014-10-02 12:00:13 -04:00
Michael Noland
cf61cf2c85 Core: Coding-standards fixes (TypeName [*|&] VariableName -> TypeName[*|&] VariableName)
[CL 2316335 by Michael Noland in Main branch]
2014-10-01 14:40:06 -04:00
Jaroslaw Palczynski
65ba5d456f TArray documentation and a coupld of methods deprecation.
Changes mostly in Array.h. The changes in other files are only renames for deprecated functions.

[CL 2312616 by Jaroslaw Palczynski in Main branch]
2014-09-29 04:23:44 -04:00
Jaroslaw Surowiec
4874b6bd15 Core - Fixed a typo, GetEngineMode() is now saved correctly
[CL 2308448 by Jaroslaw Surowiec in Main branch]
2014-09-24 12:15:20 -04:00
Jaroslaw Surowiec
70e49bdfa1 CrashReport - Removed verbosity flags, we most of the time display all data, removed duplicated FProgramCounterSymbolInfo, partially switched to unified ProgramCounterToHumanReadableString
#codereview Robert.Manuszewski

[CL 2290682 by Jaroslaw Surowiec in Main branch]
2014-09-09 12:16:55 -04:00
Jaroslaw Surowiec
06f06622d8 CrashReport - GetEngineMode moved to FPlatformMisc, removed duplicates
#codereview Robert.Manuszewski

[CL 2286144 by Jaroslaw Surowiec in Main branch]
2014-09-05 07:54:53 -04:00
Terence Burns
c7a281b8b7 Remove hardcoded font path for windows.
[CL 2282677 by Terence Burns in Main branch]
2014-09-03 04:20:44 -04:00
Jamie Dale
9c33e3e104 Fixed some IME activation/deactivation issues
TTP# 343949 - CRASH: Adding Japanese comments to blueprints by pressing "c" key leads to crash

Newly created windows now have their HWND associated with the disabled IME contexts to prevent you being able to compose when there is no text area active. The only exception to this is when a new window opens while composing (eg, to show a search filter) - in this case we have to try and preserve the current IME context as the user is still typing.

To make sure that all of the windows which may be using an IME context are disabled when a text area loses focus, we now keep a list of known windows, and go through and re-associate each HWND with the disabled IME contexts when DeactivateContext is called.

There was also an issue where Slate widgets could be culled (and thus, unregister their context) without being told they had lost focus, which resulted in a crash as the active context had been unregistered. The Slate widgets in question now make sure they deactivate themselves before unregistering their context.

This also fixes an issue where an IMM based IME would incorrectly set the selection range when it was cancelled.

ReviewedBy Justin.Sargent. Saul.Abreu

[CL 2281277 by Jamie Dale in Main branch]
2014-09-02 07:14:50 -04:00
Dmitry Rekman
68c7b72779 Allow compiling for Windows without named pipes support.
Fix for case when PLATFORM_SUPPORTS_NAMED_PIPES is defined to 0 (e.g. for debugging purposes).

#codereview Rolando.Caloca

[CL 2280929 by Dmitry Rekman in Main branch]
2014-09-02 00:02:57 -04:00
Jaroslaw Surowiec
009eec8cda CrashReport - Added ensure message to the crash report, reworked assertion message passing to the crash, reworked FailDebug method and renamed to StaticFailDebug, misc code clean-up, cleaned-up callstack dumping to the log file, now it should just dump the callstack once
#codereview Robert.Manuszewski

[CL 2277669 by Jaroslaw Surowiec in Main branch]
2014-08-29 10:35:16 -04:00
Terence Burns
21d0977249 SystemDefaultFont - IOS implementation added. Extended from Nick Atams work to make this available to us
[CL 2277559 by Terence Burns in Main branch]
2014-08-29 08:44:36 -04:00
Dmitry Rekman
674a831107 Removing unnecessary modules from servers/programs.
- Do not try to load ALAudio and SteamController on Linux servers (TTP #344970).
- Do not load HeadMountedDisplay on all platform servers.

#codereview Nick.Whiting, JJ.Hoesing, Josh.Adams

[CL 2276426 by Dmitry Rekman in Main branch]
2014-08-28 13:49:44 -04:00
Matt Kuhlenschmidt
f73f9adcab Added support for "mailto:" url links on Mac and Windows
[CL 2274893 by Matt Kuhlenschmidt in Main branch]
2014-08-27 15:03:54 -04:00
Rolando Caloca
ce23bbf205 UE4 - Safe integration SM3->SM4
[CL 2271099 by Rolando Caloca in Main branch]
2014-08-25 16:47:22 -04:00
Jaroslaw Surowiec
e6c5a6d28e Stats - Fixed minor memory leak
[CL 2265993 by Jaroslaw Surowiec in Main branch]
2014-08-21 10:44:25 -04:00
Graeme Thornton
a2720ee3b8 Moved GetDisplayMetrics from the application object to a static method on FDisplayMetrics.
- Allows access to display metrics before application object has been initialized, which is necessary to allow the game user settings preload function to correctly determine the right startup resolution for fullscreen modes.

Set fortnite default video mode to be windowed fullscreen

[CL 2264092 by Graeme Thornton in Main branch]
2014-08-20 08:32:07 -04:00