Commit Graph

28 Commits

Author SHA1 Message Date
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
Ben Marsh
0c9614b56a Fixes for UnrealVersionSelector:
* Only try to build UBT if it's not present in the *target* engine directory (as opposed to the running engine directory). Fixes problems with running from launcher installation.
* Fix building UBT from paths that contain spaces.
* Better logging of what's going on when trying to build UBT (and possible failure points)
* Remove duplicate entries in installation list, and make sure that every path is stored in the same way. Was allowing a number of paths to contain relative portions.

#codereview Carlos.Cuello

[CL 2424385 by Ben Marsh in Main branch]
2015-01-29 16:15:16 -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
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05: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
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
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
Ben Marsh
a711f14ebc Fixed stale file association settings that were never cleaned up from the old UE/Rocket shell extensions.
[CL 2262706 by Ben Marsh in Main branch]
2014-08-19 13:06:50 -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
Terence Burns
440672e372 Fix for Windows XP compile issues.
Cannot use ::RegGetValue or ::RegDeleteTree with xp supported builds, compatible alternatives added.

[CL 2251408 by Terence Burns in Main branch]
2014-08-11 10:30:29 -04:00
Ben Marsh
2273dd82b7 Normalize path for Win32 call to opening a project using the shell.
[CL 2110346 by Ben Marsh in Main branch]
2014-06-19 08:06:46 -04:00
Ben Marsh
dbe3af585d Add a function to open a project file using the shell. Always opens as an Unreal.ProjectFile, preventing the user's default program selection from overriding it.
#codereview Nicholas.Davies

[CL 2109482 by Ben Marsh in Main branch]
2014-06-18 13:42:01 -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
Ben Marsh
bf6db427fe Fix generating project files for non-foreign projects.
[CL 2077834 by Ben Marsh in Main branch]
2014-05-19 13:08:08 -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
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
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
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
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
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
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