Commit Graph

266 Commits

Author SHA1 Message Date
marc audy
5a10662411 Remove Kairos hack and kairos references from engine code
#rnx
#jira

[CL 28178168 by marc audy in ue5-main branch]
2023-09-24 17:22:01 -04:00
joe kirchoff
642395b334 WebBrowser module compiling with C++20
#rnx

[CL 28090955 by joe kirchoff in ue5-main branch]
2023-09-21 12:45:57 -04:00
erida dule
de1915d233 Disabled file upload functionality in the embedded web browser to address potential vulnerability.
[REVIEW] [at]dashan.yue, [at]wes.fudala

#localization none
#tests QA tested the preflight build and verified that it was fixed
[FYI] loic.lautredou, sebastien.olscamp, simon.castonguay
#preferred_allowlister dashan.yue

[CL 27425169 by erida dule in ue5-main branch]
2023-08-28 17:04:51 -04:00
josh adams
8f359498e3 - Fixing the CEF framework in the editor by pointing it at the one outside of the .app, in Binaries/ThirdParty
- Deleted the per-architecture frameworks, since we now lipo out the unused architectures in modern games, and it confuses everything to have both

#jira UE-192423
#rb zack.neyland

[CL 27056943 by josh adams in ue5-main branch]
2023-08-11 22:18:41 -04:00
david harvey
bdb4199eeb Remove unnecessary WindowsHWrapper.h & MinWindows.h include - both files will be automatically included by AllowWindowsPlatformTypes.h
#jira UE-152863
#rnx
#rb Josh.Adams

[CL 26912096 by david harvey in ue5-main branch]
2023-08-08 05:50:53 -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
zach bethel
a9a5fa39db Deprecated non-command list variant of InitResource and UpdateResource. Patched the engine to pass command lists through. Follow-up CL's will refactor individual locations to thread command lists through the various callstacks, but that was done very judiciously in this CL to reduce risk.
#rb mihnea.balta, christopher.waters

[CL 25953623 by zach bethel in ue5-main branch]
2023-06-13 11:46:40 -04:00
keaton stewart
6c8c2058c0 Disable Android WebBrowser window from passing on touch and keyboard events for non-3D mode
#android
[REVIEW] [at]Dashan.Yue
#rb Dashan.Yue

[CL 25551520 by keaton stewart in ue5-main branch]
2023-05-19 16:23:28 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
Josh Adams
1e6ed89565 - Frameworks working on Mac with Modern Xcode just like IOS frameworks
- Update frameworks with a Framework mode to differentiate between linking with it and copying to .app (in case of a static lib framework, or load-only dylib
- Updated CEF3 to work as a normal framework (if we have a universal framework binary, it would be simpler, because LoadInMain() would work without any paths)
#rb roman.dzieciol
#preflight 643484117536ac6b78ae7ce3

[CL 24985043 by Josh Adams in ue5-main branch]
2023-04-10 18:08:40 -04:00
josh adams
216ea29994 - Fixed crash on Mac in CEF with pressing keys in Web Views (like Quixel Bridge) that are bound to the main menu.
#jira DISTRO-5004
#rb zack.neyland
#preflight 642e34da4d26bcd1eb480cba

[CL 24940611 by josh adams in ue5-main branch]
2023-04-06 00:15:14 -04:00
Joe Kirchoff
79b7bd19d3 C++20 fixes
#rnx
#preflight 64276ce42a0b706ac6bc5400

[CL 24881643 by Joe Kirchoff in ue5-main branch]
2023-03-31 19:56:46 -04:00
chris babcock
9f0bd4f6fc Allow WebGL and video playback in 3D WebBrowser on Android and fix issue with Oculus hardware acceleration
#jira UE-180363
#android
[REVIEW] [at]Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/641254b85819afacaf390c4d

[CL 24666189 by chris babcock in ue5-main branch]
2023-03-15 20:47:15 -04:00
rex hill
fe8a1225d2 WebBrowser - Fix crash on shutdown if a CEFWebBrowserWindow was open
#preflight skip

[CL 24412842 by rex hill in ue5-main branch]
2023-02-24 19:04:00 -05:00
chris varnsverry
1a6688166b - Fix SWebBrowserView::HandleBrowserWindowNeedsRedraw assuming the SlateApplication was still alive
- Add assert to FSlateApplication::Get that the application is alive.

[REVIEW] [at]Rob.Cannaday [at]Sam.Zamani
#preflight 63f634609b26c4957e918a40

[CL 24370874 by chris varnsverry in ue5-main branch]
2023-02-22 17:26:08 -05:00
Chris Babcock
a6f9a18c63 Choose Android WebBrowser texture size in DefaultEngine.ini
[/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]
WebViewTextureSize=1024,768

#jira UE-175080
#android
#review @Victor.Brodin
#rb Victor.Brodin

#preflight

[CL 23955825 by Chris Babcock in ue5-main branch]
2023-02-01 15:22:24 -05:00
Chris Babcock
b7d532ee32 Add key support for Android WebBrowser widget
#jira UE-173890
#android
#review-23670839 @Victor.Brodin
#rb Victor.Brodin

#preflight

[CL 23745372 by Chris Babcock in ue5-main branch]
2023-01-17 16:19:32 -05:00
Chris Babcock
2763393dbf Use an alternative bitmap rendering mode for Quest webview
#jira UE-150021
#android
#review @Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/639ce5682540a78d275827d2

[CL 23542080 by Chris Babcock in ue5-main branch]
2022-12-16 17:07:47 -05:00
Chris Babcock
56fd4cd6cb Let Android WebBrowser handle mouse (forward to webview as touch events)
#jira UE-61616
#android
#review @Jack.Porter
#rb Jack.Porter

#preflight 639b8e4743330e63e57f3150

[CL 23532316 by Chris Babcock in ue5-main branch]
2022-12-15 16:48:22 -05:00
christopher waters
0270a5f287 Moving FDeferredCleanupInterface and accompanying types to RenderDeferredCleanup.h to remove global dependencies on RenderThread.h
#preflight 6393481ebb6fefa472ddeae0

[CL 23475364 by christopher waters in ue5-main branch]
2022-12-11 23:11:39 -05:00
adam kinge
2c6e985023 Simplify weakptr IsValid check
#jira UE-168767
#fyi jack.porter
#preflight trivial

[CL 23291830 by adam kinge in ue5-main branch]
2022-11-28 12:23:44 -05:00
adam kinge
474b7e555e Pin() TWeakPtr before checking if valid due to possible race condition
#jira UE-168767
#fyi jack.porter
#preflight trivial

[CL 23268224 by adam kinge in ue5-main branch]
2022-11-25 14:53:33 -05:00
adam kinge
5e7969b0c0 Fix for an invalid TWeakPtr dereference on ProcessScriptMessage() AsyncTask callback after iOS webview is closed.
Also, fixes a deref of a (possibly) destroyed WebBrowserWidget within a AsyncTask callback when notifying on Url Loading when Widget is closed.
#jira UE-168767
#rb Jack.Porter
#preflight 637e9861cc307d6fa52df6c7
[REVIEW] [at]Jack.Porter

[CL 23263797 by adam kinge in ue5-main branch]
2022-11-24 23:20:14 -05:00
henrik karlsson
b5164ac775 Fixes to make modules compile with IWYU. We've added to IWYU toolchain so it compiles "orphaned" headers which does not have a owning cpp file. This identified lots of headers that couldn't be compiled by themselves (or if they were to included first)
Change consist of only forward declaration and additional includes

#preflight 63789c1de30d438849c48188
#rb none

[CL 23218412 by henrik karlsson in ue5-main branch]
2022-11-21 03:22:23 -05:00
adam rehn
2e42ad0e10 Update CEF to use Ozone rendering backend under Linux
This update allows CEF to render in Linux environments that lack an X11 server, such as desktops running Wayland without XWayland, and headless environments such as containers.

Note that this change removes the existing Linux binaries for CEF and replaces them with a new set of binaries, hence the large number of changed files.

#jira UCS-5194
[FYI] Mattias.Jansson
#rb Luke.Bermingham
#preflight 63355bc1f418a1071a5209de

[CL 22260825 by adam rehn in ue5-main branch]
2022-09-29 20:35:21 -04:00