Commit Graph

92 Commits

Author SHA1 Message Date
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
Ben Marsh
3d814cc1cc Add a failsafe for deducing the target name when rebuilding a project. In situations when the project has been renamed (by the launcher, or manually), the target name will still be the original name.
[CL 2319917 by Ben Marsh in Main branch]
2014-10-06 10:59:41 -04:00
Michael Trepka
d9b0436e33 Don't activate the Launcher on Mac when the editor starts if it's already running, but hidden
[CL 2318464 by Michael Trepka in Main branch]
2014-10-03 08:54:52 -04:00
Josh Adams
884c913919 - Removing ES31 Target Platform from being compiled - it won't work without the code to support it properly, which isn't quite there yet [ttp 347603]
#codereview niklas.smedberg

[CL 2314333 by Josh Adams in Main branch]
2014-09-30 11:38:37 -04:00
Dmitry Rekman
0bf3bf69e7 Changes to LinuxNativeDialogs.
- pjoe's (#ue4linux) fix.
- Tweaking the sleep time.

[CL 2313649 by Dmitry Rekman in Main branch]
2014-09-29 19:22:37 -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
Mark Satterthwaite
1e247fa0f9 Fix OS X system modal dialog input by setting a flag in MacApplication to indicate that a system modal dialog is active. We don't want to try handling any keyboard input in a system modal loop (the IME run-loop mode won't ever fire) and we need to allow blocks dispatched to the main thread to be executed in the NSModalPanelRunLoopMode.
#codereview michael.trepka

[CL 2311347 by Mark Satterthwaite in Main branch]
2014-09-26 14:32:24 -04:00
Max Preussner
47e80c94d6 Json: Fixed log category not being exported
[CL 2310489 by Max Preussner in Main branch]
2014-09-25 18:48:22 -04:00
Max Preussner
6510058ee7 Core: Moved Json out of Core and into its own module
The main changes are as follows:

1. moved Json out of Core into own module 'Json'
2. moved 3 i10n classes (Json serializers) from Core into a new module 'Internationalization' *
3. fixed up 2 i10n classes in Core to not instantiate the 3 Json-based classes. instead they are now passed in as a dependency

*) (2) and (3) were required to decouple the I10n code in Core from Json. Much of the i10n code probably doesn't belong into Core in the first place, but there is no time to fix this right now.

The following cosmetic changes were also made:

- NULL to nullptr
- namespaced enums to enum classes
- renamed the three i10n Json serializer classes to comply with naming conventions
- removed file header comments (not used)
- documentation, spelling, spacing etc,

#UpgradeNotes: If your module is including Json.h then you have to add 'Json' to your Build.cs module dependencies.

#ReviewedBy: justin.sargent, saul.abreu

[CL 2310420 by Max Preussner in Main branch]
2014-09-25 18:03:04 -04:00
Thomas Sarkanen
4b0cf0acc2 Re-enable documentation link for HTML5, PS4 & XboxOne 'missing SDK' when packaging
Added a fallback to treat the path passed-in as a documentation path if the asset path doesnt correspond to a BP.

[CL 2309566 by Thomas Sarkanen in Main branch]
2014-09-25 05:55:15 -04:00
Ben Marsh
e2a2b088c0 Disable HTML5 in Rocket.
#codereview Ankit.Khare

[CL 2307290 by Ben Marsh in Main branch]
2014-09-23 15:40:21 -04:00
Ben Marsh
c9c73fece9 Support for Linux targets in binary Rocket.
#codereview Dmitry.Rekman

[CL 2305714 by Ben Marsh in Main branch]
2014-09-22 12:34:00 -04:00
Max Preussner
121fccd2ab Code and documentation cleanup pass
- removed dummy UClasses (no longer needed)
- removed file header comments (not used)
- removed duplicated function documentation in cpp files
- documentation cleanup, punctuation, spelling etc.
- pragma once include guards (now work on all platforms)
- relative public includes (are auto-discovered by UBT)
- fixed too many/too few line breaks
- deleted empty files
- missing override
- NULL to nullptr

[CL 2305058 by Max Preussner in Main branch]
2014-09-21 20:35:48 -04:00
Niklas Smedberg
bb8f417304 Support for OpenGL ES 3.1 + Android Extension Pack
[CL 2303212 by Niklas Smedberg in Main branch]
2014-09-18 17:49:40 -04:00
Robert Manuszewski
74916e7d9a CIS Fix (missing file from previous check-in).
[CL 2303015 by Robert Manuszewski in Main branch]
2014-09-18 16:44:32 -04:00
Robert Manuszewski
694e7ca807 Hot-Reload: Make sure hot-reload is waiting for new modules only when UBT from the current branch is running
#change Added (desktop) platform abstraction for checking if UBT is running. Fully functional for Windows, WIP for Mac and Linux (should work, but can give false positives)

[CL 2302894 by Robert Manuszewski in Main branch]
2014-09-18 15:12:13 -04:00
Thomas Sarkanen
304d700746 Added/edited extra tutorial contexts & added analytics
Tutorial contexts for IOS/Android/Whatever are now hooked up (console setup ones are still missing).

Analytics added for tutorial usage in various places.

Added ability to reset tutorial state with -ResetTutorials command-line flag.

Cleaned up some unused code (still a lot more to come here!).

[CL 2302314 by Thomas Sarkanen in Main branch]
2014-09-18 08:10:29 -04:00
Ben Marsh
ae5e700449 Use WinXP compatible functions for DesktopPlatform functionality. TTP 345688 seems to indicate failure to compile CrashReportClient due to using RegGetValue.
[CL 2301206 by Ben Marsh in Main branch]
2014-09-17 13:01:52 -04:00
Ankit Khare
e04b3c31a8 Fix up HTML5 Automation to correctly setup command line arguments. Make safari work correctly - it doesn't honor command line arguments like every other browser.
#ttp 342330

[CL 2298183 by Ankit Khare in Main branch]
2014-09-15 10:56:03 -04:00
Ankit Khare
4e9a5cb6ba Rocket: Enable HTML5 for rocket builds on Win64.
#codereview ben.marsh

[CL 2295409 by Ankit Khare in Main branch]
2014-09-12 15:56:47 -04:00
Ben Marsh
88ad84515f Remove a couple of unnecessary IS_MONOLITHIC checks.
[CL 2294118 by Ben Marsh in Main branch]
2014-09-11 16:10:11 -04:00
Ben Marsh
bb17aef300 Move functionality to invoke UBT into DesktopPlatform.
[CL 2286483 by Ben Marsh in Main branch]
2014-09-05 13:31:22 -04:00
Jaroslaw Surowiec
28f90c3553 Core - Moved GetMachineId/GetEpicAccountId to FGenericPlatformMisc
CrashReport - Restored missing functionality on Linux

#codereview Robert.Manuszewski

[CL 2284252 by Jaroslaw Surowiec in Main branch]
2014-09-04 05:58:33 -04:00
Michael Trepka
bbfae9357a Fixed a crash caused by FMacNativeFeedbackContextWindowController's window being released while still in use
#codereview Mark.Satterthwaite

[CL 2283038 by Michael Trepka in Main branch]
2014-09-03 11:17:05 -04:00
Dmitry Rekman
7d9c606925 Fix DesktopPlatform module on Linux.
#codereview Ben.Marsh

[CL 2279737 by Dmitry Rekman in Main branch]
2014-08-31 14:19:02 -04:00