Commit Graph

13 Commits

Author SHA1 Message Date
Ben Marsh
13a0feb87b Fix UnrealVersionSelector spawning the editor behind other processes. FWindowsPlatformProcess::ExecProcess() passes SW_SHOWMINNOACTIVE in STARTUPINFO, so just call CreateProcess() directly instead. (Merged back from 4.6 branch).
[CL 2388784 by Ben Marsh in Main branch]
2014-12-15 12:33:27 -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
Ben Marsh
959cfa782d Add missing copyright notices to source files.
[CL 2379212 by Ben Marsh in Main branch]
2014-12-06 19:14:20 -05:00
Ben Marsh
6656c954cd Prompt to browse for an engine installation if there isn't one installed.
[CL 2239982 by Ben Marsh in Main branch]
2014-08-01 12:02:55 -04:00
Ben Marsh
4dbff0023e Add a horizontal scroll bar to the version selector error dialog.
[CL 2077836 by Ben Marsh in Main branch]
2014-05-19 13:08:31 -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
4b37f14c76 Incorporate support for non-foreign project handling into scheme used by UnrealVersionSelector et al, and automatically register engine installations whenever necessary.
Whenever a blank engine association is read from a .uproject via GetEngineIdentifierForProject(), it checks up the directory hierarchy for an engine capable of loading it via its .uprojectdirs search directories. If found, it will use that engine's local identifier from the registry, or register it if it doesn't exist.

Setting a project's engine association to an engine which is capable of loading it via it's .uprojectdirs will cause it to write a blank engine association string into the .uproject (and triggering the behaviour above on open).

#codereview Michael.Trepka

[CL 2064463 by Ben Marsh in Main branch]
2014-05-06 10:27:35 -04:00
Ben Marsh
7b0f041f8b Add missing resources for UnrealVersionSelector, add missing to DesktopPlatformWindows and remove RegisterShellCommands.bat (just run UnrealVersionSelector to set up file associations). Also always select something by default in the switch engine version dialog.
[CL 2045856 by Ben Marsh in Main branch]
2014-04-23 18:46:59 -04:00
Ben Marsh
ec684822c3 Updates to version selector.
* Lots of code moved into IDesktopPlatform for sharing with Launcher and Mac (including setting up file associations, querying project versions, etc...)
* Hack to enumerate all the known launcher engine installations. Does not use registry keys any more. Will probably change to use a list of installations generated by the launcher at some point soon.
* List of registered GitHub builds is stored in HKEY_CURRENT_USER
* Switching engine versions is now done through a dialog rather than through the context menu.
* VersionSelector includes a version number for shell integration, allowing it to defer to an existing installation of the same version if necessary.

#codereview Michael.Trepka

[CL 2045845 by Ben Marsh in Main branch]
2014-04-23 18:46:48 -04:00
Ben Marsh
8835780db3 Move functions for querying engine installations from Core to DesktopPlatform.
[CL 2044626 by Ben Marsh in Main branch]
2014-04-23 18:32:52 -04:00
Ben Marsh
5d2a27f07f Fix command line for handling of GenerateProjectFiles.bat in UnrealVersionSelector
[CL 2044389 by Ben Marsh in Main branch]
2014-04-23 18:28:06 -04:00
Ben Marsh
1e98028ebc Allow engine to query installed versions, so we can handle .uproject engine associations from inside the editor and at runtime.
[CL 2042660 by Ben Marsh in Main branch]
2014-04-23 18:07:04 -04:00
Ben Marsh
4de5cfa396 Add UnrealVersionSelector. Allows having multiple engine installations (GitHub and binary) on the same machine, and uses a tag in the .uproject file to associate projects with the correct one. Also sets up explorer shell extensions on Windows, allowing a project to be associated with any engine version.
[CL 2041588 by Ben Marsh in Main branch]
2014-04-23 17:52:54 -04:00