2019-12-26 14:45:42 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2014-10-06 10:05:03 -04:00
|
|
|
|
|
|
|
|
#include "SWebBrowser.h"
|
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
|
|
|
#include "Widgets/Text/STextBlock.h"
|
|
|
|
|
#include "Widgets/Input/SEditableTextBox.h"
|
|
|
|
|
#include "Widgets/Input/SButton.h"
|
|
|
|
|
#include "Widgets/Images/SThrobber.h"
|
2014-10-06 10:05:03 -04:00
|
|
|
|
|
|
|
|
#define LOCTEXT_NAMESPACE "WebBrowser"
|
|
|
|
|
|
|
|
|
|
SWebBrowser::SWebBrowser()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-06 15:27:08 -04:00
|
|
|
SWebBrowser::~SWebBrowser()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2015-12-08 16:59:43 -05:00
|
|
|
void SWebBrowser::Construct(const FArguments& InArgs, const TSharedPtr<IWebBrowserWindow>& BrowserWindow)
|
2014-10-06 10:05:03 -04:00
|
|
|
{
|
2015-03-13 08:26:18 -04:00
|
|
|
OnLoadCompleted = InArgs._OnLoadCompleted;
|
|
|
|
|
OnLoadError = InArgs._OnLoadError;
|
|
|
|
|
OnLoadStarted = InArgs._OnLoadStarted;
|
|
|
|
|
OnTitleChanged = InArgs._OnTitleChanged;
|
2015-04-02 09:42:37 -04:00
|
|
|
OnUrlChanged = InArgs._OnUrlChanged;
|
2015-06-09 16:41:53 -04:00
|
|
|
OnBeforeNavigation = InArgs._OnBeforeNavigation;
|
|
|
|
|
OnLoadUrl = InArgs._OnLoadUrl;
|
2015-07-30 10:49:18 -04:00
|
|
|
OnShowDialog = InArgs._OnShowDialog;
|
|
|
|
|
OnDismissAllDialogs = InArgs._OnDismissAllDialogs;
|
2015-05-22 15:17:48 -04:00
|
|
|
OnBeforePopup = InArgs._OnBeforePopup;
|
2015-06-12 14:55:16 -04:00
|
|
|
OnCreateWindow = InArgs._OnCreateWindow;
|
2015-07-06 15:27:08 -04:00
|
|
|
OnCloseWindow = InArgs._OnCloseWindow;
|
2015-09-02 17:26:17 -04:00
|
|
|
bShowInitialThrobber = InArgs._ShowInitialThrobber;
|
2017-03-28 17:14:05 -04:00
|
|
|
|
2014-10-06 10:05:03 -04:00
|
|
|
ChildSlot
|
|
|
|
|
[
|
|
|
|
|
SNew(SVerticalBox)
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
.AutoHeight()
|
|
|
|
|
[
|
|
|
|
|
SNew(SHorizontalBox)
|
2015-05-01 15:52:04 -04:00
|
|
|
.Visibility((InArgs._ShowControls || InArgs._ShowAddressBar) ? EVisibility::Visible : EVisibility::Collapsed)
|
|
|
|
|
+ SHorizontalBox::Slot()
|
|
|
|
|
.Padding(0, 5)
|
2014-10-06 10:05:03 -04:00
|
|
|
.AutoWidth()
|
|
|
|
|
[
|
2015-04-02 09:42:37 -04:00
|
|
|
SNew(SHorizontalBox)
|
|
|
|
|
.Visibility(InArgs._ShowControls ? EVisibility::Visible : EVisibility::Collapsed)
|
|
|
|
|
+SHorizontalBox::Slot()
|
|
|
|
|
.AutoWidth()
|
|
|
|
|
[
|
|
|
|
|
SNew(SButton)
|
|
|
|
|
.Text(LOCTEXT("Back","Back"))
|
|
|
|
|
.IsEnabled(this, &SWebBrowser::CanGoBack)
|
|
|
|
|
.OnClicked(this, &SWebBrowser::OnBackClicked)
|
|
|
|
|
]
|
|
|
|
|
+SHorizontalBox::Slot()
|
|
|
|
|
.AutoWidth()
|
|
|
|
|
[
|
|
|
|
|
SNew(SButton)
|
|
|
|
|
.Text(LOCTEXT("Forward", "Forward"))
|
|
|
|
|
.IsEnabled(this, &SWebBrowser::CanGoForward)
|
|
|
|
|
.OnClicked(this, &SWebBrowser::OnForwardClicked)
|
|
|
|
|
]
|
|
|
|
|
+SHorizontalBox::Slot()
|
|
|
|
|
.AutoWidth()
|
|
|
|
|
[
|
|
|
|
|
SNew(SButton)
|
|
|
|
|
.Text(this, &SWebBrowser::GetReloadButtonText)
|
|
|
|
|
.OnClicked(this, &SWebBrowser::OnReloadClicked)
|
|
|
|
|
]
|
|
|
|
|
+SHorizontalBox::Slot()
|
|
|
|
|
.FillWidth(1.0f)
|
|
|
|
|
.VAlign(VAlign_Center)
|
|
|
|
|
.HAlign(HAlign_Right)
|
|
|
|
|
.Padding(5)
|
|
|
|
|
[
|
|
|
|
|
SNew(STextBlock)
|
|
|
|
|
.Visibility(InArgs._ShowAddressBar ? EVisibility::Collapsed : EVisibility::Visible )
|
|
|
|
|
.Text(this, &SWebBrowser::GetTitleText)
|
|
|
|
|
.Justification(ETextJustify::Right)
|
|
|
|
|
]
|
2014-10-06 10:05:03 -04:00
|
|
|
]
|
|
|
|
|
+SHorizontalBox::Slot()
|
|
|
|
|
.VAlign(VAlign_Center)
|
2015-04-02 09:42:37 -04:00
|
|
|
.HAlign(HAlign_Fill)
|
2015-05-01 15:52:04 -04:00
|
|
|
.Padding(5.f, 5.f)
|
2014-10-06 10:05:03 -04:00
|
|
|
[
|
2015-04-02 09:42:37 -04:00
|
|
|
// @todo: A proper addressbar widget should go here, for now we use a simple textbox.
|
|
|
|
|
SAssignNew(InputText, SEditableTextBox)
|
|
|
|
|
.Visibility(InArgs._ShowAddressBar ? EVisibility::Visible : EVisibility::Collapsed)
|
|
|
|
|
.OnTextCommitted(this, &SWebBrowser::OnUrlTextCommitted)
|
|
|
|
|
.Text(this, &SWebBrowser::GetAddressBarUrlText)
|
|
|
|
|
.SelectAllTextWhenFocused(true)
|
|
|
|
|
.ClearKeyboardFocusOnCommit(true)
|
|
|
|
|
.RevertTextOnEscape(true)
|
2014-10-06 10:05:03 -04:00
|
|
|
]
|
|
|
|
|
]
|
|
|
|
|
+SVerticalBox::Slot()
|
|
|
|
|
[
|
2014-11-06 15:23:27 -05:00
|
|
|
SNew(SOverlay)
|
2015-10-01 10:39:13 -04:00
|
|
|
+ SOverlay::Slot()
|
2014-11-06 15:23:27 -05:00
|
|
|
[
|
2015-12-08 16:59:43 -05:00
|
|
|
SAssignNew(BrowserView, SWebBrowserView, BrowserWindow)
|
|
|
|
|
.ParentWindow(InArgs._ParentWindow)
|
|
|
|
|
.InitialURL(InArgs._InitialURL)
|
|
|
|
|
.ContentsToLoad(InArgs._ContentsToLoad)
|
|
|
|
|
.ShowErrorMessage(InArgs._ShowErrorMessage)
|
|
|
|
|
.SupportsTransparency(InArgs._SupportsTransparency)
|
|
|
|
|
.SupportsThumbMouseButtonNavigation(InArgs._SupportsThumbMouseButtonNavigation)
|
|
|
|
|
.BackgroundColor(InArgs._BackgroundColor)
|
|
|
|
|
.PopupMenuMethod(InArgs._PopupMenuMethod)
|
|
|
|
|
.ViewportSize(InArgs._ViewportSize)
|
|
|
|
|
.OnLoadCompleted(OnLoadCompleted)
|
|
|
|
|
.OnLoadError(OnLoadError)
|
|
|
|
|
.OnLoadStarted(OnLoadStarted)
|
|
|
|
|
.OnTitleChanged(OnTitleChanged)
|
|
|
|
|
.OnUrlChanged(OnUrlChanged)
|
|
|
|
|
.OnBeforePopup(OnBeforePopup)
|
|
|
|
|
.OnCreateWindow(OnCreateWindow)
|
|
|
|
|
.OnCloseWindow(OnCloseWindow)
|
|
|
|
|
.OnBeforeNavigation(OnBeforeNavigation)
|
|
|
|
|
.OnLoadUrl(OnLoadUrl)
|
|
|
|
|
.OnShowDialog(OnShowDialog)
|
|
|
|
|
.OnDismissAllDialogs(OnDismissAllDialogs)
|
|
|
|
|
.Visibility(this, &SWebBrowser::GetViewportVisibility)
|
2017-03-28 17:14:05 -04:00
|
|
|
.OnSuppressContextMenu(InArgs._OnSuppressContextMenu)
|
Copying //UE4/Dev-Main to //UE4/Main (Source: //Portal/Main/Engine @ 4247640)
#rb none
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 4247640 by Daniel.Lamb
BuildPatchTool: PackageChunks: Fixed issue with filenames not being set for chunkdbs in particular cases where the chunkdbs were small.
Change 4247246 by Leigh.Swift
BuildPatchTool: Adding support to BPT PackageChunks to filter by tagsets, and also split chunkdb output by them too.
Change 4173518 by Wes.Fudala
WebBrowser: Adding support to enable allowing net security expirations.
Change 4102451 by Leigh.Swift
BuildPatchTool: PackageChunks: Adding tool mode JSON output for listing created chunkdb files.
Change 4099951 by Leigh.Swift
BuildPatchTool: PackageChunks: Adding PrevManifestFile commandline support to BPT PackageChunks mode, allowing us to generate chunkdbs that only cover data required to perform an update.
Change 4051406 by Leigh.Swift
BuildPatchServices: Update default number of simultaneous downloads for an installer to 16 which is now well proven in the wild.
Change 4036807 by Leigh.Swift
BuildPatchServices: Added new message type for receiving updates about which files have been touched by the installation.
BuildPatchServices: Cloud enumeration is now threaded to improve speed.
Change 4036477 by Richard.Fawcett
Thirdparty: AWSSDK: Update AWS SDK to version 3.3 as speculative fix for object is used after being disposed error.
Confirmed this exception is being raised from within the AWS SDK, and _not_ in Epic code.
Advice by Amazon on AWS forums for people experiencing this exception is always to update to the latest version of the SDK in the first instance.
Change 3922493 by Justin.Sargent
Runtime: Added shortcircuit support to the ExpressionParser. More documentation to come.
AgreementExpressionEvaluator has been updated to use the shortcircuit logic so it now processes expressions lef to right as expected in all cases.
AgreementExpressionEvaluator was also updated to perform evaluation as a two pass system. The tow pass solution prevents over prompting eulas in certain scenarios where the expression would ultimately resolve true without them.
Change 3983713 by Barnabas.McManners
BuildPatchServices: Fix for verification logging error counts for unique runs. Solved the issue by using an external cache of the errors encountered each run to deduct from the total. Reporting only the delta.
Change 3966915 by Wes.Fudala
WebBrowser: CEF: Potential fix for a rare issue encountered when we attempting to release resources outside of the game thread.
Change 3955168 by Justin.Sargent
BuildPatchServices: Updated primary messaging of overall install status to now display Updating when patching an existing installation rather than Installing.
Change 3954610 by Leigh.Swift
BuildPatchServices: Fixing issue with Cloud Chunk Source which would erroneously conclude that it needed to re-download a chunk due to external system failure.
There is now an explicit concept of 'lost chunk' which is tracked and bubbled up by the system errors that cause the loss in the first place, so that each source knows exactly when it should be required to retrieve a chunk that it had already retrieved previously. Being explicit, these lost chunks can also now contribute to the total download required stat.
Also fixing some tracking that was missing to update the total download required stat if a local Install Chunk Source failed to load data from the files on disk and so these chunks needed to be additionally downloaded.
Change 3947928 by Chad.Garyet
UAT: Changing commandutils to attempt to find the Win8.1sdk signtool before the win10 one. There's currently a bug related to vs2017/server2012r2/win10sdk signtool that causes it to exit with an undefined error when signing from a service account. Using the win8.1sdk circumvents this issue.
Change 3942776 by Rob.Cannaday
Http: Fix for Mac sending up duplicate header strings
Change 3940306 by Leigh.Swift
BuildPatchServices: Refactor to isolate CoreUObject dependency and be able to compile out usage.
Change 3936655 by Justin.Sargent
Slate: Changed the invalid fontcache ensure in ShapedTextCache from always to only once to reduce ensure spamChange 3917840 by Leigh.Swift
BuildPatchTool: DiffManifests mode now also saves info for New, Removed, Changed, and Unchanged file to the output json file.
Change 3911756 by Justin.Sargent
WebBrowser: SWebBrowserView now ensures that it has a valid pointer to it's parent window in it's onpaint to avoid issues with the first frame being scaled incorrectly due to not being able to access the parent windows dpi scaling.
Change 3906670 by Justin.Sargent
Slate: Change the ShapedTextCache to hold a weakptr to the Slate FontCache instead of a reference. This will allow it to detect if the FontCache has become invalid since it was linked with the ShapedTextCache, thus making it able to avoid crashing.
Change 3889008 by Justin.Sargent
StandaloneRenderer: Made the SlateD3DRenderingPolicy more resilient to graphics device errors.
Change 3886969 by Justin.Sargent
StandaloneRenderer:Changed SlateD3DConstantBuffer to no longer check on a D3DDevice failure and instead soft fail, so the application can go through the process of attempting to re-establish the D3DDevice.
Change 3886960 by Justin.Sargent
WebBrowser: Made CEFWebBrowserWindow more resilient to issues with creating textures.
Change 3855821 by Barnabas.McManners
BuildPatchServices: Added logging of the configuration to the start of all installs.
Change 3839245 by Wes.Fudala
WebBrowser: Adding support for web browser drag regions. These are areas of a page tagged with -webkit-app-region: drag or -webkit-app-region: no-drag. The application can now pass a handler function to the browser to handle window drag events. This handler will be called if the browser detects mouse drag events inside of a tagged drag region.
Change 3835225 by Jacob.Hedges
Slate: Fix for SScrollBarTrack size issue
Change 3824320 by Wes.Fudala
WebBrowser: Fix for reported deadlock in WebBrowserSingleton. Associated with github pull request #4303.
#jira UE-53420 GitHub 4330 : Fixed deadlock in FWebBrowserSingleton
#4303
Change 3811191 by Barnabas.McManners
BuildPatchServices: Expanded MF01-X into MF01-X-X and MF02-X where X is the os error codes
Change 3807662 by Barnabas.McManners
BuildPatchServices: Broke down build verification errors into 4 new cases.
Change 3805698 by Leigh.Swift
BuildPatchServices: Speculative fixes for Unit test crashes / failures.
Change 3804175 by Wes.Fudala
ThirdParty: CEF: Adding browser locale pak files for es-MX, and es-ES as the typical mapping/fallback does not seem functional on mac browser. They are copies of es_419 and es respectively.
Change 3786628 by Leigh.Swift
WebBrowser: Exposing ability to customise tool tip widgets produced from SWebBrowserView.
Change 3775678 by Richard.Fawcett
BuildPatchServices: Allow a Prerequisite install only mode.
Change 3774365 by Justin.Sargent
BuildPatchServices: Updated Build Stat report that is logged after every installation to use FText::AsMemory instead of the UnitConversion logic, and now it outputs multiple unit types for convenience.
Change 3774361 by Justin.Sargent
Http: Remove Pragma: no-cache header from libcurl requests
Change 3774258 by Leigh.Swift
BuildPatchServices: Fix for destructive patch destroy files that contain useful data.
Change 3766156 by Barnabas.McManners
Http: Various lower changes to enable Hardware testing and to enable proxy configuration.
Change 3756723 by Leigh.Swift
BuildPatchServices: Hooking up disk chunk store operation states to the installer statistics.
BuildPatchServices: Memory chunk store statistics fix for booted chunks that have been reloaded.
Change 3756320 by Rob.Cannaday
Http: Add default headers added to every HTTP request.
Change 3741274 by Wes.Fudala
WebBrowser: Release CEF related references prior to CEF shutdown.
Change 3738003 by Leigh.Swift
BuildPatchServices: Fix-ups for install stats when failures are occurring
NumFilesOutdated now only set on first run, so it is not set to the number of files that are retried.
Total downloaded data and total download requirement stats fixed up for runtime as well as final values.
Initial chunk counters now only set for first run.
Moving the GetBytesDownloaded api from cloud source to download service so that it correctly accumulates.
InstallSource was multiply attempting, and counting, recycle failures, throwing that stat out of proportion.
Change 3729851 by Barnabas.McManners
BuildPatchServices: Changed the installer's MoveFile method to default to not retry. We currently only have uses of move file which already handle retry.
Change 3725611 by Leigh.Swift
Core: FText::AsMemory - Fix for numerical edges.
Added unit tests to check all edges up to full uint64 range.
Change 3725127 by Leigh.Swift
BuildPatchServices: ManifestDiff: Correcting string format padding for new data size output uints.
Change 3725126 by Leigh.Swift
Core: FText::AsMemory fix. Shifting (equivalent of divide 2 per shift) does not work for calculating SI units which are base 10.
Change 3721926 by Justin.Sargent
ThirdParty: LibCurl update performed by Simon Tourangeau.
We now have 100MB/sec download speed with libcurl on Win64, compared to 3MB/sec originally
Change 3700670 by Michael.Trepka
SlateReflector: Fixed mouse click highlighting in Widget Reflector's Demo Mode in high DPI
Change 3697526 by Leigh.Swift
BuildPatchServices: Exposing a suite of runtime statistics for BuildPatchInstallers.
Change 3686439 by Leigh.Swift
BuildPatchServices: Stop installers from always logging a shutdown error on destruction. This should only occur if the installer is actually running.
Change 3684747 by Leigh.Swift
BuildPatchTool: Fix file ignore list to parse using platform agnostic method.
Change 3643038 by Michael.Trepka
Core: Don't defer Cocoa calls in FMacWindow Show and Hide to make sure both actions complete before we exit these functions. This solves the problem with the blocks being called after window was destroyed.
Change 3639692 by Michael.Trepka
Fixes for a couple of issues found by address sanitizer
Change 3625568 by Leigh.Swift
BuildPatchServices: Fixing numerical limits problem with double -> uint64 in FStatsCollector::SecondsToCycles().
Change 3617948 by Leigh.Swift
BuildPatchServices: Disk space requirement can now be lower when patching if destructive patch mode is enabled. This mode will delete existing old files once they are not needed.
BuildPatchServices: Adding new installation mode setting on installer config.
BuildPatchServices: If destructive installation mode is enabled, the file constructor will delete old existing files after completing the new one.
BuildPatchServices: Adding missing file path length check for install location to cover situation where staging directory is outside the install directory.
Change 3593632 by Leigh.Swift
BuildPatchServices: Adding additional installation tracking to BuildPatchServices. See Engine/Source/Runtime/Online/BuildPatchServices/Public/Interfaces/IBuildInstaller.h
[CL 4273704 by Leigh Swift in Main branch]
2018-08-09 17:55:56 -04:00
|
|
|
.OnDragWindow(InArgs._OnDragWindow)
|
Copying //UE4/Portal-Staging to //UE4/Main (Source: //Portal/Main/Engine @ 8661229)
Change 8553543 by Wes.Fudala
We now set a fixed value of 24 to CEF screenInfo colorDepth when off screen rendering is enabled.
Change 8235770 by Wes.Fudala
Fix for CEFJsScripting memory stomp and memory alignment errors called out by the stomp memory allocator when running with -stompmalloc on the commandline.
Change 8065597 by Leigh.Swift
BuildPatchServices: Improving ChunkBuildDirectory behaviour when dealing with empty build or builds only containing empty files.
This is now fully supported as part of the generation flow rather than an early detected edge case.
Change 7641628 by Leigh.Swift
BuildPatchServices: Tweaks to serialisation safety.
BuildPatchServices: DiskChunkStore fix for crash when chunkdump serialisation fails due to disk space.
Change 7436869 by Leigh.Swift
BuildPatchServices: Fix regression in BPT package chunks for cloud save improvements now require message pumping.
Change 7326553 by Wes.Fudala
BuildPatchServices: Attempt to restore functionality of the -SkipBuildPatchPrereq commandline. This stopped functioning in CL# 6655502 with the BPS DLC related refactors.
The issue was reported by a number of users that were relying on this commandline as a last resort workaround for prereq install issues.
Change 7323945 by Leigh.Swift
BuildPatchServices: BuildPatchTool: Install time coefficient values exposed by DiffManifests.
This gives an indicative install duration.
The time is not necessarily accurate, but the simulation is a constant and so the value is highly comparable between different builds.
Change 7310352 by Antony.Carter
BuildPatchServices: Adding support for overriding http path for chunk requests. This allows the ability to support signed urls when downloading patch data.
Change 7095282 by Leigh.Swift
BuildPatchServices: Fix regression with manifests that have no core files.
Change 7092198 by leigh.swift
BuildPatchServices: Reuse existing code from FBuildPatchAppManifest::GetChunkShaHash in FBuildPatchManifestSet::GetChunkShaHash.
This fixes an issue where older manifest files that did not ship with chunk sha values in them, can skip sha validation of chunks like pre-DLC launcher did.
Change 6959115 by Wes.Fudala
Added functionality that will optionally expose embedded browser console logs to the client.
Change 6835841 by Leigh.Swift
BuildPatchServices: Rearranging manifest save logic to avoid unnecessary seeking forwards, which avoids an assert when undetected write failures occur.
Change 6684994 by Leigh.Swift
BuildPatchServices: Don't clean empty directories if staging only.
Change 6655502 by Mike.Erickson, Leigh.Swift, Wes.Fudala
BuildPatchServices: Restructuring how installers are configured and make use of manifest files in order to combine multiple actions on an installation directory into one installer.
This resembles a feature set for a better DLC installation experience.
Change 6404031 by Richard.Fawcett
BuildPatchTool: Only append ".manifest" to output filename if output filename has been specified on the command line.
This was causing a manifest file called literally ".manifest" to be output to the clouddir if -OutputFilename was not specified.
Change 6077240 by Wes.Fudala
Execution of browser resource load complete delegate now happens on the main thread.
Change 6076171 by Leigh.Swift
BuildPatchTool: PatchGeneration: ChunkDeltaOptimise: PackageChunks: Improved corrupt output protection against ill timed taskkill, by serialising to temp filename, and then rename on success.
BuildPatchTool: PatchGeneration: Manifest file extension added if not provided, fixing an oversight and inconsistency with other mode behaviours.
BuildPatchTool: Compactify: Only warn when failing to get a file size, if the file still exists. Otherwise log instead.
Change 6049003 by Leigh.Swift
BuildPatchServices: Adding ProcessRequiredDiskSpace to Launcher.Install.Stats which represents how much disk space the install/update process needed to complete.
BuildPatchServices: Adding ProcessAvailableDiskSpace to Launcher.Install.Stats which represents how much disk space was available at the time of checking required disk space.
Change 5915157 by Leigh.Swift
BuildPatchTool: Adding a statistic to diffmanifests for temporary disk space requirement to apply the patch.
Change 5934838 by Leigh.Swift
BuildPatchTool: PackageChunks: Adding support to provide a tagset for the previous build manifest when producing chunkdbs. This allows expanding the chunks saved out to cover tagsets not installed in the previous build.
Change 5838666 by wes.fudala
Browser can now bubble up the state of completed web resource loads.
Change 5689493 by Leigh.Swift
Adding new x86 and x64 MS VC141 CRT redist, version 14.16.27012
Change 5689462 by Leigh.Swift
Fixing process handle leaks on windows.
Core was leaking for getting an application name.
Change 5500917 by Leigh.Swift
BuildPatchTool: Adding new arg DiffAbortThreshold to ChunkDeltaOptimise mode which allows skipping of the operation if the original delta is so large that it would take too long to process, and likely have little benefit.
BuildPatchTool: Switching some Log output to use Display so that it will appear in EC and CMD windows.
Change 5337482 by Leigh.Swift
BuildPatchTool: Fix for DiffManifests mode not accurately representing delta size for tagged install sets.
Change 5261246 by Leigh.Swift
BuildPatchServices: Fix for file download needing to mock response codes for higher layer statistics code which tracks data sizes and speeds.
This is a regression from previous change to correct download failure vs corruption statistics.
Change 5224725 by Leigh.Swift
BuildPatchServices: Fix for delta download of more than 0 bytes when no update is necessary.
BuildPatchServices: Skip requesting delta metafile if no file changes are actually required for a patch.
BuildPatchTool: Reduce unnecessary data produced by BPT ChunkDeltaOptimise mode.
Change 5010941 by Mike.Erickson
BuildPatchServices: Add download scaling based on average speed per request, maximum count, and download health.
Change 5010845 by Wes.Fudala
BuildPatchServices: IDownload refactored to have specific request and response success functions, to make it clearer that a successful request does not mean the response was also good.
BuildPatchServices: Fixed issues with download failures reporting as corruptions.
Change 5000643 by Wes.Hunt
Remove HttpServiceTracker from UE4.
Change 4884381 by Leigh.Swift
BuildPatchTool: Fix for Package Chunks mode hanging when no chunks were required.
Change 4848675 by Justin.Sargent, Leigh.Swift
Speculative fixes for graphics device lost related crash, by adding additional d3d api result checks.
Improved logging for graphics device lost handling.
Improved logging for tracking down common font loading failure resulting in an ensure.
Change 4831134 by Leigh.Swift
BuildPatchTool: Fix for crash in patchgeneration when fast-forward path replays no match.
Change 4801714 by Wes.Fudala
Fix for CEF issue encountered when building using Mac Mojave + XCode10.
Change 4719149 by Leigh.Swift
BuildPatchTool: PatchGeneration mode cyclic data optimisation, reduces SHA calculation requirement counts for cyclic data.
BuildPatchTool: PatchGeneration mode fix for a bug causing non-optimal match insertion idx searching when there are 10k+ matches per scanner.
Change 4680963 by Leigh.Swift
BuildPatchTool: ChunkDeltaOptimise mode is now FeatureLevel upgrade / downgrade aware.
Change 4680947 by Leigh.Swift
BuildPatchTool: Compactify speed improvements for massive network cloud directories.
Change 4656991 by Leigh.Swift
BuildPatchServices: Make sure chunk writer robustly discovers if a chunk fails to save out.
Change 4647815 by Leigh.Swift
Upping the minimum wait time for UdpMessageBeacon thread so that it will not always wait 0ms when network sends are failing, reducing disconnect CPU usage.
Adding configurable tick rate logic to XmppConnectionJingle thread. It will now default to 100Hz max.
Change 4627355 by Michael.Trepka
Fixed a problem with CEF being unable to find locale pak files on Mac for certain language/region combinations
Change 4620800 by Leigh.Swift
Fix for CEF crash when disabling a web window that has not yet got a parent window. There's no need to worry about focus in this case.
Change 4590207 by Leigh.Swift
BuildPatchTool: PackageChunks mode now supports FeatureLevel arg
Change 4590103 by leigh.swift
BuildPatchTool: Adding new mode ChunkDeltaOptimise which reducing the download size when patching between two specific builds in a specific direction.
BuildPatchTool: Updated Enumeration, DiffManifests, Compactify, PackageChunks, and VerifyChunks modes to take account of new delta data.
BuildPatchServices: Installers now have a single shared memory chunk store, which reduces the requirement for booting
Change 4590089 by Leigh.Swift
BuildPatchTool: Adding new mode ChunkDeltaOptimise which reducing the download size when patching between two specific builds in a specific direction.
BuildPatchTool: Updated Enumeration, DiffManifests, Compactify, PackageChunks, and VerifyChunks modes to take account of new delta data.
BuildPatchServices: Installers now have a single shared memory chunk store, which reduces the requirement for booting
Change 4341076 by Leigh.Swift
BuildPatchServices: Making FBuildPatchAppManifest::GetRemovableFiles more robust to handle directories with or without trailing slash.
Change 4331754 by Leigh.Swift
BuildPatchTool: Added support for selecting ChunkWindowSize when generating patches.
BuildPatchTool: Added support for providing the FeatureLevel command-line argument to indicate the data version that should be saved out by patch generation. This warns about defaulting to LatestJson if not provided.
BuildPatchTool: Added support for generating patches with recognition for any chunks with any ChunkWindowSize found in the provided CloudDir.
BuildPatchTool: Added command-line -IgnoreOtherWindowSizes param which if provided, the generation code will only accept chunk matches that are the same as ChunkWindowSize.
BuildPatchServices: Fixes for supporting installations that use any ChunkWindowSize.
BuildPatchServices: New manifest file format to reduce file size, this is now raw compressed binary data.
#lockdown Nick.Penwarden
#rb none
[CL 8675597 by Leigh Swift in Main branch]
2019-09-13 13:24:23 -04:00
|
|
|
.BrowserFrameRate(InArgs._BrowserFrameRate)
|
2014-11-06 15:23:27 -05:00
|
|
|
]
|
2015-10-01 10:39:13 -04:00
|
|
|
+ SOverlay::Slot()
|
2014-11-06 15:23:27 -05:00
|
|
|
.HAlign(HAlign_Center)
|
|
|
|
|
.VAlign(VAlign_Center)
|
|
|
|
|
[
|
|
|
|
|
SNew(SCircularThrobber)
|
|
|
|
|
.Radius(10.0f)
|
|
|
|
|
.ToolTipText(LOCTEXT("LoadingThrobberToolTip", "Loading page..."))
|
|
|
|
|
.Visibility(this, &SWebBrowser::GetLoadingThrobberVisibility)
|
|
|
|
|
]
|
2014-10-06 10:05:03 -04:00
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
|
2014-12-17 09:20:23 -05:00
|
|
|
void SWebBrowser::LoadURL(FString NewURL)
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2014-12-17 09:20:23 -05:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
BrowserView->LoadURL(NewURL);
|
2014-12-17 09:20:23 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-01-20 16:49:52 -05:00
|
|
|
void SWebBrowser::LoadString(FString Contents, FString DummyURL)
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2015-01-20 16:49:52 -05:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
BrowserView->LoadString(Contents, DummyURL);
|
2015-01-20 16:49:52 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-06-09 16:41:53 -04:00
|
|
|
void SWebBrowser::Reload()
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2015-07-10 12:44:14 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
BrowserView->Reload();
|
|
|
|
|
}
|
2015-06-09 16:41:53 -04:00
|
|
|
}
|
2015-12-08 16:59:43 -05:00
|
|
|
|
|
|
|
|
void SWebBrowser::StopLoad()
|
|
|
|
|
{
|
|
|
|
|
if (BrowserView.IsValid())
|
|
|
|
|
{
|
|
|
|
|
BrowserView->StopLoad();
|
|
|
|
|
}
|
2015-07-10 12:44:14 -04:00
|
|
|
}
|
2015-06-09 16:41:53 -04:00
|
|
|
|
2014-10-06 10:05:03 -04:00
|
|
|
FText SWebBrowser::GetTitleText() const
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2014-10-06 10:05:03 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
return BrowserView->GetTitleText();
|
2014-10-06 10:05:03 -04:00
|
|
|
}
|
|
|
|
|
return LOCTEXT("InvalidWindow", "Browser Window is not valid/supported");
|
|
|
|
|
}
|
|
|
|
|
|
2015-04-02 09:42:37 -04:00
|
|
|
FString SWebBrowser::GetUrl() const
|
2015-03-13 08:26:18 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2015-03-13 08:26:18 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
return BrowserView->GetUrl();
|
2015-03-13 08:26:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return FString();
|
|
|
|
|
}
|
|
|
|
|
|
2015-04-02 09:42:37 -04:00
|
|
|
FText SWebBrowser::GetAddressBarUrlText() const
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if(BrowserView.IsValid())
|
2015-04-02 09:42:37 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
return BrowserView->GetAddressBarUrlText();
|
2015-04-02 09:42:37 -04:00
|
|
|
}
|
|
|
|
|
return FText::GetEmpty();
|
|
|
|
|
}
|
|
|
|
|
|
2015-03-13 08:26:18 -04:00
|
|
|
bool SWebBrowser::IsLoaded() const
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2015-03-13 08:26:18 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
return BrowserView->IsLoaded();
|
2015-03-13 08:26:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SWebBrowser::IsLoading() const
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2015-03-13 08:26:18 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
return BrowserView->IsLoading();
|
2015-03-13 08:26:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2014-10-06 10:05:03 -04:00
|
|
|
bool SWebBrowser::CanGoBack() const
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2014-10-06 10:05:03 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
return BrowserView->CanGoBack();
|
2014-10-06 10:05:03 -04:00
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2015-06-09 16:41:53 -04:00
|
|
|
void SWebBrowser::GoBack()
|
2014-10-06 10:05:03 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2014-10-06 10:05:03 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
BrowserView->GoBack();
|
2014-10-06 10:05:03 -04:00
|
|
|
}
|
2015-06-09 16:41:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FReply SWebBrowser::OnBackClicked()
|
|
|
|
|
{
|
|
|
|
|
GoBack();
|
2014-10-06 10:05:03 -04:00
|
|
|
return FReply::Handled();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool SWebBrowser::CanGoForward() const
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2014-10-06 10:05:03 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
return BrowserView->CanGoForward();
|
2014-10-06 10:05:03 -04:00
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2015-06-09 16:41:53 -04:00
|
|
|
void SWebBrowser::GoForward()
|
2014-10-06 10:05:03 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2014-10-06 10:05:03 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
BrowserView->GoForward();
|
2014-10-06 10:05:03 -04:00
|
|
|
}
|
2015-06-09 16:41:53 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FReply SWebBrowser::OnForwardClicked()
|
|
|
|
|
{
|
|
|
|
|
GoForward();
|
2014-10-06 10:05:03 -04:00
|
|
|
return FReply::Handled();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FText SWebBrowser::GetReloadButtonText() const
|
|
|
|
|
{
|
2015-06-09 16:41:53 -04:00
|
|
|
static FText ReloadText = LOCTEXT("Reload", "Reload");
|
2015-06-12 14:55:16 -04:00
|
|
|
static FText StopText = LOCTEXT("StopText", "Stop");
|
2014-10-06 10:05:03 -04:00
|
|
|
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2014-10-06 10:05:03 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView->IsLoading())
|
2014-10-06 10:05:03 -04:00
|
|
|
{
|
2015-06-09 16:41:53 -04:00
|
|
|
return StopText;
|
2014-10-06 10:05:03 -04:00
|
|
|
}
|
|
|
|
|
}
|
2015-06-09 16:41:53 -04:00
|
|
|
return ReloadText;
|
2014-10-06 10:05:03 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FReply SWebBrowser::OnReloadClicked()
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (IsLoading())
|
2014-10-06 10:05:03 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
StopLoad();
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
Reload();
|
2014-10-06 10:05:03 -04:00
|
|
|
}
|
|
|
|
|
return FReply::Handled();
|
|
|
|
|
}
|
2014-10-07 14:19:12 -04:00
|
|
|
|
2015-04-02 09:42:37 -04:00
|
|
|
void SWebBrowser::OnUrlTextCommitted( const FText& NewText, ETextCommit::Type CommitType )
|
|
|
|
|
{
|
|
|
|
|
if(CommitType == ETextCommit::OnEnter)
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
LoadURL(NewText.ToString());
|
2015-04-02 09:42:37 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2014-11-06 15:23:27 -05:00
|
|
|
EVisibility SWebBrowser::GetViewportVisibility() const
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (!bShowInitialThrobber || BrowserView->IsInitialized())
|
2014-11-06 15:23:27 -05:00
|
|
|
{
|
|
|
|
|
return EVisibility::Visible;
|
|
|
|
|
}
|
|
|
|
|
return EVisibility::Hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EVisibility SWebBrowser::GetLoadingThrobberVisibility() const
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (bShowInitialThrobber && !BrowserView->IsInitialized())
|
2014-11-06 15:23:27 -05:00
|
|
|
{
|
2014-11-07 10:30:01 -05:00
|
|
|
return EVisibility::Visible;
|
2014-11-06 15:23:27 -05:00
|
|
|
}
|
2014-11-07 10:30:01 -05:00
|
|
|
return EVisibility::Hidden;
|
2014-11-06 15:23:27 -05:00
|
|
|
}
|
|
|
|
|
|
2015-05-22 15:17:48 -04:00
|
|
|
|
|
|
|
|
void SWebBrowser::ExecuteJavascript(const FString& ScriptText)
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2015-05-22 15:17:48 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
BrowserView->ExecuteJavascript(ScriptText);
|
2015-05-22 15:17:48 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 17:31:51 -04:00
|
|
|
void SWebBrowser::GetSource(TFunction<void (const FString&)> Callback) const
|
|
|
|
|
{
|
|
|
|
|
if (BrowserView.IsValid())
|
|
|
|
|
{
|
|
|
|
|
BrowserView->GetSource(Callback);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-06-25 16:56:38 -04:00
|
|
|
void SWebBrowser::BindUObject(const FString& Name, UObject* Object, bool bIsPermanent)
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2015-06-25 16:56:38 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
BrowserView->BindUObject(Name, Object, bIsPermanent);
|
2015-06-25 16:56:38 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SWebBrowser::UnbindUObject(const FString& Name, UObject* Object, bool bIsPermanent)
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2015-06-25 16:56:38 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
BrowserView->UnbindUObject(Name, Object, bIsPermanent);
|
2015-06-25 16:56:38 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2015-09-30 13:59:19 -04:00
|
|
|
void SWebBrowser::BindAdapter(const TSharedRef<IWebBrowserAdapter>& Adapter)
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2015-09-30 13:59:19 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
BrowserView->BindAdapter(Adapter);
|
2015-09-30 13:59:19 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SWebBrowser::UnbindAdapter(const TSharedRef<IWebBrowserAdapter>& Adapter)
|
|
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
if (BrowserView.IsValid())
|
2015-09-30 13:59:19 -04:00
|
|
|
{
|
2015-12-08 16:59:43 -05:00
|
|
|
BrowserView->UnbindAdapter(Adapter);
|
2015-09-30 13:59:19 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Portal-Staging to //UE4/Dev-Main (Source: //UE4/Portal-Staging @ 3592606)
#rb none
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3520569 by Leigh.Swift
Adding chunkdb support to BPS installer as a chunk source for installations.
Chunk db filenames are provided on the installer configuration struct, and will be used to load chunks needed for the installation.
Chunk db source shares a chunk store with the cloud source.
Adding message pump implementation for installer which can be used to surface events or messages to handlers added to the installer. Currently just takes chunk source events for losing access to the chunkdb files.
Adding concept of new runtime requirements and callback for unavailable chunks to chunk source base API. Chained chunk source cascades broadcasted unavailable chunks down to other sources as new requirements.
#jira OPP-7191: Add chunkdb source support to BPS
Adding support for passing chunkdb files to created installers.
Storing chunkdb filenames used for installation in pending manifest so they can be re-used when resuming.
Exposing chunkdb source events to UI as warning triangle.
#jira OPP-7191: Add chunkdb source support to BPS
Change 3508964 by Wes.Fudala
CL# 3431076 - Upgrade Win32, Win64, and Mac to latest CEF branch 3071.
Adds browser support for foreign language character input via IME.
#jira OPP-4400 Non-Roman characters from an IME cannot be typed into CEF based views
Change 3506884 by Leigh.Swift
#jira OPP-6981: Make sign-in screen a web page
WebBrowser: Adding support to WebBrowser module for implementing custom protocol/scheme handlers. Currently works for CEF integration only.
WebBrowser: Adding support to override the user-agent version string when initialising the web browser module.
PortalBuild: Additionally shipping the contents of /Portal/Content/Web with full launchers.
Portal: Adding web content for sign in, background, and web test pages.
Portal: Added a high version number setup for WebBrowser when running debug so that latest code always gets latest websites.
Portal: Removing old slate sign in screens, and associated code.
Portal: Adding bIsThirdParty bool to some AccountService functions to allow to handle not yet having information about account types returned from the backend to deside if an account can be used with a password sign in.
Portal: Removing unnecessary use of email in the AccountService::AutoSignIn API.
Portal: Replacing old logging in overlay with a 'ShowLongProcessOverlay' API for systems that still use that (e.g. vault cach location select, waiting room).
Portal: UI: Adding a null state to sign in router so resources can be cleaned up.
Portal: UI: Adding web states for all screens on sign in router.
Portal: DebugTools: Adding a web developer section, with a refresh all browsers button to help with web iteration.
Portal: DebugTools: Fixing all test JS to use lowercased api calls.
Portal: Implementing new client:// scheme handler for WebBrowser which local pages will use.
Portal: RememberMe: Exposing additional user info, LastName and whether the account can auth with a password.
Portal: Temporary dynamic background image implementation and javascript bridge.
Portal: Sign in screen is now driven by a web page, and javascript API.
Portal: UIRouter: Improved handling of redirects and tracking of state changes via redirects.
Change 3471216 by Leigh.Swift
Extending BPT VerifyChunks mode to check manifests are loadable and do not reference broken data, and also to output bad files to a text file passed in on commandline.
Change 3469441 by Richard.Fawcett
Add support for disc icon to packaging game ISO
#jira OPP-7311: Implement icon file for disc
Change 3468243 by Wes.Fudala
Adds support for branding windows installers.
#jira OPP-7190: Create game bootstrap msi (Windows)
Change 3456485 by Richard.Fawcett
Create new C# wrapper around BuildPatchTool to call the (as yet unimplemented) PackageChunks mode.
Implement new tool mode in PortalPublishingTool which takes game name and build version, finds manifest files, and executes BuildPatchTool for each platform, with the option to restrict to a single platform via the commandline.
Build script changes to allow the Package Chunks job to be called from Electric Commander. This includes refactoring the setup of PortalPublishingTool to a new node which the package chunks job, and the existing build diff job depend on.
#jira OPP-7193: Create 'package chunks' job
Change 3446665 by Jacob.Hedges
CL# 3430618 - Added App Installation, Engine Installation, and Plugin Installation test suites. Create Social gadget for interacting with the social panel. Added Portal Automation Helper that exposes the UIRouter, and changed existing tests and Screens to utilize URI navigation. Added various metadata tags.
#jira OPP-7155
#jira QAENG-1075
#jira QAENG-1076
#jira QAENG-1079
#jira QAENG-1080
Change 3420598 by Richard.Fawcett
Use Prerequisite Ids to track which prerequisistes have been installed on a user's system.
#jira OPP-6007: Upgrade prereq installer so that it checks versions instead of file hashes - Part 1
Change 3410773 by Richard.Fawcett
Implement project-specific retention periods for automated cleanup routines.
Additional changes:
* Remove VerifyManifestFilenames as it makes no sense for manifest filenames to have to conform to a specific pattern now that we have randomized manifest filenames.
* Add support for detecting build versions from Win32 manifest files by tweaking regex.
* DeleteUnreferencedManifestsFromCDN: Avoid parsing version strings when we're not in SimulateCDN mode as we're only interested in the result if we're filtering "old" manifests by CL (i.e. simulating) rather than having the date of real files from the folder.
* Add -SkipProd flag to periodic rocket cleanup to enable us to run operations that only touch gamedev. This aids debugging as prod environment is firewalled from developer workstations.
Change 3377027 by Leigh.Swift
#jira OPP-6911: Launcher.Install.Stats Changes
Adding specific process timers for each stage that we want to time, replacing any individual logic.
Verifier no longer needs to provide the TimeSpentPaused output, since it is now given knowledge of pause state via external dependancy, it doesn't need to be responsible for providing the pause timer.
Rearranging Launcher.Build.Stats analytics events according to new spec and desires.
Also cleaning up some GLog->UE_LOG.
Change 3374573 by Jacob.Hedges
Copying //Tasks/Portal/Dev-UIAutomation to Dev-Main (//Portal/Dev-Main)
Added new functional testsuite for the launcher, including metadata tags for relevant elements
Added new functionality to ID and Path searches for the automation driver to start the search from a specified element
Changed selective download components to utilize SCheckBox instead of SButton
#jira OPP-6973
[CL 3592632 by Antony Carter in Main branch]
2017-08-17 06:28:58 -04:00
|
|
|
void SWebBrowser::BindInputMethodSystem(ITextInputMethodSystem* TextInputMethodSystem)
|
|
|
|
|
{
|
|
|
|
|
if (BrowserView.IsValid())
|
|
|
|
|
{
|
|
|
|
|
BrowserView->BindInputMethodSystem(TextInputMethodSystem);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SWebBrowser::UnbindInputMethodSystem()
|
|
|
|
|
{
|
|
|
|
|
if (BrowserView.IsValid())
|
|
|
|
|
{
|
|
|
|
|
BrowserView->UnbindInputMethodSystem();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-22 21:44:52 -04:00
|
|
|
void SWebBrowser::SetParentWindow(TSharedPtr<SWindow> Window)
|
|
|
|
|
{
|
|
|
|
|
if (BrowserView.IsValid())
|
|
|
|
|
{
|
|
|
|
|
BrowserView->SetParentWindow(Window);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2014-10-07 14:19:12 -04:00
|
|
|
#undef LOCTEXT_NAMESPACE
|