Commit Graph

756 Commits

Author SHA1 Message Date
william belcher
d036330f6c Fix: Mouse locations are off when rendering off screen. This is due to the platform work area being much larger than the application size. The NullPlatform work area now listens for resolution updates and updates is size accordingly, effectively meaning the desktop size is always the size of the application.
#rb
#jira UE-190598
[FYI]

[CL 26559737 by william belcher in ue5-main branch]
2023-07-24 19:51:51 -04:00
bretternst
29aa53a3a0 Accept pull request fixing mouse input on Wayland applications
#jira UE-189572
#rb Zack.Neyland
#10582

[CL 26438282 by bretternst in ue5-main branch]
2023-07-18 13:03:45 -04:00
axel riffard
de98664667 Metal 3.1, iOS17 and tvOS17
#jira UE-187878
#rb adam.kinge
[FYI] jack.porter,  carl.lloyd,  zack.neyland,  josh.adams

[CL 26277868 by axel riffard in ue5-main branch]
2023-06-27 21:41:51 -04:00
Josh Adams
1fbf78059e - Fxed non-unity error
#rb trivial

[CL 26228666 by Josh Adams in ue5-main branch]
2023-06-25 21:43:53 -04:00
josh adams
82ea6a767a [Backout] - CL26223564
[FYI] keaton.stewart
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL26221679 [Main CIS Issue] Errors in Incremental FortniteServer Linux and Incremental Compile Monolithics - Linux
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26226852 by josh adams in ue5-main branch]
2023-06-24 17:52:48 -04:00
keaton stewart
1fd1a77412 [Backout] - CL26221679 [Main CIS Issue] Errors in Incremental FortniteServer Linux and Incremental Compile Monolithics - Linux
#fyi Josh.Adams
#jira FORT-626566 (edited)
Original CL Desc
-----------------------------------------------------------------
- Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26223564 by keaton stewart in ue5-main branch]
2023-06-23 20:29:27 -04:00
Josh Adams
e25e1b3daf - Very super early support for VisionOS (requires Xcode 15 beta2 or later).
- THIS IS NOT USABLE YET - WORK IN PROGRESS!
- It builds, links with IOS libs (warnings, not errors), can cook and it boots in Simulator, but is dying in MetalRHI
- UnrealTargetPlatform.VisionOS is currently defined in Engine code, it is not pulled out like would be correct for a full true platform extension
- Refactored a lot of Build.cs files to use UnrealPlatformGroup.IOS/Apple instead of individual platform checks, to make VisionOS integration simpler
#rb zack.neyland

[CL 26221679 by Josh Adams in ue5-main branch]
2023-06-23 19:12:47 -04:00
henrik karlsson
5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -04:00
adam kinge
d96542da67 Support iPad SplitView (dynamic resizing) and StageManager
#jira UE-168563
#rb jack.porter

[CL 26051114 by adam kinge in ue5-main branch]
2023-06-16 10:28:50 -04:00
maxime zobenbueler
af38cac466 Changed how configrules safezones values are evaluated and applied.
#tests Tested on the following affected devices Pixel 3 XL, Nokia 8, OnePlus 7, OnePlus 8T, Samsung S8+, Samsung S10


[REVIEW] [at]Fourat.Jellouli [at]Nicolas.Potvin
#rb Allan.Bentham Michel.Champoux
#rnx

[CL 26024170 by maxime zobenbueler in ue5-main branch]
2023-06-15 16:10:55 -04:00
zahra nikbakht
cd424c4e53 Prevent activating context when HWND is destroyed.
bug: we call activate context immediately after the window is destroyed, and the window pointer is stilll not null. We have also destroyed HWND at this point through the microsoft function ::DestroyWindow, so we check ::IsWindowEnabled as a way to confirm the validity of HWND.
#jira UE-186416
#rb vincent.gauthier

[CL 25954162 by zahra nikbakht in ue5-main branch]
2023-06-13 12:02:34 -04:00
andriy tylychko
9e8b314eb1 made ApplicationWillTerminateDelegate thread-safe: deprecated FCoreDelegates::ApplicationWillTerminateDelegate (because thread-safe delegates can't be statically initialised) and added FCoreDelegates::GetApplicationWillTerminateDelegate() accessor for a thread-safe delegate
#rb francis.hurteau

[CL 25926515 by andriy tylychko in ue5-main branch]
2023-06-12 07:58:54 -04:00
nicolas mercier
d0256f9166 Fix shutdown crash when using AddressSanitizer. The crash happens in AtExit deep in external DLLs, so instead disable TextInput altogether.
#rb [at]daniele.vettorel
#rnx

[CL 25647144 by nicolas mercier in ue5-main branch]
2023-05-26 12:49:52 -04:00
Rafa Lecina
1fc5cb3745 Fix Receipt management on OSSiOS
Receipts retrieved using GetReceipts should be updated by calls to QueryReceipts. After a successful Checkout the receipt for the successful purchase is added to the cached receipts
Ignored all asynchronous transaction updates received. Just trigger the UnexpectedPurchaseReceipt delegate in that case of Purchased transaction notifications
Restored transactions are automatically finished so the end user does not need to do it

Subscriptions and durable products can be purchased and validated but there is no way to know about their state on device using StoreKit. I tried to decode the iOS AppStore receipt using OpenSSL but there is no useful information about owned products (contents look equivalent to restoring receipts)

Also, used proper log category for the purchase interface

#jira UE-176438
#review @Bertrand.Carre, @Michael.Kirzinger, @Dashan.Yue, @Erida.Dule
#preflight 646756d00577c206c77fa474

[CL 25638876 by Rafa Lecina in ue5-main branch]
2023-05-26 04:17:42 -04:00
zack neyland
2fe3440174 Mac: Don't rebuild cached menu on every key press.
#jira UE-86743
#preflight na

[CL 25591473 by zack neyland in ue5-main branch]
2023-05-23 17:49:10 -04:00
yuriy odonnell
5e26ac175f Only update stored console window width/size in SIZE_RESTORED and SIZE_MAXIMIZED
* Fixes a bug where invalid window dimensions would be stored in the .ini file if application is closed while the console is minimized

#rb Devin.Doucette
#preflight 646542554404e3cdd241a3fc

[CL 25518737 by yuriy odonnell in ue5-main branch]
2023-05-17 19:12:15 -04:00
wei liu
c53c069cf8 Tentative fix for android safe zone.
#rb Chris.Babcock
#preflight 64547812d02ea5289fa6a8a3

[CL 25349049 by wei liu in ue5-main branch]
2023-05-05 01:47:29 -04:00
robert seiver
2e65566224 Stop wiping negative bits when masking away higher bits of window position data for use when moving windows
#jira UE-170506
#preflight 64512c0b4d593c0b42a759af
#rb daren.cheng

[CL 25302439 by robert seiver in ue5-main branch]
2023-05-02 11:39:27 -04:00
adam kinge
95dfb47d45 Refactor a global variable and function into IOSAppDelegate as a recent commit appears to have broken it (plus, globals are (generally) bad)
#jira UE-184349
#preflight 644957786b589f8b367d3563
#rnx

[CL 25203367 by adam kinge in ue5-main branch]
2023-04-26 14:11:39 -04:00
robert seiver
4a61132a13 Now using alternate display dimensions which take into account the Dock size when computing work area.
#jira UE-181681
#rb James.Singer, Zack.Neyland
#preflight none

[CL 25127611 by robert seiver in ue5-main branch]
2023-04-20 10:52:52 -04:00
William Belcher
1edb0eeef9 Fix: NullPlatformApplicationMisc platform check is flipped
#rb luke.bermingham
#jira
#preflight trivial
#fyi

[CL 25036562 by William Belcher in ue5-main branch]
2023-04-13 22:53:21 -04:00
christopher fiala
57129aa917 Fix packaged Quest loading hang due to recent changes in FAndroidWindow::GetScreenRect and the OpenXR depth swapchain view rect initialization.
The FAndroidWindow::GetScreenRect change left us with a (0,0) resolution when using Quest, so the HMD wouldn't even try to render.
The depth swapchain changes cause the depth swapchain ViewRect to be uninitialized, resulting in an XR_ERROR_SWAPCHAIN_RECT_INVALID error.

#jira UE-181076
#rb robert.srinivasiah
#preflight 6430871cdf6c5c78fc2bb08d

[CL 24970602 by christopher fiala in ue5-main branch]
2023-04-07 17:25:37 -04:00
jack porter
6fc650c101 Update Swappy to the latest from https://android.googlesource.com/platform/frameworks/opt/gamesdk, modified to always use the Java DisplayManager and refresh rate selection
Enable Swappy on Android by default
Fixed: Swappy VK initialization which was missing a WindowHandle
Remove old GoogleGameSDK files that are no longer needed
Removed Java version of MemAdvisor
#rb Dmitriy.Dyomin
#jira UE-181102
#preflight 64302326285518071799c243

[CL 24965637 by jack porter in ue5-main branch]
2023-04-07 12:06:20 -04:00
james singer
aeed5191dc Fix up DPI scale in Linux being incorrect on 5120x1440 displays
#jira UE-181801
#review @Brandon.Schaefer, @Zack.Neyland, @Robert.Seiver
#rb zack.neyland
#preflight 642c70d74d26bcd1eb99c038

[CL 24916645 by james singer in ue5-main branch]
2023-04-04 15:57:56 -04:00
bernard lambert
be2b61c941 Added a console variable to control if we should use an invisible cursor instead of setting the HCursor to NULL when the cursor type is set to None.
#RB [at]Camille.Gendreau [at]Ghislain.Theriault [at]Fourat.Jellouli [at]Bob.Tellez

[CL 24913211 by bernard lambert in ue5-main branch]
2023-04-04 12:56:18 -04:00