Commit Graph

253 Commits

Author SHA1 Message Date
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
marc audy
311f7464bf Updated ../Engine/Source/Runtime/... to inline gen.cpp files
Before:
3648 unity files
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

After:
3548 unity files
Total CPU Time: 46643.828125 s
Total time in Parallel executor: 486.06 seconds

#jira
#preflight

[CL 22173263 by marc audy in ue5-main branch]
2022-09-24 13:57:58 -04:00
adam kinge
02708f1a79 Add a dealloc to IOSWebViewWrapper (via Static Analysis) and a few other retained properties found with latest clang.
#jira UE-162067
[REVIEW] [at]jack.porter, [at]axel.riffard
#rnx
#preflight 632c63a0d51603c5483c318b

[CL 22145883 by adam kinge in ue5-main branch]
2022-09-22 17:39:01 -04:00
bryan sefcik
cb0456c6d4 Cleaned up build.cs files by removing any include paths that were already being added by UBT. This was done to help identify how include paths are being added and to help with future refactoring.
#jira
#preflight 631a5c04967ffc68fbf0dd8f

[CL 21911226 by bryan sefcik in ue5-main branch]
2022-09-08 21:44:02 -04:00
alfred reynolds
7bab0f2393 - Don't attempt to backup the cef3.log file from CEF when running in commandlet mode.
#jira UE-161757
#preflight 630d50f3556fc14dce566e27
#rb chris.babcock

[CL 21695145 by alfred reynolds in ue5-main branch]
2022-08-29 21:54:59 -04:00
alfred reynolds
efe645a461 Merge CEF changes from //Portal/Main to //UE5/Main/...
- Added missing OnConsoleMessage delegate with this merge
- Added support for direct window rendering under macOS

#jira UE-160610
#rb george.rolfe
#rb simon.therriault
#preflight 62f5a55bcf7afa018b72ecf9
#preflight 62fc1bfa2d5e2ed99cd955e1

[CL 21416499 by alfred reynolds in ue5-main branch]
2022-08-16 18:57:47 -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
josh adams
c10d6cdc61 - Compiled CEF3 wrapper lib, universal
- Engine changes needed for CEF3 arm64/m1
- Updated EpicWebHelper.app
- Made Binaries/ThirdParty/CEF/Mac/CEF.framework into two non-universal frameworks, because they are so big, we don't always want both architectures if a project is non-universal
#jira UE-153533
#rb alfred.reynolds
#preflight 6296cda42a1851b4cca8d043

[CL 20445748 by josh adams in ue5-main branch]
2022-05-31 23:09:46 -04:00
Josh Adams
a844807369 - Fixed some unacceptable words from CEF integration, and added a known case to the script for a third party #include we can't change
#rb trivial
#fyi alfred.reynolds
#preflight 62969d48261e39f62075bfa3

[CL 20445678 by Josh Adams in ue5-main branch]
2022-05-31 22:41:24 -04:00
Josh Adams
081f4bff7d - Fixed a non-unity error
#rb trivial
#preflight skip

[CL 20444299 by Josh Adams in ue5-main branch]
2022-05-31 19:10:13 -04:00
Marc Audy
1b70e12969 Fix non-unity
#preflight
#rnx

[CL 20442673 by Marc Audy in ue5-main branch]
2022-05-31 17:12:58 -04:00
Josh Adams
5ff572f4bb - Fixed some platforms after recent CEF changes that didn't come in from other stream
#rb trivial
#preflight 62961d84b3433bddeffb272f

[CL 20436767 by Josh Adams in ue5-main branch]
2022-05-31 10:23:10 -04:00
josh adams
325c2bc02f - Updating CEF to v90 (in prep for getting M1 version checked in)
#rb alfred.reynolds
#preflight skip (too big for horde)

[CL 20435886 by josh adams in ue5-main branch]
2022-05-31 08:44:08 -04:00
jeff newquist
45350930a3 Remove NDA platform define references
#jira none
#rb rolando.caloca, david.harvey
#preflight 62880af3d1384beadd4de28b

[CL 20332798 by jeff newquist in ue5-main branch]
2022-05-23 13:53:51 -04:00