Commit Graph

637 Commits

Author SHA1 Message Date
henrik karlsson
2f51d20b77 [ApplicationCore]
* WindowsConsoleOutputDevice2 - Fixed warning from static analysis (ConsoleType assigned twice)

#rb trivial
#preflight skip

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21197607 via CL 21198479 via CL 21198480 via CL 21198481
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21198709 by henrik karlsson in ue5-main branch]
2022-07-21 05:11:29 -04:00
nat parkinson
606862353e [Backout] - CL21196825
[FYI] bernard.lambert
Original CL Desc
-----------------------------------------------------------------
- Added functions to get and set allowed screen orientations through the PlatformMisc class.
- Implemented logic for setting allowed screen orientations on iOS.
- Added possibility to set allowed screen orientation to SCREEN_ORIENTATION_SENSOR  on Android so that the screen orientation can be unlocked to adjust itself according to the sensor.
- Exposed PortraitSensor, LandscapeSensor and FullSensor screen orientations in blueprint library.


#ROBOMERGE-AUTHOR: nat.parkinson
#ROBOMERGE-SOURCE: CL 21197038 via CL 21197050 via CL 21197054 via CL 21197064 via CL 21197075
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21197499 by nat parkinson in ue5-main branch]
2022-07-20 23:51:13 -04:00
bernard lambert
f595573ef0 - Added functions to get and set allowed screen orientations through the PlatformMisc class.
- Implemented logic for setting allowed screen orientations on iOS.
- Added possibility to set allowed screen orientation to SCREEN_ORIENTATION_SENSOR  on Android so that the screen orientation can be unlocked to adjust itself according to the sensor.
- Exposed PortraitSensor, LandscapeSensor and FullSensor screen orientations in blueprint library.


#ROBOMERGE-AUTHOR: bernard.lambert
#ROBOMERGE-SOURCE: CL 21196825 via CL 21196834 via CL 21196849 via CL 21196861 via CL 21196876
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21197495 by bernard lambert in ue5-main branch]
2022-07-20 23:51:04 -04:00
henrik karlsson
ddc5bd306a [ApplicationCore - WindowsConsoleOutputDevice2]
* Fixed deadlock that could happen when setting info in ini file triggered log which in turn was outputted to console (this could happen if runtime early out during startup)
* Fixed bad visual behavior when log becomes bigger than log list entry max count

#rb trivial
#preflight 62d856b61133256db6554cd5

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21190446 via CL 21195259 via CL 21195454 via CL 21195514
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21196932 by henrik karlsson in ue5-main branch]
2022-07-20 21:52:21 -04:00
henrik karlsson
3abd0b8188 [Runtime ApplicationCore]
* New Console for windows. Instead of using build in console window a win32 window is used with a bunch of convenience features
  * Activity fields. Useful to visualize what is going on in the process
  * Log list view that can be navigated while new entries are being added.
  * Filters that can include/exclude log entries based on keywords
  * Console command box. Execute your console commands directly in the console window. Note that they won't run until Tick loop has started.
  * Customizable color support. Make your dedicated server console dark gray and your client console light blue.
  * Remembers size and position separately for client/server/other. This means that UnrealEngine.exe can be used for all and console can be separately placed

Is currently only enabled if "-NewConsole" exists on command line. Once new console is well tested we will probably change so built-in console can be enabled with -DefaultConsole or something. There is one advantage with the default console and that is that it is still interactive even though process is not running. Sometimes that can be useful

#rb Devin.Doucette
#preflight 62d5dc13d54af4b9a247b08c

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21155164 via CL 21156947 via CL 21159300 via CL 21164070
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182267 by henrik karlsson in ue5-main branch]
2022-07-20 12:08:55 -04:00
David Harvey
1f0ec3cc29 Add ShowPlatformUserSelector function as a platform-side replacement of ShowLoginUI.
- Will only be implemented on relevant platforms.

#jira UE-158953
#rb Ben.Hoffman
#preflight 62d81d31185da2495f0324d9

[CL 21181253 by David Harvey in ue5-main branch]
2022-07-20 11:38:23 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
ben hoffman
69a4274d25 CIS Fix about checking keywords. Remove the enable/disable deprecation warnings from the GenericApplicationMessageHandler header file because they were already wrapped with them.
#jira none
#rb trivial
#rnx
#preflight 62d18f173b057e7274912392

[CL 21112332 by ben hoffman in ue5-main branch]
2022-07-15 12:37:17 -04:00
ben hoffman
530ad14f33 Fix Mac CIS to use the newer version of OnController functions
#jira none
#rb trivial
#rnx
#preflight 62d0a9dadc4397d38425960b

[CL 21101454 by ben hoffman in ue5-main branch]
2022-07-14 20:03:46 -04:00
ben hoffman
89c7ed24b1 CIS Fix for deprecation functions in android input
#jira UE-159581
#rb trivial
#rnx
#preflight 62d092c78a3c9910d165831a

[CL 21100818 by ben hoffman in ue5-main branch]
2022-07-14 18:40:56 -04:00
ben hoffman
7f71aead5a Enable OnController_X function deprecations for the Slate App and the Generic Message handler.
#jira UE-156743
#rb Patrick.Boutot
#rnx
#preflight 62d083ff7e1c26dcd7d35502

[CL 21099901 by ben hoffman in ue5-main branch]
2022-07-14 17:32:34 -04:00
David Harvey
ea82214a80 Add ShowInputDeviceSelector function to display a platform-specific input device selection UI, if the platform supports it.
#jira UE-157951
#rnx
#preflight 62d007fae828869e6e264a7a
#rb Eric.McDaniel

[CL 21090992 by David Harvey in ue5-main branch]
2022-07-14 10:54:09 -04:00
ben hoffman
3e6ea254e5 Update the LinuxApplication to use the newer version of OnController functions instead of the old "int32 ControllerId" versions that are going to be deprecated soon.
#jira UE-156743
#rb Brandon.Schaefer
#preflight 62cd80983f422700272c5ff6
#rnx

[CL 21076774 by ben hoffman in ue5-main branch]
2022-07-13 14:25:50 -04:00
Wei Liu
06c9a5c84e 1. Remove all flip-y completely and only flip y at the end on androidl GL with a native window api, no need to handle flip-y on high level.
2. Supports CustomDepth in translucency pass on mobile LDR.

#jira none

#rb Dmitriy.Dyomin
#preflight 62be9894d94b57687c68aed1

[CL 20911586 by Wei Liu in ue5-main branch]
2022-07-01 03:38:17 -04:00
ben hoffman
5152e5009f Remove an over-aggressive ensure when mapping input devices. This ensure was there to check if there was a default platform user that was unpaired, which is possible on some platforms.
#jira UE-157356
#rb trivial
#rnx
#preflight 62ba1d73176b16bd384f8466

[CL 20840290 by ben hoffman in ue5-main branch]
2022-06-27 17:29:39 -04:00
David Harvey
39772d18cc Allow platforms to override the platform input device mapper.
#jira UE-157486
#rnx
#rb Ben.Hoffman
#preflight 62b96a7eba62f4498a243a3f

[CL 20828356 by David Harvey in ue5-main branch]
2022-06-27 04:35:46 -04:00
adam kinge
be901f27d8 Add r.Mobile.DesiredResX/Y and -mobileresx/y commandline overrides to iOS. Also clears out some old iOS OpenGL references.
#jira UE-144740
#review-20346289 @jack.porter
#preflight 62b3c405687e4346b0856aa1

[CL 20808666 by adam kinge in ue5-main branch]
2022-06-24 09:46:43 -04:00
Robb Surridge
0a5a02c5b2 Coding standard fixes: gender-inclusive language
#jira UE-156429
#preflight 62b32e826a25ba6ae52f94bd
#rb jason.walter

[CL 20795375 by Robb Surridge in ue5-main branch]
2022-06-23 11:14:07 -04:00
michael atchison
3f60716f72 Revert changes to WindowsPlatformSplash due to a race condition.
[REVIEW] [at]rob.cannaday, [at]sam.zamani

#ROBOMERGE-AUTHOR: michael.atchison
#ROBOMERGE-SOURCE: CL 20763346 via CL 20763529 via CL 20763572 via CL 20763609 via CL 20763625
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v970-20704180)

[CL 20765155 by michael atchison in ue5-main branch]
2022-06-21 16:44:35 -04:00
ben hoffman
4570549036 Replace calls to the old OnControllerX functions in slate with the new version that has a PlatformUser/InputDevice
#jira UE-147796
#preflight 62a9ef17634e82e5d1e90084
#rnx
#rb dave.jones2

[CL 20670964 by ben hoffman in ue5-main branch]
2022-06-15 11:49:18 -04:00
ben hoffman
a3a9765823 Fix a bug where the app would recursively call itself because there was an implicit cast to int32 from Platform user
#jira none
#rb trivial
#rnx
#preflight skip

[CL 20659254 by ben hoffman in ue5-main branch]
2022-06-14 18:10:17 -04:00
ben hoffman
80850587dd Update SlateApplication and the message handler to take in FInputDeviceId and FPlatformId instead of the old int32 controllerid for controller input
#jira UE-147796
#rb trivial
#preflight 62a8f9dd0c386ccae48c2ae1

[CL 20658936 by ben hoffman in ue5-main branch]
2022-06-14 17:49:49 -04:00
Josh Adams
cf7b982c03 - Fixed more MacOSX*.sdk -> MacOSX.sdk
#rb will.damon
#preflight skip

[CL 20536668 by Josh Adams in ue5-main branch]
2022-06-07 09:25:54 -04:00
ben hoffman
d2c5fbec57 When mapping the legacy int32 controllerID checkif there is already an allocated platform user id for the input device ID. If there is then we can return that instead of allocating a new one. Add a virtual function that will let you specify that we should create a new platform user id if it is a new input device, mapping each input device to a single platform user. This will be the case on some platforms that don't allow multiple input devices per user.
Update SonyControllers to use the known user index as the platform user, this way we will allocate a new platform user for different input devices.

#jira UE-147796
#rb trivial
#rnx
#preflight 629910378f4373181f425f6e

[CL 20474934 by ben hoffman in ue5-main branch]
2022-06-02 16:05:41 -04:00
michael atchison
3d80c7b20a Remove dependence on UGameInstance for update check.
Fall back to using the first logged in account on beacon connection when no other player is found.
Fix resource leak in windows splash screen.

[REVIEW] [at]chris.gagnon, [at]eric.knapik, [at]sam.zamani
#preflight 628e6f2982597362d1061d09

#ROBOMERGE-AUTHOR: michael.atchison
#ROBOMERGE-SOURCE: CL 20372471 via CL 20372807 via CL 20373493 via CL 20373519
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20374253 by michael atchison in ue5-main branch]
2022-05-25 20:44:07 -04:00