Commit Graph

80 Commits

Author SHA1 Message Date
David Harvey
01b37b3de6 Added GetUserConfirmation to Turnkey IO provider, allowing better Yes/No prompts.
#jira UE-118572
#rb nuno.leiria
#rnx

[CL 16771619 by David Harvey in ue5-main branch]
2021-06-24 08:55:13 -04:00
David Harvey
fab3fde1fd In-Editor UI for Turnkey.
#jira UE-118572
#rb Josh.Adams, Nuno.Leiria
#rnx

[CL 16754815 by David Harvey in ue5-main branch]
2021-06-23 05:38:48 -04:00
jonathan adamczewski
90dde181c0 ExitCode:
Move enum from AutomationUtils.Automation to BuildUtilities

#jira none
#trivial
#preflight 60ca8a3d78c3b00001f86b24

[CL 16701095 by jonathan adamczewski in ue5-main branch]
2021-06-17 01:49:00 -04:00
jonathan adamczewski
4ece24e65a AutomationTool, BuildUtilities:
UnrealBuild -> Unreal for EngineDirectory, RootDirectory, IsEngineInstalled, UnrealBuildToolPath
Remove CommandUtils EngineDirectory, RootDirectory, IsEngineInstalled - use equvalents from UnrealBuildBase.Unreal

#jira none

[CL 16648181 by jonathan adamczewski in ue5-main branch]
2021-06-11 18:20:44 -04:00
jonathan adamczewski
0af1ea99af Add a common C# method for detecting the current host platform to EpicGames.Core, and move many a test to use that code.
#jira none
#rb joe.kirchoff

[CL 16593582 by jonathan adamczewski in ue5-main branch]
2021-06-08 17:01:23 -04:00
jonathan adamczewski
7796bc81bb UnrealBuildTool:
Remove IsRunningOnMono

For remaining references, IsRunningOnMono -> !IsRunningOnWindows

#jira none
#trivial

[CL 16175552 by jonathan adamczewski in ue5-main branch]
2021-04-30 22:11:47 -04:00
nuno leiria
679b499b1b Move Turnkey editor dialog to an ApartmentState.STA thread so it doesn't deadlock on shutdown
#jira UE-113400
#rb luke.thatcher
#fyi josh.adams

[CL 16146151 by nuno leiria in ue5-main branch]
2021-04-28 13:32:35 -04:00
josh adams
98aadf5c36 - Categorized Turnkey commands
- Added ability to have input list options be headers (prefix with ;)
#rb nuno.leiria

#ROBOMERGE-SOURCE: CL 15472185 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15472224 by josh adams in ue5-main branch]
2021-02-19 11:59:55 -04:00
rolando caloca
9adc4e68d0 UE5EA - Fix Turnkey crash with null PossiblePlatforms
Fix a typo
#rb Josh.Adams

#ROBOMERGE-SOURCE: CL 15389446 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15389456 by rolando caloca in ue5-main branch]
2021-02-11 13:47:20 -04:00
josh adams
13682c6497 - Renamed FileRetriever class to ITurnkeyContext
- Enhanced Turnkey error reporting to the editor (TurnkeyContext now has Log and ReportError)
- Improved the SDK display in the editor
- Various bug fixes
- Renamed GetAutoSDKDirectoryForMasterVersion() to GetAutoSDKDirectoryForMainVersion()
#rb brian.white

#ROBOMERGE-SOURCE: CL 15357339 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15360341 by josh adams in ue5-main branch]
2021-02-08 17:07:27 -04:00
Josh Adams
a3869f12d5 - Android Turnkey support for prerequisites (making sure Android Studio has been installed and run once sdk directory creation)
- Updated versioning to pass to SetupAndroid scripts instead of the script hardcoding it
- Added idea of code-based "FileSource" objects that can be used to install an SDK without needing to copy an installer, it's all in the SDKInstall command
- Prereqs are not working yet for Mac/Linux (logic will need to be ported on those platforms to get it right)
#rb chris.babcock

[CL 15298669 by Josh Adams in ue5-main branch]
2021-02-03 14:18:15 -04:00
Josh Adams
dbdede82f3 - C# Turnkey now uses ID, not Name, for proper connection to editor turnkey calls
- Changed RunLocal* functions in UnrealBuildTools.Utils to use UTF-8 stdout
- IOS device detection (TVOS needs some testing still)
#rb jack.porter,axel.riffard

[CL 15277910 by Josh Adams in ue5-main branch]
2021-02-01 22:36:31 -04:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00
Josh Adams
fe52551c2a - Removed deprecated XboxOne platform
- Removed PostSplashScreen plugin that was only whitelisted for XboxOne (if we just remove the whitelist, it would build for all platforms, which we don't want)
#rb Marc.Audy (concept, not each file)
#fyi david.harvey

[CL 15265407 by Josh Adams in ue5-main branch]
2021-01-31 14:34:28 -04:00
jeff newquist
e50c1cb474 Avoid matching trashed files when searching google drive.
#rb josh.adams,brian.white
#jira none
#rnx

[CL 15250393 by jeff newquist in ue5-main branch]
2021-01-28 17:03:46 -04:00
Josh Adams
f1b16e7ee5 Turnkey for device management and SDK apis for platforms coming online soon:
- Retooled some turnkey device management (DeviceInfo now knows its platform, so we don't need to associate a platform externally)
- Changed Control command to use Gauntlet devices to do the PowerOn etc type stuff since there is already support for device control in Gauntlet. Now Turnkey is more of an interactive/scriptable frontend to Gauntlet
- Allow for a platform to do a manual Sdk installation, which doesn't depend on finding a Turnkey file source
- Allow for a platform SDK to return custom versions. This is solely used by platform-specific code
#rb brandon.schaefer

[CL 15201829 by Josh Adams in ue5-main branch]
2021-01-26 05:30:58 -04:00
brian white
5af388b31d [Turnkey] Add the ability to specify the target of RunExternalCommand requires administrative elevation. For use when the target is known to need elevation and may not return the correct error code to trigger automatic elevation.
#rb Josh.Adams

[CL 15166084 by brian white in ue5-main branch]
2021-01-22 15:26:45 -04:00
brian white
76666ef361 [Turnkey] Add the ability to print a message before installing and SDK. Add 'PauseForUser' action to facilitate displaying a message (without capturing input). It displays a prompt to the user and waits for acknowledgement.
#rb Josh.Adams
#rnx

[CL 15149541 by brian white in ue5-main branch]
2021-01-20 19:02:02 -04:00
Josh Adams
2752e9a381 - Started work on "Control" command that can be used to execute basic functionality that is currently in C++ (poweron, reboot, etc). Work in progress
- Some Turnkey utilities cleanup/refactor for getting platforms/devices from commandline, and generic method for getting options from commandline or user
- Allow multiple Turnkey executions on a single RunUAT commandline (RunUAT Turnkey -command=Control -operation=Reboot Turnkey -command=Control -operation=Disconnect)
#rb sebastian.nordgren

[CL 15144469 by Josh Adams in ue5-main branch]
2021-01-20 10:20:37 -04:00
brian white
fe3ffc096f [Switch][Turnkey] Add support for full Switch SDK installs and add installers on google drive
#rb Josh.Adams
#rnx

[CL 15137019 by brian white in ue5-main branch]
2021-01-19 12:59:46 -04:00
Josh Adams
e1e753576d - Added FSerializedUATProcess - may move to a header at some point
- Removed ModifyCreateProcParams., it wasn't useful enough
- Split up ExtraProjectBuilds into EngineCustomBuilds and ProjectCustomBuilds, so that engine/Epic specified custom builds don't dirty up the project packaging settings, and the ini system won't cause future additional builds to be lost
- Fixed up a couple of tooltips to indicate compression settings are used for Pak and IoStore
#rb brian.white

[CL 15135998 by Josh Adams in ue5-main branch]
2021-01-19 11:12:59 -04:00
Josh Adams
ae46bd441e - Adding idea of "quick switching" installed SDKs if the platform can detect multiple installed SDKs
#rb turnkeyonly

[CL 15074259 by Josh Adams in ue5-main branch]
2021-01-13 18:45:41 -04:00
Josh Adams
ce7af5910c - Stopped returning SDKNotFound for bad SDKs in VerifySDK, because it's not an actual error case, it's normal operation. Trying to install an SDK and that failing can still return errors
#review-15051866 devin.doucette

[CL 15051923 by Josh Adams in ue5-main branch]
2021-01-12 13:35:42 -04:00
Josh Adams
d02e3bec0b - Fixed crash with getting SDK info on legacy NDA platforms when the Platforms directory doesn't exist
#rb devin.doucette

[CL 15051428 by Josh Adams in ue5-main branch]
2021-01-12 12:49:05 -04:00
Josh Adams
c7360895de - Fixed Turnkey menu not respecting the platform configuration/target platform selections
- Improvements for ExecuteBuild - mostly around project selection, where it will give you options, cache last used project, etc
- Added search/replace modifier to the {....} syntax in the build spec (useful mainly for inivalue basically)
- Editor now just runs -command=ExecuteBuild -build=XYZ instead of parsing the XYZ build params and running UAT directly
- Deleted old #if 0'd code. Can go back in p4 history to find it later.
- Setup VisualStyles in Turnkey so that the project selector looks good on HiDPI
#rb self/turnkey

[CL 15014143 by Josh Adams in ue5-main branch]
2021-01-07 15:27:48 -04:00