Commit Graph

165 Commits

Author SHA1 Message Date
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
Devin Doucette
3045e3c75f Logging: Changed CanBeUsedOnPanicThread() to return false by default
The previous default of CanBeUsedOnAnyThread() proved unsafe since some output devices can safely be used on any thread but cannot safely be used during a crash. CanBeUsedOnAnyThread() was used pre-5.1 to control serialization to an output device during a crash, but optimizations in 5.1 have uncovered that some of these were never safe.

#preflight 62856506614041edb7a6de4b
#rb Zousar.Shaker
#rnx

[CL 20280354 by Devin Doucette in ue5-main branch]
2022-05-19 10:39:18 -04:00
mathieu dunlay
d1c9bd0b41 Adding FirstMove events to windows, enabled with "WindowsApplication.EnableFirstTouchEvent"
#ROBOMERGE-AUTHOR: mathieu.dunlay
#ROBOMERGE-SOURCE: CL 20163603 via CL 20164288 via CL 20164397 via CL 20164495 via CL 20164557
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20165691 by mathieu dunlay in ue5-main branch]
2022-05-12 12:13:54 -04:00
ben hoffman
e4af12b977 XInputInterface: Replace uses of the old "int32 ControllerID" in favor of the new platform input device mapper. The new input device mapper will still call the old CoreDelegates until they are deprecated/removed, so there is no behavioral change here. Using the platform input device mapper will allow us to pass specific Input Device ID's around to slate and the game, so that we can properly route input events to and from specific devices
#jira UE-147796
#rb david.harvey
#preflight 62741ef72e58cb727dfc2ac8

[CL 20075962 by ben hoffman in ue5-main branch]
2022-05-06 10:56:52 -04:00
james doverspike
58c7d94999 Add support to default RHI based on device id and a list of devices that are capable of updating to avoid prompting users who can't update their drivers
#p4v-cherrypick 19897004

#ROBOMERGE-AUTHOR: james.doverspike
#ROBOMERGE-SOURCE: CL 19896998 via CL 19897000 via CL 19897003 via CL 19897308 via CL 19897311
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19897438 by james doverspike in ue5-main branch]
2022-04-24 14:14:43 -04:00
robomerge
fd791b9484 Added log highlighting, based on log category and log search string.
Commandline usage:
-LogHighlights="LogNet Cyan, LogTemp Green"
-LogStringHighlights="UNetConnection::Close=Purple, NotifyAcceptingConnection accepted from=DarkGreen"

#rb Devin.Doucette

#ROBOMERGE-AUTHOR: john.barrett
#ROBOMERGE-SOURCE: CL 19572963 via CL 19572976 via CL 19572982 via CL 19572989
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19575887 by robomerge in ue5-main branch]
2022-03-31 14:28:15 -04:00
evan kinney
2c4475a9ee allow setting the console title of spawned output consoles on Windows
#rnx

#ROBOMERGE-AUTHOR: evan.kinney
#ROBOMERGE-SOURCE: CL 19011697 via CL 19011704 via CL 19011708 via CL 19011811 via CL 19011865
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 19011876 by evan kinney in ue5-main branch]
2022-02-16 04:44:35 -05:00
daren cheng
f4b3ca652e Fix menu's flashing white when application scale is not default (100%).
#jira UE-117003
#rb Matt.Kuhlenschmidt
#preflight 620ab6db674d5ad0da8ebb6f
#lockdown JeanMichel.Dignard

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 18985099 in //UE5/Release-5.0/... via CL 18986175 via CL 18987695
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18988048 by daren cheng in ue5-main branch]
2022-02-14 18:32:58 -05:00
geoff evans
1010d649b9 Fix taskbar item for Splash Screen.
Or-ing in WS_EX_TOOLWINDOW into the window style prevents the splash screen's taskbar item from appearing until its visible on screen.

Since it takes several seconds before the splash screen appears, if you Alt-Tab to another application before it appears it causes the splash screen to not be shown, and since it's not shown there is no task bar icon, so you cannot see the progress bar or select the splash screen via the taskbar.

Also, the splash screen appears to go to the bottom of the z-order, causing the user to have to minimize/close a lot of windows to click it to allocate the taskbar item.

#rnx
#rb trivial
#preflight 6205c060b84973a2bb6f4f3d

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 18949297 via CL 18949298 via CL 18949302 via CL 18952902 via CL 18953149
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18953163 by geoff evans in ue5-main branch]
2022-02-11 11:15:39 -05:00
aaron mcleran
182eebe0a9 Removing legacy audio backends and unrealaudio
#jira UE-135041, UE-135040
#rb rob.gay

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 18420374 in //UE5/Release-5.0/... via CL 18422553 via CL 18422823
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v897-18405271)

[CL 18423983 by aaron mcleran in ue5-main branch]
2021-12-09 15:30:05 -05:00
aaron mcleran
7d8b0803df Removing legacy audio backends and unrealaudio
#jira UE-135041, UE-135040
#rb rob.gay

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 18420374 in //UE5/Release-5.0/... via CL 18422553
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18422823 by aaron mcleran in ue5-release-engine-test branch]
2021-12-09 14:49:58 -05:00
martin sevigny
4f99316cd5 Fix a potential resource leak as reported by user.
#rb danny.couture

#ROBOMERGE-AUTHOR: martin.sevigny
#ROBOMERGE-SOURCE: CL 18405111 in //UE5/Release-5.0/... via CL 18405120 via CL 18405134
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v897-18405271)

[CL 18406731 by martin sevigny in ue5-main branch]
2021-12-08 11:25:00 -05:00
martin sevigny
6619ee00e9 Fix a potential resource leak as reported by user.
#rb danny.couture

#ROBOMERGE-AUTHOR: martin.sevigny
#ROBOMERGE-SOURCE: CL 18405111 in //UE5/Release-5.0/... via CL 18405120
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v896-18170469)

[CL 18405134 by martin sevigny in ue5-release-engine-test branch]
2021-12-08 09:04:37 -05:00
Leon Huang
cbb0f379be Generic Accessible Interfaces refactor to support multiple users and focuses.
- Moved FAccessibleEventArgs out of FGenericAccessibleMessageHandler to avoid the need to include GenericAccessibleInterfaces.h in header files where all
they really need is a forward declaration of the struct.
- Removed instances of FGenericAccessibleMessageHandler::FAccessibleEventArgs to FAccessibleEventArgs.

- Updated API for IAccessibleWidget and IAccessibleWindow that deal with getting and setting focus to also take a user index parameter. This facilitates multiple accessible users for the same application.
-Updated platform files that leverage the old IAccessibleWidget and IAccessibleWindow focus API

- Introduced FGenericAccessibleUser and FGenericAccessibleUserRegistry to GenericAccessibleInterfaces.h. An FGenericAccessibleUser is meant to be analogous to FSlateUser that keeps track of hardware users' focus. An FGenericAccessibleUserRegistry is a registry of FGenericAccessibleUsers. These interfaces are meant to insulate FGenericAccessibleMessageHandler from storing and tracking
focus etc when that should be an implementation detail by other modules.
- Refactored how FSlateCoreAccessibleWidgets set focus in the application. Accessible focus is now unified to a single code path that starts from FSlateAccessibleMessageHandler. Requests to shift accessible focus should be done by raising a Slate accessible event or through IAccessibleWidget::SetUserFocus()
- Introduced finer grain querying of focus capabilities for an IAccessibleWidget. Users can now check if an AccessibleWidget supports regular focus (keyboard/gamepad), if it supports accessible focus and if the widget can currently accept regular or accessible focus.
-Updated platforms to use the new FGenericAccessibleUser and FGenericAccessibleUserRegistry ApI to update and retrieve user focus.

#preflight: 61af2481813adc3fbb2ca7d5

[CL 18396441 by Leon Huang in ue5-main branch]
2021-12-07 12:50:45 -05:00
leon huang
2a30763929 Refactoring FGenericAccessibleMessageHandler to raise accessible events that include user Id and additional arguments. This is to stabilize the accessibility API and allow more information to be passed
around for modules that require more accessibility information such as User/Controller Id.
#rnx
#rb: Patrick.Boutot
#preflight: 617b17e05aecf4000120a61a

#ROBOMERGE-AUTHOR: leon.huang
#ROBOMERGE-SOURCE: CL 17974834 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17974837 by leon huang in ue5-release-engine-test branch]
2021-10-29 00:24:02 -04:00
Leon Huang
098ff8c905 Refactoring FGenericAccessibleMessageHandler to raise accessible events that include user Id and additional arguments. This is to stabilize the accessibility API and allow more information to be passed
around for modules that require more accessibility information such as User/Controller Id.
#rnx
#rb: Patrick.Boutot
#preflight: 617b17e05aecf4000120a61a

[CL 17974834 by Leon Huang in ue5-main branch]
2021-10-29 00:22:28 -04:00
aurel cordonnier
34f55d3a4a Merge from Release-Engine-Test @ 17946149 to UE5/Main
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17949667 by aurel cordonnier in ue5-main branch]
2021-10-27 15:14:40 -04:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aurel cordonnier
1ee4eed9aa Merge from Release-Engine-Test @ 17666640 to UE5/Main
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17668579 by aurel cordonnier in ue5-main branch]
2021-09-29 17:45:16 -04:00
danny couture
6b9e6f7d79 Remove wrongful throttling that doesn't honor editor settings and tool overrides
- This is already handled in the engine loop and could lead to multiple sleeps being done (see ShouldThrottleCPUUsage).

#rb Francis.Hurteau, Matt.Kuhlenschmidt

#ROBOMERGE-AUTHOR: danny.couture
#ROBOMERGE-SOURCE: CL 17660067 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v875-17642767)

[CL 17660082 by danny couture in ue5-release-engine-test branch]
2021-09-29 08:09:42 -04:00
danny couture
d6a82299ab Remove wrongful throttling that doesn't honor editor settings and tool overrides
- This is already handled in the engine loop and could lead to multiple sleeps being done (see ShouldThrottleCPUUsage).

#rb Francis.Hurteau, Matt.Kuhlenschmidt

[CL 17660067 by danny couture in ue5-main branch]
2021-09-29 08:09:06 -04:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
ben zeigler
7c70bdebb8 #jira UE-125298 First set changes for distinguishing between platform user id and controller/input id
Change FPlatformUserId into a proper struct with an internal id that will be allocated by the platform
Converting int->FPlatformUserId is currently deprecated, but the other direction is not deprecated until the online/input code can be converted
GenericApplicaitonMessageHandler will convert back and forth between controller Id and FPlatformUserId as needed
Add support for platform user id to LocalPlayer, by default it is synchronized with ControllerId
#rb david.harvey, ben.hoffman

#ROBOMERGE-AUTHOR: ben.zeigler
#ROBOMERGE-SOURCE: CL 17597808 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17597827 by ben zeigler in ue5-release-engine-test branch]
2021-09-22 13:39:56 -04:00
ben zeigler
9cacaa71ec #jira UE-125298 First set changes for distinguishing between platform user id and controller/input id
Change FPlatformUserId into a proper struct with an internal id that will be allocated by the platform
Converting int->FPlatformUserId is currently deprecated, but the other direction is not deprecated until the online/input code can be converted
GenericApplicaitonMessageHandler will convert back and forth between controller Id and FPlatformUserId as needed
Add support for platform user id to LocalPlayer, by default it is synchronized with ControllerId
#rb david.harvey, ben.hoffman

[CL 17597808 by ben zeigler in ue5-main branch]
2021-09-22 13:37:48 -04:00
leon huang
eb4aa925db Introduced UE_WINDOWS_USING_UIA macro to facilitate Windows accessibility only if
the Windows UIA dll is used.
#rnx
#rb: David.Harvey
#preflight: 614470ce81695600012d14f9
[FYI] Jason.Stasik

#ROBOMERGE-AUTHOR: leon.huang
#ROBOMERGE-SOURCE: CL 17558697 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17558711 by leon huang in ue5-release-engine-test branch]
2021-09-17 17:27:19 -04:00