Commit Graph

22 Commits

Author SHA1 Message Date
Ben Marsh
3bac51e396 Provide a proper error message if a file cannot be deleted during project upgrade, and fix offering to checkout the project file if necessary.
[CL 2227462 by Ben Marsh in Main branch]
2014-07-22 15:58:02 -04:00
Nick Darnell
2e2dcaa6b2 UMG - ESlateCheckBoxState is now an actual Enum. This required updating a lot of code that was using auto conversion from bool to int. Fixing a lot of issues with garbage collecting and circular references, old button/border widgets will be broken by this checkin. No longer crashing on exit of PIE.
[CL 2111919 by Nick Darnell in Main branch]
2014-06-20 12:37:24 -04:00
Jamie Dale
9c3629d2a6 Re-added support for custom categories in the Project Browser
TTP# 327759 - Cannot set Project Browser Category on user-created projects

The code for it had been removed during some other changes.

ReviewedBy Max.Preussner

[CL 2095998 by Jamie Dale in Main branch]
2014-06-05 16:40:19 -04:00
Jamie Dale
0cfe5f0651 Added PlatformInfo to DesktopPlatform and improved the editors Supported Platform UI
TTP# 337136 - SETTINGS: Target Platform settings polish
TTP# 337652 - EDITOR: Limit Project supported Android icons down to 1
TTP# 337650 - EDITOR: There is only 1 icon for Apple for Project Supported Platforms

DesktopPlatform now contains a static array of FPlatformInfo. This can be used to query UE4 about its available platforms, even when they're not available as a target platform.

FPlatformInfo contains the information required by the editor (such as a localized display name and icon), as well as whether a platform is a variation ("flavor") of another, and if so, whether the flavor affects the build output (eg, Win32 or Win64), or the cook output (eg, Android_XYZ). This lets the editor build up nested menus for the "Package Project" and "Cook Project" options, rather than just showing everything as a flat list.

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2095796 by Jamie Dale in Main branch]
2014-06-05 12:13:44 -04:00
Ben Marsh
034f01c732 Add a single codepath to enumerate projects for an engine installation, which can be shared with the launcher.
#codereview Nicholas.Davies

[CL 2095028 by Ben Marsh in Main branch]
2014-06-04 18:06:57 -04:00
Ben Marsh
89668b5397 [INTEGRATE] Everything from 4.2 branch back into main.
[CL 2088526 by Ben Marsh in Main branch]
2014-05-29 17:45:17 -04:00
Jamie Dale
c730fdef83 Added support for choosing which platforms your project will target
TTP# 332489 - TOOLS FEATURE: Editor: Allow user to designate which platforms a project is designed for; warn user when deploying to platforms that will result in a bad time

There is now a "Target Platforms" tab in the project settings which allows you to choose which platforms your project will target. This information is stored inside the .uproject file.

If you try and launch, cook, or package for a project that isn't on the supported list, then you'll see a suppressible warning notifying you that the project may not run as expected. This is also conveyed to you via a warning icon next to platforms which aren't set as a target.

Additionally the target platform icons are shown in the tooltip on the "Open Project" dialog, as well as in the tab area of the level editor.

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2088161 by Jamie Dale in Main branch]
2014-05-29 17:37:19 -04:00
Ben Marsh
7314dc268c Improve wording for project upgrade dialog depending on whether you're upgrading a code or content project. Also fix alignment of buttons in dialog.
[CL 2075975 by Ben Marsh in Main branch]
2014-05-16 16:54:03 -04:00
Ben Marsh
1ebcac20b5 Add a button to skip the conversion process for projects.
[CL 2075853 by Ben Marsh in Main branch]
2014-05-16 15:13:50 -04:00
Ben Marsh
63f9963d59 Removing calls to clean a project when switching versions. Paranoid that it might do the wrong thing more often than the right thing after seeing a bug in the engine association code yesterday, since UBT running successfully has so many preconditions.
#codereview Michael.Trepka

[CL 2075510 by Ben Marsh in Main branch]
2014-05-16 10:12:28 -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
ff8c7e8ba4 Fix non-unity build error.
[CL 2072347 by Ben Marsh in Main branch]
2014-05-13 20:19:11 -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
Andrew Rodham
053528c62e Out of date projects now appear faded-out on the project browser
This is to highlight that they will need to be upgraded before they can be used in the current version of the engine. Currently there is no upgrade step, but this will be implemented shortly. This addresses some of TTP #333190 (Project Browser: Improved workflow for opening projects from earlier versions of the editor)

Reviewed by Ben Marsh

[CL 2066916 by Andrew Rodham in Main branch]
2014-05-08 09:20:52 -04:00
Ben Marsh
168f545c03 Remove all the different categories for sample games - just use "Samples" or "My Projects".
[CL 2057884 by Ben Marsh in Main branch]
2014-04-28 13:19:56 -04:00
Andrew Rodham
5279e1c6a6 #ttp 332687 - CRITICAL: Regression: Editor hangs after selecting File > New/Open Project
#summary Fixed performance regression caused by enumerating all engine installations for every project in the project browser
#proj Editor
#branch UE4
#reviewedby Thomas.Sarkanen, Matt.Kuhlenschmidt

[CL 2049863 by Andrew Rodham in Main branch]
2014-04-23 19:33:45 -04:00
Andrew Rodham
da46d96504 #ttp 328688 - Project Browser doesn't refresh for new downloads
#summary Added ability to refresh the project browser (using the refresh button, or by pressing F5)
#proj Editor
#branch UE4
#reviewedby Thomas.Sarkanen, Matt.Kuhlenschmidt

[CL 2047607 by Andrew Rodham in Main branch]
2014-04-23 19:08:21 -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
Jamie Dale
3a96821e42 #ttp 330142 - EDITOR: Users are unable to see the file path of a project in the project
#proj UE4
#branch UE4
#summary Added a tooltip to show project information, as well as a context menu option to go to the .uproject file in explorer
#extra There is now a tooltip (styled like the content browser tooltip) showing the description (if available) and the path to the project. There is also a context menu option to go to the .uproject file for the selected project.
#reviewedby Thomas.Sarkanen, Max.Preussner

[CL 2040531 by Jamie Dale in Main branch]
2014-04-23 17:41:37 -04:00
TimSweeney
3a75fe0114 Engine source (Main branch up to CL 2027006) 2014-03-15 01:14:25 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00