Commit Graph

36 Commits

Author SHA1 Message Date
Carlos Cuello
6f1ac76399 [INTEGRATE] UE4-LauncherDev->UE4 integrate all up to cl 2475889
[CL 2478426 by Carlos Cuello in Main branch]
2015-03-13 08:26:18 -04:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Marc Audy
5a9d2471d9 Fix shadowed variables
[CL 2456886 by Marc Audy in Main branch]
2015-02-23 16:18:13 -05:00
Dmitry Rekman
7f0fd4c401 Added generic UserTempDir() to platform abstraction.
- Moved Windows code from DesktopPlatform module to Core.
- All other platforms aren't implemented yet, but should compile (fixes CIS).

#codereview Dan.Hertzka, Matt.Kuhlenschmidt, Michael.Trepka, Josh.Adams

[CL 2409470 by Dmitry Rekman in Main branch]
2015-01-16 16:20:36 -05:00
Dan Hertzka
8c7348dc9b Replaced the "Get Visual Studio" hyperlink in the SNewProjectWizard and SNewClassDialog with an "Install Visual Studio" button on Windows
- Added IDesktopPlatform::GetUserTempPath() and implemented it for windows
- Created SGetSuggestedIDEWidget class that handles whether to show a "Download X" hyperlink vs. an "Install X" button (depending on whether the platform supports on-demand installation)
- Analytics event added ("Editor.Usage.InstalledIDE") that fires whenever the "Install X" button is clicked
- Changed SourceCodeIDEURL_Windows in BaseEditor.ini from the VSC 2013 web page link to the installer download link (need to replace with perma-link once we have it)

[CL 2409158 by Dan Hertzka in Main branch]
2015-01-16 13:29:54 -05:00
Michael Trepka
a7dc814d11 Made the editor able to detect both old and new versions of the launcher
[CL 2399769 by Michael Trepka in Main branch]
2015-01-07 09:26:48 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Michael Trepka
e9618f612d Made the Mac editor aware of Launcher name change
[CL 2362424 by Michael Trepka in Main branch]
2014-11-17 14:59:07 -05:00
Ben Marsh
e337c25611 PR-559: Changes needed for the 4.5.1.0 release of the Substance plugin
[CL 2345168 by Ben Marsh in Main branch]
2014-10-30 13:21:40 -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
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
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
Michael Trepka
da0d7fb3d2 Changed FDesktopPlatformBase::IsStockEngineRelease() to use FGuid::Parse() and updated Mac engine id generator to use EGuidFormats::DigitsWithHyphensInBraces
[CL 2274942 by Michael Trepka in Main branch]
2014-08-27 15:29:01 -04:00
Mark Satterthwaite
fa8c5a70fb Stop calling some game-thread code on the main-thread when opening the native open/save/font dialogs on OS X post thread separation.
#codereview michael.trepka

[CL 2262586 by Mark Satterthwaite in Main branch]
2014-08-19 11:21:24 -04:00
Mark Satterthwaite
8f351ac383 On OS X detach the game thread from the 'blessed' Cocoa main thread.
Cocoa isn't an event-polling API as UE4 expects, so previously we were subverting the NSApplication's event handling to pretend that it was. When the engine wasn't running the event loop fast enough, such as when loading where it isn't processed at all, this resulted in unresponsive windows and Spinning-Beachball-Of-Death. That isn't very satisfactory & to some users appears as if the application has crashed. To address these deficiencies without further attempts to subvert Cocoa, the game is now punted onto a separate thread where it can run its own tight-loop, leaving the main thread to handle the Cocoa event run-loop. Events are captured by delegate objects, as Cocoa requires, but dispatched and handled on the game thread which makes Cocoa appear more like other platform APIs to the higher-level UE4 code.
This can all be disabled using the MAC_SEPARATE_GAME_THREAD define in CocoaThread.cpp.
#codereview michael.trepka

[CL 2262543 by Mark Satterthwaite in Main branch]
2014-08-19 10:46:30 -04:00
Ben Marsh
f059fa0542 Always show the marketplace button if the launcher is installed (or can be installed from the installers in Engine\\Extras\\UnrealEngineLauncher).
#codereview Mike.Fricker, Michael.Trepka

[CL 2262476 by Ben Marsh in Main branch]
2014-08-19 09:54:22 -04:00
Steve Robb
57dd5d7493 New ENUM_CLASS_FLAGS macro for declaring all of the bitwise operators needed for a bitflags enum.
Fixed CONSTEXPR definitions.
Converted EFontImportFlags to an enum class in order to test this feature.

#codereview robert.manuszewski,john.barrett

[CL 2254804 by Steve Robb in Main branch]
2014-08-13 12:53:47 -04:00
Carlos Cuello
3d1660ea6d [INTEGRATE] UE4-LauncherRelease->UE4 integrate integrate latest from LauncherReleases, including fixes for various issues that we've released the past month, and the new engine slot and notification systems
[CL 2248562 by Carlos Cuello in Main branch]
2014-08-08 11:33:23 -04:00
Michael Trepka
5bd6255fde More Clang compile warning fixes
[CL 2237347 by Michael Trepka in Main branch]
2014-07-30 14:51:27 -04:00
Carlos Cuello
d2f797b853 [INTEGRATE] Merging using UE4-LauncherReleasesTo-UE4 all up to cl 2111815
[CL 2111984 by Carlos Cuello in Main branch]
2014-06-20 13:37:52 -04:00
Matt Kuhlenschmidt
cb140c07dc Merged GitHub pull request #202 to main.
refactored tga code to allows use outside of EditorFactories.cpp
added support for grayscale jpeg
fix memory leak in jpeg code
changes in AssetTools to allow to specify precise factory when multiple factories support the same filetype
changes in Plugin.cs to allow binary only plugins
exposed parts of engine API to other modules

[CL 2108453 by Matt Kuhlenschmidt in Main branch]
2014-06-17 16:16:40 -04:00
Mark Satterthwaite
3ef0bac6a7 Track and reset the key window when using the OS X open/save dialog otherwise it will steal focus and not return it.
#codereview michael.trepka

[CL 2104618 by Mark Satterthwaite in Main branch]
2014-06-13 11:09:48 -04:00
Ben Marsh
b4d4fe3f07 Add a Mac FFeedbackContext which shows the log window during slow tasks. Windows version displays a nice status message and progress bar, but this will do for now. Will be used to recompile out-of-date binaries on startup.
#codereview Michael.Trepka

[CL 2073573 by Ben Marsh in Main branch]
2014-05-14 18:56:27 -04:00
Ben Marsh
45ebc11eb9 Add native feedback context for Windows, and use it to display project file generation progress in UnrealVersionSelector. Also generate project files when switching versions.
[CL 2073201 by Ben Marsh in Main branch]
2014-05-14 14:53:19 -04:00
Ben Marsh
6251d1c57e Change project 'upgrades' to be based on the format of the project file and nothing to do with engine version or association, and allow the UpdateGameProject commandlet to always write latest version information to the file.
[CL 2072245 by Ben Marsh in Main branch]
2014-05-13 18:23:53 -04:00