Commit Graph

26 Commits

Author SHA1 Message Date
Ben Marsh
4cc9c102b6 Change detection of default engine for projects; just look for any valid engine directory up the hierarchy.
[CL 2074365 by Ben Marsh in Main branch]
2014-05-15 13:07:56 -04:00
Ben Marsh
25264358fd Fix updates not writing out to the log in FWindowsNativeFeedbackContext.
[CL 2073609 by Ben Marsh in Main branch]
2014-05-14 19:56:42 -04:00
Ben Marsh
39ddb49221 Clean binaries and intermediates before upgrading projects. Prevents stale build products, and allows detecting missing binaries on startup.
[CL 2073589 by Ben Marsh in Main branch]
2014-05-14 19:11:30 -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
9154520358 CIS fix for Win32.
[CL 2073374 by Ben Marsh in Main branch]
2014-05-14 16:20:51 -04:00
Ben Marsh
661056258e Don't re-read launcher installation list if the timestamp hasn't changed.
[CL 2073301 by Ben Marsh in Main branch]
2014-05-14 15:20:39 -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
5b0771bf78 Improve project discovery in the project browser.
- All projects referenced by .uprojectdirs are included, rather than using a separate hard-coded list of paths.
- Samples installed by the launcher are included.

[CL 2072300 by Ben Marsh in Main branch]
2014-05-13 19:34:00 -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
Michael Trepka
13d3f5bac7 Implemented FDesktopPlatformMac::RegisterEngineInstallation()
#codereview Ben.Marsh

[CL 2071541 by Michael Trepka in Main branch]
2014-05-13 10:10:18 -04:00
Jamie Dale
8df82f10d1 Fixed UnrealVersionSelector failing to add UE4 installation paths
FDesktopPlatformWindows::RegisterEngineInstallation was checking that creating the registry key had failed (rather than succeeded) before trying to add the value to the key.

ReviewedBy Ben.Marsh

[CL 2070177 by Jamie Dale in Main branch]
2014-05-12 08:39:57 -04:00
Ben Marsh
7c98d27edb Add engine support for the launcher installation list rather than manually parsing manifests.
#codereview Leigh.Swift, Michael.Trepka

[CL 2066876 by Ben Marsh in Main branch]
2014-05-08 08:20:34 -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
Michael Trepka
5d88ab6122 Updated UE4EditorServices binaries and compile fix
[CL 2054391 by Michael Trepka in Main branch]
2014-04-23 20:16:56 -04:00
Michael Trepka
df037b2070 Changed the path for temp project created by UE4EditorServices
[CL 2054390 by Michael Trepka in Main branch]
2014-04-23 20:16:45 -04:00
Max Preussner
c0a2d304b4 fixed UnrealEngineLauncher overwriting local P4 workspace files with files downloaded from the internet if launched through an Editor that was started with -Dev
[CL 2046896 by Max Preussner in Main branch]
2014-04-23 19:02:27 -04:00
Michael Trepka
5b646dd288 New version of UE4EditorServices (Mac tool for opening uproject files etc.)
[CL 2046760 by Michael Trepka in Main branch]
2014-04-23 18:59:02 -04:00
Ben Marsh
5fd0385b6d CIS fix for mac.
[CL 2045899 by Ben Marsh in Main branch]
2014-04-23 18:48:24 -04:00
Ben Marsh
890b81e3d2 Change default UnrealVersionSelector executable name to not have the Win64-Shipping suffix.
[CL 2045894 by Ben Marsh in Main branch]
2014-04-23 18:48:03 -04:00
Ben Marsh
c80ebaa524 Fix win32 DesktopPlatform for Launcher builds.
[CL 2045868 by Ben Marsh in Main branch]
2014-04-23 18:47:31 -04:00
Ben Marsh
6c05d84ef1 CIS fixes for 2045858
[CL 2045863 by Ben Marsh in Main branch]
2014-04-23 18:47:20 -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
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00