Commit Graph

374 Commits

Author SHA1 Message Date
Joakim Lindqvist
efcac1bd0d OidcToken - Changed exit code when determining if a token exists to a positive small number (10) which will avoid inconsistencies between desktop platform in how to handle a negative number.
#preflight 631600b3da1671f9972825c3

[CL 21794535 by Joakim Lindqvist in ue5-main branch]
2022-09-05 10:52:09 -04:00
Joakim Lindqvist
a1b55397d8 OidcToken - Fixed issue on linux were exit code was not correctly detected and thus the initial verification if a token exists fails.
#jira UE-162770
#preflight 6315d7c9da63cdf170d77a64

[CL 21790780 by Joakim Lindqvist in ue5-main branch]
2022-09-05 07:20:04 -04:00
Joakim Lindqvist
4e69a62587 OidcToken - Allow users to abort the oidc login in the prompt that warns we are about to spawn a browser
#jira UE-161365
#preflight https://horde.devtools.epicgames.com/job/630f1f60501b64ba33604fd2

[CL 21718887 by Joakim Lindqvist in ue5-main branch]
2022-08-31 07:22:25 -04:00
Marc Audy
1bb2a63925 Fix implicit conversion warnings
#rnx
#preflight 630e8ad3660db81edb9ea2d5

[CL 21711473 by Marc Audy in ue5-main branch]
2022-08-30 18:28:30 -04:00
jessica agee
403f029bd7 Set UnsafeTypeCastWarningLevel to Error for a few widely-used modules
#rb none
#preflight 630d013af92416fb926b3c7a
#preflight 630d0938e54ec9d5815ebb45

[CL 21696478 by jessica agee in ue5-main branch]
2022-08-30 02:22:04 -04:00
Devin Doucette
f5b40af3dc Fixed unsafe type casts in Mac platform code
#preflight 630d013af92416fb926b3c7a
#rb Bryan.Sefcik
#rnx

[CL 21685328 by Devin Doucette in ue5-main branch]
2022-08-29 15:03:32 -04:00
Joakim Lindqvist
11ea6a68fc OidcToken - Fixed issues specific to handle tokens on Mac, which handles cases where the token does not exist better.
Also improved logging when a unknown issue happens.
Lastly the error code returned from the mac process seems to be converted to a unsigned 32 bit so checking for that value as well when checking the exit code that means we should upgrade the process to a interactive login.

#preflight https://horde.devtools.epicgames.com/job/6308e65e2a02fecb6f3cadc5

[CL 21665549 by Joakim Lindqvist in ue5-main branch]
2022-08-29 04:05:26 -04:00
Joakim Lindqvist
767e76dbb0 OidcToken - Fixed issue running interactive login on mac and linux. Also fixed issue were asking to wait for login caused a crash as well as tweaking the error message when a user decided to not finish the interactive login.
#jira UE-161335, UE-161369
#preflight https://horde.devtools.epicgames.com/job/62ff679e3c4417dcec499e53

[CL 21455420 by Joakim Lindqvist in ue5-main branch]
2022-08-19 06:53:53 -04:00
Tim Smith
6441d21065 Removed duplicated code from a 5.0 patch fix.
#rb devin.doucette
#rnx
#preflight 62fd04183f75602b2fba9a03

[CL 21425650 by Tim Smith in ue5-main branch]
2022-08-17 11:18:31 -04:00
devin doucette
eb55a547d0 Fixed unsafe type casts in a few widely-used modules
#preflight 62f72b49185b21882ac5c366
#rb Steve.Robb
#rnx

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 21404445 via CL 21404453 via CL 21404464
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21407133 by devin doucette in ue5-main branch]
2022-08-16 12:35:53 -04:00
Joakim Lindqvist
a1c6e408bc OidcToken - Fixed path passed for project to oidc token to always be the project directory (no matter if its a foreign project or not). This makes sure we are able to read the configuration from the project if a project is set.
Also updated the prompt asking user to login to make it clear who is asking and for what (assuming this is used by DDC - which is only the case now but may not be forever)

#preflight https://horde.devtools.epicgames.com/job/62f639b3153b17e74650f16e

[CL 21353268 by Joakim Lindqvist in ue5-main branch]
2022-08-12 07:40:29 -04:00
Joakim Lindqvist
99738a925d Allow users to interactivly login if they are missing a token. Will present a dialog for users if not unattended so they are aware they need to login.
#preflight https://horde.devtools.epicgames.com/job/62f26d7723003b62a3f3b58f

[CL 21334992 by Joakim Lindqvist in ue5-main branch]
2022-08-11 09:17:03 -04:00
bryan sefcik
de1956f47b Ran IWYU on Public headers under Engine/Source/Developer/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21064294 by bryan.sefcik
#jira
#preflight 62d5c2111062f2e63015e598

#ROBOMERGE-OWNER: bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21155249 via CL 21158121 via CL 21161259
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182053 by bryan sefcik in ue5-main branch]
2022-07-20 12:03:45 -04:00
bryan sefcik
b509beb314 Added a few IWYU pragma comments.
#preflight 62ce5231b90bf53969409839

[CL 21067982 by bryan sefcik in ue5-main branch]
2022-07-13 01:25:24 -04:00
Joakim Lindqvist
e26ecdd9bc Fix OidcToken status output localization key
#preflight none

[CL 20964453 by Joakim Lindqvist in ue5-main branch]
2022-07-06 06:24:40 -04:00
Joakim Lindqvist
bd3223cb4c Support for using OidcToken in editor / cooker to acquire a user token, currently opt in.
#preflight https://horde.devtools.epicgames.com/job/62c4108c8d5e678759f258f0

[CL 20964270 by Joakim Lindqvist in ue5-main branch]
2022-07-06 05:59:22 -04:00
charles bloom
3de5b60b86 PlatformInfo fix bad string argument in checkf printf
#rb none
#preflight none

[CL 20335614 by charles bloom in ue5-main branch]
2022-05-23 15:34:15 -04:00
Josh Adams
ca60a5f19c - Fixed SteamDeckDevice for monolithic editors (temp fix, the LogHAL is not the best category)
#rb brandon.schaefer
#fyi ben.hoffman
#preflight 627336665b05fb4f60d40e9b

[CL 20054347 by Josh Adams in ue5-main branch]
2022-05-04 22:48:24 -04:00
ben hoffman
c2aaa5ff8a Set a default UserName for the SteamDeck device confiuration. As of SteamOS version 3.1, "deck" is the required UserName to be used when making a remote connection to the device. Eventually it will be configurable, so we will allow users to set it via the config.
Also add a "SteamDeck" prefix to the default device name. This makes sure that its obvious what device this is until we can get a nice icon.

#jira none
#rb Brandon.Schaefer
#rnx
#preflight 6272d0b8365de864c4beeaa6

[CL 20046990 by ben hoffman in ue5-main branch]
2022-05-04 15:32:08 -04:00
tim smith
93507104c5 Added missing include file causing tools to fail to compile.
#jira UE-150378
#rb self
#preflight 626946394c09420241125c8b
#lockdown mark.lintott

#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 19939580 in //UE5/Release-5.0/... via CL 19941167
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19945744 by tim smith in ue5-main branch]
2022-04-27 16:09:14 -04:00
tim smith
7cfddabed4 Fix the detection of UBT running. This prevents an issue where hot reload would try and load the new module faster than it should.
#jira UE-148478
#rb jonathan.adamczewski
#preflight 6267eb20853fdb6fddb976b9
#lockdown mark.lintott

#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 19919085 in //UE5/Release-5.0/... via CL 19919653
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19921319 by tim smith in ue5-main branch]
2022-04-26 11:43:11 -04:00
Josh Adams
1135fdcfd4 - Windows and Linux SteamDeck devices in C++
#preflight 623901536c69188bd9928f54

[CL 19459810 by Josh Adams in ue5-main branch]
2022-03-21 19:07:30 -04:00
Josh Adams
58f5121a45 - Moved SteamDeckDevice.h to DesktopPlatform so that Windows and Linux can share it, without making a whole module for one header
#rb brandon.schaefer
#jira none
#preflight 6238eb85ec68595f3b7c42df

[CL 19458311 by Josh Adams in ue5-main branch]
2022-03-21 17:23:57 -04:00
josh adams
1078cf6977 - Allowing for packaging server builds from editor's Platforms menu
#pr 8947
#jira ue-144551
#rb brandon.shaefer
#preflight 621fe506257fd6e0997f125a

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 19232484 in //UE5/Release-5.0/... via CL 19232667
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19234156 by josh adams in ue5-main branch]
2022-03-02 19:26:48 -05:00
zousar shaker
4014e1d29d Reduce TargetReceiptBuildWorker to a no-op in non-editor builds.
#rb matt.peters
#preflight 621fd43a37049be5173405c1
#jira UE-144531

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 19227934 in //UE5/Release-5.0/... via CL 19229093
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19231586 by zousar shaker in ue5-main branch]
2022-03-02 17:31:36 -05:00