Files
UnrealEngineUWP/Engine/Source/Runtime/WebBrowser/Private/CEF/CEFWebBrowserWindow.cpp

2810 lines
75 KiB
C++
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
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 "CEF/CEFWebBrowserWindow.h"
#include "IWebBrowserDialog.h"
#include "UObject/Stack.h"
#include "Framework/Application/SlateApplication.h"
#include "Textures/SlateUpdatableTexture.h"
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
#include "HAL/PlatformApplicationMisc.h"
#include "Misc/CommandLine.h"
#include "Misc/ConfigCacheIni.h"
#include "WebBrowserLog.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
#if WITH_CEF3
#include "CEFBrowserPopupFeatures.h"
#include "CEFWebBrowserDialog.h"
#include "CEFBrowserClosureTask.h"
#include "CEFJSScripting.h"
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
#include "CEFImeHandler.h"
#include "CEFWebBrowserWindowRHIHelper.h"
#include "CEF3Utils.h"
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
#include "Async/Async.h"
#if PLATFORM_MAC
// Needed for character code definitions
#include <Carbon/Carbon.h>
#include <AppKit/NSEvent.h>
#endif
#if PLATFORM_WINDOWS
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3847469) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3805828 by Gil.Gribb UE4 - Fixed a bug in the lock free stalling task queue and adjusted a comment. The code is not current used, so this is not actually change the way the code works. Change 3806784 by Ben.Marsh UAT: Remove code to compile UBT when using UE4Build. It should already be compiled as a dependency of UAT. Change 3807549 by Graeme.Thornton Add a cook timer around VerifyCanCookPackage. A licensee reports this taking a lot of time so it'll be good to account for it. Change 3807727 by Graeme.Thornton Unhide the text asset format experimental editor option Change 3807746 by Josh.Engebretson Remove WER from iOS platform Change 3807928 by Robert.Manuszewski When async loading, GC Clusters will be created after packages have been processed to avoid situations where some of the objects that are being added to a cluster haven't been fully loaded yet Change 3808221 by Steve.Robb GitHub #4307 - Made GetModulePtr() thread safe by not using GetModule() ^ I'm not convinced by how much thread-safer this is really, but it's tidier anyway. Change 3809233 by Graeme.Thornton TBA: Misc changes to text asset commandlet - Rename mode to "loadsave" - Add -outputFormat option which can be assigned "text" or "binary" - When saving binary, use a differentiated filename so that source assets aren't overwritten Change 3809518 by Ben.Marsh Remove the outdated UnrealSync automation script. Change 3809643 by Steve.Robb GitHub #4277 : fix bug; FMath::FormatIntToHumanReadable 3rd comma and negative value #jira UE-53037 Change 3809862 by Steve.Robb GitHub #3342 : [FRotator.h] Fix to DecompressAxisFromByte to be more efficient and reflect its intent accurately #jira UE-42593 Change 3811190 by Graeme.Thornton Add support for writing specific log channels to their own files Change 3811197 by Graeme.Thornton Minor updates to output formatting and timing for the text asset commandlet Change 3811257 by Robert.Manuszewski Cluster creation will now be time-sliced Change 3811565 by Steve.Robb Define out non-monolithic module functions. Change 3812561 by Steve.Robb GitHub #3886 : Enable Brace-Initialization for Declaring Variables Incorrect semi-colon search removed after discussion with author. Test added. #jira UE-48242 Change 3812864 by Steve.Robb Removal of some unproven code which was supposed to fix hot reloading BP class functions in plugins. See: https://udn.unrealengine.com/questions/376978/aitask-blueprint-nodes-disappear-when-their-module.html #jira UE-53089 Change 3820358 by Ben.Marsh PR #4358: Incredibuild use ShowAgent by default (Contributed by projectgheist) Change 3822594 by Ben.Marsh UAT: Improvements to log file handling. - Always create log files in the final location, rather than writing to a temp directory and copying in later. - Now supports -Verbose and -VeryVerbose for increasing log verbosity, rather than -Verbose=XXX. - Keep a backlog of log output before the log system is initialized, and flush it to the log file once it is. - Allow buildmachines to specify the uebp_FinalLogFolder environment variable, which is used to form paths for display. When build machines copy log files elsewhere after UAT finishes (eg. a network share), this allows error messages to display the right location. Change 3823695 by Ben.Marsh UGS: Fix issue where precompiled binaries would not be shown as available for a change until scrolling the last submitted code change into the buffer (other symptoms, like de-focussing the main window would cause it to go back to an unavailable state, since the changes buffer was shrunk). Now always queries changes up to the last change for which zipped binaries are available. Change 3823845 by Ben.Marsh UBT: Exclude C# projects for unsupported platforms when generating project files. Change 3824180 by Ben.Marsh UGS: Add an option to show changes by build machines, and move the "only show reviewed" option in there too (Options > Show Changes). #jira Change 3825777 by Steve.Robb Fix to return value of StringToBytes. Change 3825810 by Ben.Marsh UBT: Reduce length of include paths for MSVC toolchain. Change 3825822 by Robert.Manuszewski Optimized PIE lazy pointer fixup. Should be up to 8x faster now. Change 3826734 by Ben.Marsh Remove code to disable TextureFormatAndroid on Linux. It seems to be an editor dependency. Change 3827730 by Steve.Robb Try to avoid decltype(auto) if it's not supported. See: https://udn.unrealengine.com/questions/395644/build-417-with-c11-on-linux-ttuple-errors.html Change 3827745 by Steve.Robb Initializer list support for TMap. Change 3827770 by Steve.Robb GitHub #4399 : Added a CONSTEXPR qualifiers to FVariant::GetType() #jira UE-53813 Change 3829189 by Ben.Marsh UBT: Now always writes a minimal log file. By default, just contains the regular console output and any reasons why actions are outdated and needed to be executed. UAT directs child UBT instances to output logs into its own log folder, so that build machines can save them off. Change 3830444 by Steve.Robb BuildVersion and ModuleManifest moved to Core, and parsing of these files reimplemented to avoid a JSON library. This should be revisited when Core has its own JSON library. Change 3830718 by Ben.Marsh Fix incorrect group name being returned by FStatNameAndInfo::GetGroupName() for stat groups. The editor populates the viewport stats list by calling this for every registered stat and stat group (via FLevelViewportCommands::HandleNewStatGroup). The menu entry attempts to show the stat name with STAT_XXX stripped from the start as the menu item label, with the free-form text description as a tooltip. For stat groups, the it would previously just return the stat group name as "Groups" (due to the raw naming convention of "//Groups//STATGROUP_Foo//..."). Since this didn't match the expected naming convention in FLevelViewportCommands::HandleNewStat (ie. STAT_XXX or STATGROUP_XXX), it would fail to add it. When the first actual stat belonging to that group is added, it would add a menu entry for the group based on that, but the stat description no longer makes sense as a tooltip for the group. As a result, all the editor tooltips were junk. #jira UE-53845 Change 3831064 by Ben.Marsh Fix log file contention when spawning UBT recursively. Change 3832654 by Ben.Marsh UGS: Fix error panel not being selected when opened, and weird alignment/color issues on it. Change 3832680 by Ben.Marsh UGS: Fix failing to detect workspace if synced to a different stream. Seems to be a regression caused by recent P4D upgrade. Change 3832695 by Ben.Marsh UGS: Invert the options in the 'Show Changes' submenu for simplicity. Change 3833528 by Ben.Marsh UAT: Script to rewrite source files with public include paths relative to the 'Public' folder. Usage is: RebasePublicIncludePaths -UpdateDir=<Dir> [-Project=<Dir>] [-Write]. Change 3833543 by Ben.Marsh UBT: Allow targets to opt-out of having public include paths added for every dependent module. This reduces the command line length when building a target, which has recently become a problem with larger games (due to Microsoft's compiler embedding the command line into each object file, with a maximum length of 64kb). All engine modules are compiled with this enabled; games may opt into it by setting bLegacyPublicIncludePaths = false; from their .target.cs, as may individual modules. Change 3834354 by Robert.Manuszewski Archetype pointer will now be cached to avoid locking the object tables when acquiring its info. It should also be faster this way regardless of any locks. #jira UE-52035 Change 3834400 by Robert.Manuszewski Fixing crash on exit caused by cached archetypes not being cleaned up before static exit cleanup. #jira UE-52035 Change 3834947 by Steve.Robb USE_FORMAT_STRING_TYPE_CHECKING removed from FMsg::Logf and FMsg::Logf_Internal. Change 3835004 by Ben.Marsh Fix code that relies on dubious behavior of requiring referenced "include path only" modules having their _API macros set to be empty, even if the module is actually implemented in a separate DLL. Change 3835340 by Ben.Marsh Fix errors making installed build from directories with spaces in the name. Change 3835972 by Ben.Marsh UBT: Improved diagnostic message for targets which don't need a version file. Change 3836019 by Ben.Marsh UBT: Fix warnings caused by defining linkage macros for third party libraries. Change 3836269 by Ben.Marsh Fix message box larger than the screen height being created when a large number of modules are incompatible on startup. Change 3836543 by Ben.Marsh Enable SoundMod plugin on Linux, since it's already supported through the editor. Change 3836546 by Ben.Marsh PR #4412: fix type mismatch (Contributed by nakapon) Change 3836805 by Ben.Marsh Fix commandlet to compile marketplace plugins. Change 3836829 by Ben.Marsh UBT: Fix ability to precompile plugins from installed engine builds. Change 3837036 by Ben.Marsh UBT: Write the previous and new contents of intermediate files to the log if they change. Makes it easier to debug unexpected rebuilds. Change 3837037 by Ben.Marsh UBT: Fix engine modules having inconsistent definitions depending on whether modules are only referenced for their include paths vs being linked into a binary (due to different _API macro). Change 3837040 by Ben.Marsh UBT: Remove code that initializes members in ModuleRules and TargetRules objects before the constructor is run. This is no longer necessary, now that the backwards-compatible default constructors have been removed. Change 3837247 by Ben.Marsh UBT: Remove UELinkerFixups module, now that plugins and precompiled modules do not require hacks to force initialization (since they're linked in as object files). Encryption and signing keys are now set via macros expanded from the IMPLEMENT_PRIMARY_GAME_MODULE macro, via project-specific macros added in the TargetRules constructor. Change 3837262 by Ben.Marsh UBT: Set whether a module is an engine module or not via a default value for the rules assembly. All non-program engine and enterprise modules are created with this flag set to true; program targets and modules are now created from a different assembly that sets it to false. This removes hacks from UEBuildModule needed to adjust behavior for different module types based on the directory containing the module. Also add a bUseBackwardsCompatibleDefaults flag to the TargetRules class, also initialized to a default value from a setting passed to the RulesAssembly constructor. This controls whether modules created for the target should be configured to allow breaking changes to default settings, and is set to false for all engine targets, and true for all project targets. Change 3837343 by Ben.Marsh UBT: Remove the OverrideExecutableFileExtension target property. Change the only current use for this (the MayaLiveLinkPlugin target) to use a post build step to copy the file instead. Change 3837356 by Ben.Marsh Fix invalid character encodings. Change 3837727 by Graeme.Thornton UnrealPak: KeyGenerator: Only generate prime table when required, not all the time Change 3837823 by Ben.Marsh UBT: Output warnings and errors when compiling module rules assembly in a way that allows them to be double-clicked in the Visual Studio output window. Change 3837831 by Graeme.Thornton UBT: When parsing crypto settings, always load legacy data first, then allow the new system to override it. Provides the same key backwards compatibility that the editor settings class gives Change 3837857 by Robert.Manuszewski PR #4404: Make FGCArrayPool singleton global instead of per-CU (Contributed by mhutch) Change 3837943 by Robert.Manuszewski PR #4405: Fix FGarbageCollectionTracer (Contributed by mhutch) Change 3838451 by Ben.Marsh UBT: Fix exceptions thrown on a background thread while caching C++ includes not being caught and logged correctly. Now captures exceptions and re-throws on the main thread. #jira UE-53996 Change 3839519 by Ben.Marsh UBT: Simplify configuring bPrecompile and bUsePrecompile settings for modules. Each rules assembly can now be configured as installed, which defaults the module rules it creates to use precompiled data. Change 3843790 by Graeme.Thornton UnrealPak: Log the size of all encrypted data Change 3844258 by Ben.Marsh Fix plugin compile failure when created via new plugin wizard. Passing -plugin on the command line is unnecessary, and is now reserved for packaging external plugins for the marketplace. Also extend the length of time that the error toast stays visible, and don't delete the plugin on failure. #jira UE-54157 Change 3845796 by Ben.Marsh Workaround for slow performance of String.EndsWith() on Mono. Change 3845823 by Ben.Marsh Fix case sensitive matching of platform names in -TargetPlatform=X argument to BuildCookRun. #jira UE-54123 Change 3845901 by Arciel.Rekman Linux: fix crash due to lambda lifetime issues (UE-54040). - The lambda goes out of scope in FBufferVisualizationMenuCommands::CreateVisualizationCommands, crashing the editor if compiled with a recent clang (5.0+). (Edigrating 3819174 to Dev-Core) Change 3846439 by Ben.Marsh Revert CL 3822742 to always call Process.WaitForExit(). The Android target platform module in the editor spawns ADB.EXE, which inherits the editor's stdout/stderr handles and forks itself. Process.WaitForExit() waits for EOF on those pipes, which never occurs because the forked process never terminates. Proper fix is probably to have the engine explicitly duplicate stdout/stderr handles for new pipes to output process, but too risky before copying up to Main. Change 3816608 by Ben.Marsh UBT: Use DirectoryReference objects for all include paths. Change 3816954 by Ben.Marsh UBT: Remove bIncludeDependentLibrariesInLibrary option. This is not widely supported by platform toolchains, and is not used anywhere. Change 3816986 by Ben.Marsh UBT: Remove UEBuildBinaryConfig; UEBuildBinary objects are now just created directly. Change 3816991 by Ben.Marsh UBT: Deprecate PlatformSpecificDynamicallyLoadedModules. We no longer have any special behavior for these modules. Change 3823090 by Ben.Marsh UAT: Improve logging for child UAT instances. - Calling RunUAT now requires an identifier for prefixing into the parent log, which is also used to determine the name of the log folder. - Stdout is no longer written to its own output file, since it's written to the parent stdout, the parent log file, and the child log file anyway. - Log folders for child UAT instances are left intact, rather than being copied to the parent folder. The derived names for the copied names were confusing and hard to read. - Output from UAT is no longer returned as a string. It should not be parsed anyway (but may be huge!). ProcessResult now supports running without capturing output. Change 3826082 by Ben.Marsh UBT: Add a check to make sure that all modules that are precompiled are correctly marked to enable it, even if they are part of the build target. Change 3827025 by Ben.Marsh UBT: Move the compile output directory into a property on the module, and explicitly pass it to the toolchain when compiling. Change 3829927 by James.Hopkin Made HTTP interface const correct Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3835826 by Ben.Marsh UBT: Precompiled targets now generate a separate manifest for each precompiled module, rather than adding object files to a library. This fixes issues where object files from static libraries would not be linked into a target if a symbol in them was not referenced. Change 3835969 by Ben.Marsh UBT: Fix cases where text is being written directly to the console rather than via logging functions. Change 3837777 by Steve.Robb Format string type checking added to FOutputDevice::Logf. Fixes for those. Change 3838569 by Steve.Robb Algo moved up a folder. [CL 3847482 by Ben Marsh in Main branch]
2018-01-20 11:19:29 -05:00
#include "Windows/WindowsCursor.h"
typedef FWindowsCursor FPlatformCursor;
#elif PLATFORM_MAC
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3847469) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3805828 by Gil.Gribb UE4 - Fixed a bug in the lock free stalling task queue and adjusted a comment. The code is not current used, so this is not actually change the way the code works. Change 3806784 by Ben.Marsh UAT: Remove code to compile UBT when using UE4Build. It should already be compiled as a dependency of UAT. Change 3807549 by Graeme.Thornton Add a cook timer around VerifyCanCookPackage. A licensee reports this taking a lot of time so it'll be good to account for it. Change 3807727 by Graeme.Thornton Unhide the text asset format experimental editor option Change 3807746 by Josh.Engebretson Remove WER from iOS platform Change 3807928 by Robert.Manuszewski When async loading, GC Clusters will be created after packages have been processed to avoid situations where some of the objects that are being added to a cluster haven't been fully loaded yet Change 3808221 by Steve.Robb GitHub #4307 - Made GetModulePtr() thread safe by not using GetModule() ^ I'm not convinced by how much thread-safer this is really, but it's tidier anyway. Change 3809233 by Graeme.Thornton TBA: Misc changes to text asset commandlet - Rename mode to "loadsave" - Add -outputFormat option which can be assigned "text" or "binary" - When saving binary, use a differentiated filename so that source assets aren't overwritten Change 3809518 by Ben.Marsh Remove the outdated UnrealSync automation script. Change 3809643 by Steve.Robb GitHub #4277 : fix bug; FMath::FormatIntToHumanReadable 3rd comma and negative value #jira UE-53037 Change 3809862 by Steve.Robb GitHub #3342 : [FRotator.h] Fix to DecompressAxisFromByte to be more efficient and reflect its intent accurately #jira UE-42593 Change 3811190 by Graeme.Thornton Add support for writing specific log channels to their own files Change 3811197 by Graeme.Thornton Minor updates to output formatting and timing for the text asset commandlet Change 3811257 by Robert.Manuszewski Cluster creation will now be time-sliced Change 3811565 by Steve.Robb Define out non-monolithic module functions. Change 3812561 by Steve.Robb GitHub #3886 : Enable Brace-Initialization for Declaring Variables Incorrect semi-colon search removed after discussion with author. Test added. #jira UE-48242 Change 3812864 by Steve.Robb Removal of some unproven code which was supposed to fix hot reloading BP class functions in plugins. See: https://udn.unrealengine.com/questions/376978/aitask-blueprint-nodes-disappear-when-their-module.html #jira UE-53089 Change 3820358 by Ben.Marsh PR #4358: Incredibuild use ShowAgent by default (Contributed by projectgheist) Change 3822594 by Ben.Marsh UAT: Improvements to log file handling. - Always create log files in the final location, rather than writing to a temp directory and copying in later. - Now supports -Verbose and -VeryVerbose for increasing log verbosity, rather than -Verbose=XXX. - Keep a backlog of log output before the log system is initialized, and flush it to the log file once it is. - Allow buildmachines to specify the uebp_FinalLogFolder environment variable, which is used to form paths for display. When build machines copy log files elsewhere after UAT finishes (eg. a network share), this allows error messages to display the right location. Change 3823695 by Ben.Marsh UGS: Fix issue where precompiled binaries would not be shown as available for a change until scrolling the last submitted code change into the buffer (other symptoms, like de-focussing the main window would cause it to go back to an unavailable state, since the changes buffer was shrunk). Now always queries changes up to the last change for which zipped binaries are available. Change 3823845 by Ben.Marsh UBT: Exclude C# projects for unsupported platforms when generating project files. Change 3824180 by Ben.Marsh UGS: Add an option to show changes by build machines, and move the "only show reviewed" option in there too (Options > Show Changes). #jira Change 3825777 by Steve.Robb Fix to return value of StringToBytes. Change 3825810 by Ben.Marsh UBT: Reduce length of include paths for MSVC toolchain. Change 3825822 by Robert.Manuszewski Optimized PIE lazy pointer fixup. Should be up to 8x faster now. Change 3826734 by Ben.Marsh Remove code to disable TextureFormatAndroid on Linux. It seems to be an editor dependency. Change 3827730 by Steve.Robb Try to avoid decltype(auto) if it's not supported. See: https://udn.unrealengine.com/questions/395644/build-417-with-c11-on-linux-ttuple-errors.html Change 3827745 by Steve.Robb Initializer list support for TMap. Change 3827770 by Steve.Robb GitHub #4399 : Added a CONSTEXPR qualifiers to FVariant::GetType() #jira UE-53813 Change 3829189 by Ben.Marsh UBT: Now always writes a minimal log file. By default, just contains the regular console output and any reasons why actions are outdated and needed to be executed. UAT directs child UBT instances to output logs into its own log folder, so that build machines can save them off. Change 3830444 by Steve.Robb BuildVersion and ModuleManifest moved to Core, and parsing of these files reimplemented to avoid a JSON library. This should be revisited when Core has its own JSON library. Change 3830718 by Ben.Marsh Fix incorrect group name being returned by FStatNameAndInfo::GetGroupName() for stat groups. The editor populates the viewport stats list by calling this for every registered stat and stat group (via FLevelViewportCommands::HandleNewStatGroup). The menu entry attempts to show the stat name with STAT_XXX stripped from the start as the menu item label, with the free-form text description as a tooltip. For stat groups, the it would previously just return the stat group name as "Groups" (due to the raw naming convention of "//Groups//STATGROUP_Foo//..."). Since this didn't match the expected naming convention in FLevelViewportCommands::HandleNewStat (ie. STAT_XXX or STATGROUP_XXX), it would fail to add it. When the first actual stat belonging to that group is added, it would add a menu entry for the group based on that, but the stat description no longer makes sense as a tooltip for the group. As a result, all the editor tooltips were junk. #jira UE-53845 Change 3831064 by Ben.Marsh Fix log file contention when spawning UBT recursively. Change 3832654 by Ben.Marsh UGS: Fix error panel not being selected when opened, and weird alignment/color issues on it. Change 3832680 by Ben.Marsh UGS: Fix failing to detect workspace if synced to a different stream. Seems to be a regression caused by recent P4D upgrade. Change 3832695 by Ben.Marsh UGS: Invert the options in the 'Show Changes' submenu for simplicity. Change 3833528 by Ben.Marsh UAT: Script to rewrite source files with public include paths relative to the 'Public' folder. Usage is: RebasePublicIncludePaths -UpdateDir=<Dir> [-Project=<Dir>] [-Write]. Change 3833543 by Ben.Marsh UBT: Allow targets to opt-out of having public include paths added for every dependent module. This reduces the command line length when building a target, which has recently become a problem with larger games (due to Microsoft's compiler embedding the command line into each object file, with a maximum length of 64kb). All engine modules are compiled with this enabled; games may opt into it by setting bLegacyPublicIncludePaths = false; from their .target.cs, as may individual modules. Change 3834354 by Robert.Manuszewski Archetype pointer will now be cached to avoid locking the object tables when acquiring its info. It should also be faster this way regardless of any locks. #jira UE-52035 Change 3834400 by Robert.Manuszewski Fixing crash on exit caused by cached archetypes not being cleaned up before static exit cleanup. #jira UE-52035 Change 3834947 by Steve.Robb USE_FORMAT_STRING_TYPE_CHECKING removed from FMsg::Logf and FMsg::Logf_Internal. Change 3835004 by Ben.Marsh Fix code that relies on dubious behavior of requiring referenced "include path only" modules having their _API macros set to be empty, even if the module is actually implemented in a separate DLL. Change 3835340 by Ben.Marsh Fix errors making installed build from directories with spaces in the name. Change 3835972 by Ben.Marsh UBT: Improved diagnostic message for targets which don't need a version file. Change 3836019 by Ben.Marsh UBT: Fix warnings caused by defining linkage macros for third party libraries. Change 3836269 by Ben.Marsh Fix message box larger than the screen height being created when a large number of modules are incompatible on startup. Change 3836543 by Ben.Marsh Enable SoundMod plugin on Linux, since it's already supported through the editor. Change 3836546 by Ben.Marsh PR #4412: fix type mismatch (Contributed by nakapon) Change 3836805 by Ben.Marsh Fix commandlet to compile marketplace plugins. Change 3836829 by Ben.Marsh UBT: Fix ability to precompile plugins from installed engine builds. Change 3837036 by Ben.Marsh UBT: Write the previous and new contents of intermediate files to the log if they change. Makes it easier to debug unexpected rebuilds. Change 3837037 by Ben.Marsh UBT: Fix engine modules having inconsistent definitions depending on whether modules are only referenced for their include paths vs being linked into a binary (due to different _API macro). Change 3837040 by Ben.Marsh UBT: Remove code that initializes members in ModuleRules and TargetRules objects before the constructor is run. This is no longer necessary, now that the backwards-compatible default constructors have been removed. Change 3837247 by Ben.Marsh UBT: Remove UELinkerFixups module, now that plugins and precompiled modules do not require hacks to force initialization (since they're linked in as object files). Encryption and signing keys are now set via macros expanded from the IMPLEMENT_PRIMARY_GAME_MODULE macro, via project-specific macros added in the TargetRules constructor. Change 3837262 by Ben.Marsh UBT: Set whether a module is an engine module or not via a default value for the rules assembly. All non-program engine and enterprise modules are created with this flag set to true; program targets and modules are now created from a different assembly that sets it to false. This removes hacks from UEBuildModule needed to adjust behavior for different module types based on the directory containing the module. Also add a bUseBackwardsCompatibleDefaults flag to the TargetRules class, also initialized to a default value from a setting passed to the RulesAssembly constructor. This controls whether modules created for the target should be configured to allow breaking changes to default settings, and is set to false for all engine targets, and true for all project targets. Change 3837343 by Ben.Marsh UBT: Remove the OverrideExecutableFileExtension target property. Change the only current use for this (the MayaLiveLinkPlugin target) to use a post build step to copy the file instead. Change 3837356 by Ben.Marsh Fix invalid character encodings. Change 3837727 by Graeme.Thornton UnrealPak: KeyGenerator: Only generate prime table when required, not all the time Change 3837823 by Ben.Marsh UBT: Output warnings and errors when compiling module rules assembly in a way that allows them to be double-clicked in the Visual Studio output window. Change 3837831 by Graeme.Thornton UBT: When parsing crypto settings, always load legacy data first, then allow the new system to override it. Provides the same key backwards compatibility that the editor settings class gives Change 3837857 by Robert.Manuszewski PR #4404: Make FGCArrayPool singleton global instead of per-CU (Contributed by mhutch) Change 3837943 by Robert.Manuszewski PR #4405: Fix FGarbageCollectionTracer (Contributed by mhutch) Change 3838451 by Ben.Marsh UBT: Fix exceptions thrown on a background thread while caching C++ includes not being caught and logged correctly. Now captures exceptions and re-throws on the main thread. #jira UE-53996 Change 3839519 by Ben.Marsh UBT: Simplify configuring bPrecompile and bUsePrecompile settings for modules. Each rules assembly can now be configured as installed, which defaults the module rules it creates to use precompiled data. Change 3843790 by Graeme.Thornton UnrealPak: Log the size of all encrypted data Change 3844258 by Ben.Marsh Fix plugin compile failure when created via new plugin wizard. Passing -plugin on the command line is unnecessary, and is now reserved for packaging external plugins for the marketplace. Also extend the length of time that the error toast stays visible, and don't delete the plugin on failure. #jira UE-54157 Change 3845796 by Ben.Marsh Workaround for slow performance of String.EndsWith() on Mono. Change 3845823 by Ben.Marsh Fix case sensitive matching of platform names in -TargetPlatform=X argument to BuildCookRun. #jira UE-54123 Change 3845901 by Arciel.Rekman Linux: fix crash due to lambda lifetime issues (UE-54040). - The lambda goes out of scope in FBufferVisualizationMenuCommands::CreateVisualizationCommands, crashing the editor if compiled with a recent clang (5.0+). (Edigrating 3819174 to Dev-Core) Change 3846439 by Ben.Marsh Revert CL 3822742 to always call Process.WaitForExit(). The Android target platform module in the editor spawns ADB.EXE, which inherits the editor's stdout/stderr handles and forks itself. Process.WaitForExit() waits for EOF on those pipes, which never occurs because the forked process never terminates. Proper fix is probably to have the engine explicitly duplicate stdout/stderr handles for new pipes to output process, but too risky before copying up to Main. Change 3816608 by Ben.Marsh UBT: Use DirectoryReference objects for all include paths. Change 3816954 by Ben.Marsh UBT: Remove bIncludeDependentLibrariesInLibrary option. This is not widely supported by platform toolchains, and is not used anywhere. Change 3816986 by Ben.Marsh UBT: Remove UEBuildBinaryConfig; UEBuildBinary objects are now just created directly. Change 3816991 by Ben.Marsh UBT: Deprecate PlatformSpecificDynamicallyLoadedModules. We no longer have any special behavior for these modules. Change 3823090 by Ben.Marsh UAT: Improve logging for child UAT instances. - Calling RunUAT now requires an identifier for prefixing into the parent log, which is also used to determine the name of the log folder. - Stdout is no longer written to its own output file, since it's written to the parent stdout, the parent log file, and the child log file anyway. - Log folders for child UAT instances are left intact, rather than being copied to the parent folder. The derived names for the copied names were confusing and hard to read. - Output from UAT is no longer returned as a string. It should not be parsed anyway (but may be huge!). ProcessResult now supports running without capturing output. Change 3826082 by Ben.Marsh UBT: Add a check to make sure that all modules that are precompiled are correctly marked to enable it, even if they are part of the build target. Change 3827025 by Ben.Marsh UBT: Move the compile output directory into a property on the module, and explicitly pass it to the toolchain when compiling. Change 3829927 by James.Hopkin Made HTTP interface const correct Change 3833533 by Ben.Marsh Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules. Change 3835826 by Ben.Marsh UBT: Precompiled targets now generate a separate manifest for each precompiled module, rather than adding object files to a library. This fixes issues where object files from static libraries would not be linked into a target if a symbol in them was not referenced. Change 3835969 by Ben.Marsh UBT: Fix cases where text is being written directly to the console rather than via logging functions. Change 3837777 by Steve.Robb Format string type checking added to FOutputDevice::Logf. Fixes for those. Change 3838569 by Steve.Robb Algo moved up a folder. [CL 3847482 by Ben Marsh in Main branch]
2018-01-20 11:19:29 -05:00
#include "Mac/MacCursor.h"
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
#include "Mac/CocoaThread.h"
typedef FMacCursor FPlatformCursor;
#else
#endif
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
#if PLATFORM_LINUX
// From ui/events/keycodes/keyboard_codes_posix.h.
enum KeyboardCode {
VKEY_BACK = 0x08,
VKEY_TAB = 0x09,
VKEY_BACKTAB = 0x0A,
VKEY_CLEAR = 0x0C,
VKEY_RETURN = 0x0D,
VKEY_SHIFT = 0x10,
VKEY_CONTROL = 0x11,
VKEY_MENU = 0x12,
VKEY_PAUSE = 0x13,
VKEY_CAPITAL = 0x14,
VKEY_KANA = 0x15,
VKEY_HANGUL = 0x15,
VKEY_JUNJA = 0x17,
VKEY_FINAL = 0x18,
VKEY_HANJA = 0x19,
VKEY_KANJI = 0x19,
VKEY_ESCAPE = 0x1B,
VKEY_CONVERT = 0x1C,
VKEY_NONCONVERT = 0x1D,
VKEY_ACCEPT = 0x1E,
VKEY_MODECHANGE = 0x1F,
VKEY_SPACE = 0x20,
VKEY_PRIOR = 0x21,
VKEY_NEXT = 0x22,
VKEY_END = 0x23,
VKEY_HOME = 0x24,
VKEY_LEFT = 0x25,
VKEY_UP = 0x26,
VKEY_RIGHT = 0x27,
VKEY_DOWN = 0x28,
VKEY_SELECT = 0x29,
VKEY_PRINT = 0x2A,
VKEY_EXECUTE = 0x2B,
VKEY_SNAPSHOT = 0x2C,
VKEY_INSERT = 0x2D,
VKEY_DELETE = 0x2E,
VKEY_HELP = 0x2F,
VKEY_0 = 0x30,
VKEY_1 = 0x31,
VKEY_2 = 0x32,
VKEY_3 = 0x33,
VKEY_4 = 0x34,
VKEY_5 = 0x35,
VKEY_6 = 0x36,
VKEY_7 = 0x37,
VKEY_8 = 0x38,
VKEY_9 = 0x39,
VKEY_A = 0x41,
VKEY_B = 0x42,
VKEY_C = 0x43,
VKEY_D = 0x44,
VKEY_E = 0x45,
VKEY_F = 0x46,
VKEY_G = 0x47,
VKEY_H = 0x48,
VKEY_I = 0x49,
VKEY_J = 0x4A,
VKEY_K = 0x4B,
VKEY_L = 0x4C,
VKEY_M = 0x4D,
VKEY_N = 0x4E,
VKEY_O = 0x4F,
VKEY_P = 0x50,
VKEY_Q = 0x51,
VKEY_R = 0x52,
VKEY_S = 0x53,
VKEY_T = 0x54,
VKEY_U = 0x55,
VKEY_V = 0x56,
VKEY_W = 0x57,
VKEY_X = 0x58,
VKEY_Y = 0x59,
VKEY_Z = 0x5A,
VKEY_LWIN = 0x5B,
VKEY_COMMAND = VKEY_LWIN, // Provide the Mac name for convenience.
VKEY_RWIN = 0x5C,
VKEY_APPS = 0x5D,
VKEY_SLEEP = 0x5F,
VKEY_NUMPAD0 = 0x60,
VKEY_NUMPAD1 = 0x61,
VKEY_NUMPAD2 = 0x62,
VKEY_NUMPAD3 = 0x63,
VKEY_NUMPAD4 = 0x64,
VKEY_NUMPAD5 = 0x65,
VKEY_NUMPAD6 = 0x66,
VKEY_NUMPAD7 = 0x67,
VKEY_NUMPAD8 = 0x68,
VKEY_NUMPAD9 = 0x69,
VKEY_MULTIPLY = 0x6A,
VKEY_ADD = 0x6B,
VKEY_SEPARATOR = 0x6C,
VKEY_SUBTRACT = 0x6D,
VKEY_DECIMAL = 0x6E,
VKEY_DIVIDE = 0x6F,
VKEY_F1 = 0x70,
VKEY_F2 = 0x71,
VKEY_F3 = 0x72,
VKEY_F4 = 0x73,
VKEY_F5 = 0x74,
VKEY_F6 = 0x75,
VKEY_F7 = 0x76,
VKEY_F8 = 0x77,
VKEY_F9 = 0x78,
VKEY_F10 = 0x79,
VKEY_F11 = 0x7A,
VKEY_F12 = 0x7B,
VKEY_F13 = 0x7C,
VKEY_F14 = 0x7D,
VKEY_F15 = 0x7E,
VKEY_F16 = 0x7F,
VKEY_F17 = 0x80,
VKEY_F18 = 0x81,
VKEY_F19 = 0x82,
VKEY_F20 = 0x83,
VKEY_F21 = 0x84,
VKEY_F22 = 0x85,
VKEY_F23 = 0x86,
VKEY_F24 = 0x87,
VKEY_NUMLOCK = 0x90,
VKEY_SCROLL = 0x91,
VKEY_LSHIFT = 0xA0,
VKEY_RSHIFT = 0xA1,
VKEY_LCONTROL = 0xA2,
VKEY_RCONTROL = 0xA3,
VKEY_LMENU = 0xA4,
VKEY_RMENU = 0xA5,
VKEY_BROWSER_BACK = 0xA6,
VKEY_BROWSER_FORWARD = 0xA7,
VKEY_BROWSER_REFRESH = 0xA8,
VKEY_BROWSER_STOP = 0xA9,
VKEY_BROWSER_SEARCH = 0xAA,
VKEY_BROWSER_FAVORITES = 0xAB,
VKEY_BROWSER_HOME = 0xAC,
VKEY_VOLUME_MUTE = 0xAD,
VKEY_VOLUME_DOWN = 0xAE,
VKEY_VOLUME_UP = 0xAF,
VKEY_MEDIA_NEXT_TRACK = 0xB0,
VKEY_MEDIA_PREV_TRACK = 0xB1,
VKEY_MEDIA_STOP = 0xB2,
VKEY_MEDIA_PLAY_PAUSE = 0xB3,
VKEY_MEDIA_LAUNCH_MAIL = 0xB4,
VKEY_MEDIA_LAUNCH_MEDIA_SELECT = 0xB5,
VKEY_MEDIA_LAUNCH_APP1 = 0xB6,
VKEY_MEDIA_LAUNCH_APP2 = 0xB7,
VKEY_OEM_1 = 0xBA,
VKEY_OEM_PLUS = 0xBB,
VKEY_OEM_COMMA = 0xBC,
VKEY_OEM_MINUS = 0xBD,
VKEY_OEM_PERIOD = 0xBE,
VKEY_OEM_2 = 0xBF,
VKEY_OEM_3 = 0xC0,
VKEY_OEM_4 = 0xDB,
VKEY_OEM_5 = 0xDC,
VKEY_OEM_6 = 0xDD,
VKEY_OEM_7 = 0xDE,
VKEY_OEM_8 = 0xDF,
VKEY_OEM_102 = 0xE2,
VKEY_OEM_103 = 0xE3, // GTV KEYCODE_MEDIA_REWIND
VKEY_OEM_104 = 0xE4, // GTV KEYCODE_MEDIA_FAST_FORWARD
VKEY_PROCESSKEY = 0xE5,
VKEY_PACKET = 0xE7,
VKEY_DBE_SBCSCHAR = 0xF3,
VKEY_DBE_DBCSCHAR = 0xF4,
VKEY_ATTN = 0xF6,
VKEY_CRSEL = 0xF7,
VKEY_EXSEL = 0xF8,
VKEY_EREOF = 0xF9,
VKEY_PLAY = 0xFA,
VKEY_ZOOM = 0xFB,
VKEY_NONAME = 0xFC,
VKEY_PA1 = 0xFD,
VKEY_OEM_CLEAR = 0xFE,
VKEY_UNKNOWN = 0,
// POSIX specific VKEYs. Note that as of Windows SDK 7.1, 0x97-9F, 0xD8-DA,
// and 0xE8 are unassigned.
VKEY_WLAN = 0x97,
VKEY_POWER = 0x98,
VKEY_BRIGHTNESS_DOWN = 0xD8,
VKEY_BRIGHTNESS_UP = 0xD9,
VKEY_KBD_BRIGHTNESS_DOWN = 0xDA,
VKEY_KBD_BRIGHTNESS_UP = 0xE8,
// Windows does not have a specific key code for AltGr. We use the unused 0xE1
// (VK_OEM_AX) code to represent AltGr, matching the behaviour of Firefox on
// Linux.
VKEY_ALTGR = 0xE1,
// Windows does not have a specific key code for Compose. We use the unused
// 0xE6 (VK_ICO_CLEAR) code to represent Compose.
VKEY_COMPOSE = 0xE6,
};
#endif
#if PLATFORM_MAC
// enable buffered video so we don't DoS the OpenGL API with texture uploads causing a downstream crash on macOS
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
#define USE_BUFFERED_VIDEO 1
#else
#define USE_BUFFERED_VIDEO 0
#endif
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
namespace {
// Private helper class to post a callback to GetSource.
class FWebBrowserClosureVisitor
: public CefStringVisitor
{
public:
FWebBrowserClosureVisitor(TFunction<void (const FString&)> InClosure)
: Closure(InClosure)
{ }
virtual void Visit(const CefString& String) override
{
Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4362408) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 4125165 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4124306 to //UE4/Dev-Console/... Change 4136060 by Marcin.Undak Editor: fixed device unclaiming #jira UE-58464 Change 4190321 by Marcin.Undak Linux: fixes for automation and RecordPerformance #jira UE-61053 Change 4199010 by Marcin.Undak Linux: remove unnecessary -g option Change 4201876 by Marcin.Undak First implementation of WebM media player for Windows and Linux Change 4201922 by Marcin.Undak Whitelisted WebMem plugin only for Windows and Linux Change 4202203 by Marcin.Undak WebM build fixes Change 4223102 by Marcin.Undak Vulkan: console commands for testing device lost #jira UE-61789 Change 4225028 by Marcin.Undak WebMMedia: disabled on Linux until fixed compilation issues Change 4231444 by David.Harvey UI - Fixing where the virtual cursor renders. It doesn't correctly take into account DPI scale, which isn't apparent except on the Xbox One. Integrate as edit from CL 4166648. #jira UE-62115 Change 4233057 by Marcin.Undak TestPAL: added new test for string allocation size Change 4234649 by Marcin.Undak Linux: switched linux plaform to 16bit wide strings Change 4235253 by Marcin.Undak TestPAL: compilation fix for platforms that don't use DirectoryWatcher Change 4235477 by Marcin.Undak Linux: re-enabled WebMMedia plugin Change 4242242 by Marcin.Undak WebMMediaPlayer: implemented proper format retrieving. MediaFrameworkTest now works. Change 4243321 by Marcin.Undak WebMPlayer: static code analisys fix Change 4243505 by Marcin.Undak MediaFrameworkTest: added WebM video for testing Change 4244646 by Marcin.Undak WebMMedia: improved concurrency Change 4244735 by Arciel.Rekman Vulkan: skip unnecessary transitions properly (UE-62348, merge). (Edigrating CL 4244274 from Release-4.20) Change 4246685 by Arciel.Rekman PhysX: remove Cygwin from %PATH% on Windows as it confuses CMake (UE-62326). Change 4247808 by Marcin.Undak WebMMediaPlayer: added support for seeking Change 4254841 by Marcin.Undak WebM: module dependencies fix Change 4255124 by laz.matech Updated UMG_AllPaletterWidgets' combo box to include options so that when selected, the dropdown presents 2 options instead of it appearing like it is broken #jira none Change 4256415 by Marcin.Undak WebM: added missing editor module Change 4256716 by Arciel.Rekman Make SetReuseAddr() also set SO_REUSEPORT where available (UE-57076). - Pull request #4617 by malavon. #jira UE-57076 Change 4266049 by Marcin.Undak Linux: UnrealLightmass and CrashReportClient compilation fixes #jira UE-62521 #jira UE-62522 Change 4266678 by Arciel.Rekman Merge speculative commit to get aligned pointer on mmap(). (Edigrating CL 4225330) Change 4267998 by Anthony.Bills Fix DBufferC clear color due to bad merge. #jira UE-62649 Change 4269441 by Marcin.Undak GenericPlatformStrings::VarArgs() implemented %-*s, %lu, %z, %h formatting #jira UE-62582 Change 4269712 by Marcin.Undak WebMMediaPlayer: removed LibSimpleWebM Change 4272849 by Marcin.Undak WebMMediaPlayer: fixed re-initialisation Change 4277931 by Arciel.Rekman Linux: switch to Vulkan by default (UE-62807). - Default behavior: attempt Vulkan first, but in case of failure instead of quitting silently fall back to GL, unless -vulkan is passed. - Forcing GL is still possible. Change 4277965 by Arciel.Rekman Fix standalone applications after the Vulkan switch. Change 4277968 by Arciel.Rekman Linux: make CrashReportClient headful (UE-14089). - The -unattended flags keep even a headful CRC usable on the servers. - ldd did not change. Need to check Localization stuff to see if there are any deployment concerns. #jira UE-14089 Change 4279402 by Arciel.Rekman Merge from 4.20.1: Vulkan: log validation errors. Also fix handling of some message types (UE-62628). (Edigrating 4273516 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4279992 by Marcin.Undak Linux: fix SlateViewer compilation #jira UE-62831 Change 4285613 by Arciel.Rekman Vulkan: fix mismatched layout. - I tested with RecordPerformance on InfiltratorDemo and haven't found any impact. Change 4285622 by Arciel.Rekman Merged from 4.20.2: Linux: do not refuse to start if system limits cannot be raised (UE-62515). - Too aggressive behavior, which can break cooking for no valid reason. - If a commandline argument is used, the engine will still treat inability to raise the limits as an error. (Edigrating 4273547 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4293083 by Arciel.Rekman Merging //UE4/Main@4291654 to //UE4/Dev-Console Change 4295297 by Marcin.Undak Vulkan: temporary disable generic pipeline cache saving to prevent crashes #jira UE-62848 Change 4300191 by Arciel.Rekman Delete files added under lowercase directories. Change 4300211 by Arciel.Rekman Re-add files deleted in previous commit under camel-cased paths. Change 4300895 by Arciel.Rekman Linux: fix editor build Change 4303543 by Ben.Marsh Fix compile error for FortGPUTestBed. Change 4305659 by Marcin.Undak [Vulkan][Engine] Update the Vulkan RHI to obey r.VSync (and the vsync and novsync command-line arguments). Change 4222769 by Jason.Stewart@Jason.Stewart_AMD_Dev_Rendering_threadripper-win10 on 2018/07/19 10:55:48 The original implementation ran into a latent thread hazard between the RHI thread and the rendering thread, where the rendering thread would try to use the backbuffer of the swap chain while the swap chain was being recreated (specifically after the swap chain recreation code had released and nulled out the back buffer, but before swap chain creation had actually happened to get a new back buffer). This implementation addresses that issue. This is Tim's code. I'm just submitting it as Tim is currently out of office. Change 4305661 by Marcin.Undak Moved libwebm and libvpx inside WebMMediaPlayer directory Change 4308659 by Marcin.Undak Linux: fixed LLDB visualizers #jira UE-52619 Change 4313650 by Marcin.Undak WebMMediaPlayer: implemented looping Change 4321713 by David.Harvey removed hard-coded platform labels from device output log window in favour of ITargetPlatform::SupportsFeature + updated editor tooltip with correct platform list. https://ec-01.epicgames.net/commander/link/jobDetails/jobs/8641984? Change 4321942 by Brandon.Schaefer Linux: Use the Target RHI list as the default ordering for which RHI is prefered Also update the RHI list in the project settings for our default list #jira UE-59487 #review-4316134 @Arciel.Rekman Change 4322230 by Brandon.Schaefer Treat %lf as %f in GenericWidePlatformString #jira UE-62582 Change 4322392 by Brandon.Schaefer Make sure our fmt size is large enough to check indexes #jira none Change 4322895 by Brandon.Schaefer Actually get the current size of Src as it could have been moved down #jira none Change 4327866 by Brandon.Schaefer Linux: Tell the platform misc what RHI we are using #jira none Change 4328926 by Brandon.Schaefer Linux: Add haptic support for controllers Github PR #4167 (thanks maiself!) #jira UE-51681 Change 4328963 by Arciel.Rekman TestPAL: improve the test by randomizing allocation size. - The range will no longer be constrained to <=128KB at once, allocations can be as big as 16MB but they will unevenly distributed, with smaller sizes being more frequent. Change 4329208 by Arciel.Rekman hlslcc: suppressed benign compiler warning during the Linux build (UE-43988). Change 4329283 by Arciel.Rekman Linux: replace CachedOSPageAllocator with PooledVirtualMemoryAllocator for Linux. For the explanation of FPooledVirtualMemoryAllocator, see PooledVirtualMemoryAllocator.h For the details, test data and comparisons, message Arciel Rekman. Relevant command line args added: -vmapoolscale=<float> (defaults to 1.4) -vmapoolevict -novmapoolevict By default, freed memory will not be evicted from RAM (unless running on a server) Also changed: - Removed the fixed-size pool previously used by Linux (and supporting machinery like scaling it on start) - Replaced the way we manage free blocks from pointers to a bitmap to reduce memory footprint. Change 4331946 by Luke.Thatcher [CONSOLE] [^] (merging CL 4162064) Implement new thread heart beat clock to solve the suspend/resume problem across all platforms. - The hang and hitch detectors now maintain their own clocks which are ticked by their respective threads. - If the title is suspended, the ticking thread will stop and the clock will stop advancing. On resume, the maximum delta in the clock is clamped to a small value, so we ignore all the time the thread was not ticking for (i.e. the duration of the title being suspended). - As such, we don't need any logic for handling PLM suspend/resume in the hang and hitch detectors, so this change removes that too. #jira FORT-96886 Change 4331973 by Luke.Thatcher [CONSOLE] [^] (merging CL 4183499) Add frame-present-based hang detection. - RHIs call FThreadHeartBeat::PresentFrame() whenever they present a frame to the swap chain. - These calls form a separate heartbeat from the thread-based ones, allowing the hang detector to fire if, for example, the game thread is stuck in an async loading loop and is ticking the game thread heartbeat, but making no progress. - Also refactored ThreadHeartBeat.cpp to move hang detection logging into a FORCENOINLINE function. This will put OnHang and OnPresentHang at the top of the callstack in retail crash dumps, making the bucketing easier to recognise. Change 4332200 by Luke.Thatcher [CONSOLE] [+] (merging CL 4227517) Add PlatformDebugData to FShaderResource. - We can use this to store platform specific shader symbols etc. The data gets serialized to the DDC and can be retrieved during a cook. - Data is entirely discarded in cooked builds, and is a no-op on platforms which don't implement support for shader debug data. - Bumped shader version to invalidate DDC keys. Change 4332407 by Luke.Thatcher [CONSOLE] [CORE] [!] (merging CL 4279686) Fixed unaligned integer load macro inconsistencies. - Renamed PLATFORM_SUPPORTS_UNALIGNED_INT_LOADS to PLATFORM_SUPPORTS_UNALIGNED_LOADS - Merged it with REQUIRES_ALIGNED_ACCESS and REQUIRES_ALIGNED_INT_ACCESS - Fixed Linux platform which had both the old macros defined to 1, which is wrong because they are mutually exclusive. Change 4333386 by Luke.Thatcher [CONSOLE] [!] (merging CL 4317367) Fix compile error in AnimationCompression.h Change 4334395 by Arciel.Rekman Corrected PLATFORM_DESKTOP definition. Change 4336190 by Anthony.Bills (Original CL4314280) Use the debug file writer when using framepro. This buffers more data which should reduce stalls when writing out on certain platforms. #jira none Change 4336291 by Anthony.Bills Use a clamped local clock when timing out the renderthread. - This prevents suspend and resume issues on platforms where suspend events may not occur or the system clock is not set to the process time. #jira none Change 4336292 by Anthony.Bills (Orignal CL 4195778) Fix printing of the hang detector multiplier and other logging. "f" is the correct format specifier for a double. #jira none Change 4336307 by Anthony.Bills (Orignal CL 4257875) Use the correct clock when printing the scoped hitch stat. - Needs to be the internal FGameThreadHitchHeartBeat clock incase FPlatformTime::Seconds becomes out of sync with FrameStartTime. #jira none Change 4336321 by Anthony.Bills (Original CL 4258186) Add GetNoInit function to FGameThreadHitchHeartBeat. #jira none Change 4336397 by Anthony.Bills Fix redefinition of macro. #jira none Change 4336738 by Brandon.Schaefer Linux: Add options for ASan, TSan, and UBSan #jira UE-62784 UE-62803 UE-62804 Change 4336791 by Brandon.Schaefer Linux: Add missing xml comments #jira none Change 4336957 by Joe.Barnes Integrate as edit CL#4218145: Convert some of our Vector macros to inline functions as thier names class with 3rd party functions. #jira ue-61733 Change 4338228 by Arciel.Rekman Switch to v12 Linux cross-toolchain (UE-63589). #jira UE-63589 Change 4339195 by Ben.Woodhouse Integrate-as-edit latest CSV profiler changes up to CL 4292187 Change 4339237 by Ben.Woodhouse Integrate-as-edit CL 4226269 Add support for extern GPU stats, so we can use one stat across multiple CPPs Fix the Forward rendering GPUProjection stat Change 4339239 by Ben.Woodhouse Integrate-as-edit CL 4292520 Support different sized buffers for FArchiveFileWriterGeneric per-platform so we can tune per-platform as needed. No changes to existing defaults values of 1KB for read, 4KB for write: #define PLATFORM_FILE_READER_BUFFER_SIZE 1024 #define PLATFORM_FILE_WRITER_BUFFER_SIZE 4096 #define PLATFORM_DEBUG_FILE_WRITER_BUFFER_SIZE 4096 Change 4339241 by Ben.Woodhouse Integrate-as-edit CL 4210462 Comment out an assert while I investigate properly (doesn't appear to be fatal) Change 4339265 by Anthony.Bills [Linux] Fix ContainerBuildThirdParty.sh to pick the first default interface. #jira none Change 4339274 by Anthony.Bills [Linux] Cache the bundled toolchain when using git builds. - Also will not attempt to download the toolchain if AutoSDK or Multiarch root are specified. #jira UE-63394 Change 4339623 by Anthony.Bills [Linux] Update native toolchain buildscript to support clang 6.0.1 - Main issue was due to libxml2 as an extra dependency of some test libraries, so needs to be disabled via DLLVM_ENABLE_LIBXML2. #jira UE-63588 Change 4339685 by Anthony.Bills [Linux] Update toolchain setup script to download v12 when it is available. #jira UE-63588 Change 4339833 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4339548 to //UE4/Dev-Console/... Change 4339843 by Ben.Woodhouse Attempt to fix a weird possible bad merge issue Change 4339890 by Ben.Woodhouse Fix a build issue #jira nojira Change 4340314 by Anthony.Bills Fix mesh decal rendering when write mask is enabled and no deferred decals are in the scene. #jira UE-55159 Change 4341099 by Marcin.Undak Mediashader fix #jira UE-63650 Change 4341106 by Marcin.Undak QAGame: added MediaPlayer for Linux test #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341107 by Marcin.Undak WebMMediaPlayer: blacklist all not supported platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341110 by Marcin.Undak WebMMediaPlayer: enable for Unix platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341804 by Luke.Thatcher [CONSOLE] [!] Fix memory scribble in black depth texture cube on platforms with 16-bit depth. - Original code was writing a FColor into the locked texture data, which causes a 2 byte scribble if the PF_ShadowDepth format is 16-bits. [!] Also fixed GWhiteTextureCube being black. FColor::White is not a compile-time constant, so an initialization order problem meant the value of FColor::White is actually black when the GWhiteTextureCube constructor runs. #jira none Change 4342244 by Anthony.Bills [Linux] Allow restarting the crashed application from the crash report client #jira UE-62903 Change 4342636 by Brandon.Schaefer Linux: Update LLVM libc++.a libc++abi.a with version 6.0.1 #jira UE-63587 Change 4343420 by Marcin.Undak Fixed assert in console #jira UE-63643 Change 4345166 by Luke.Thatcher [CONSOLE] [!] (merging CL 4345072) Fix initialization order bug with FColor and FLinearColor constants. - The original constants were dynamically initialized during startup. Using these constants from other global constructors may result in getting the wrong value (transparent black) if a given constructor runs before FColor/FLinearColor's constructor. - Adding constexpr to the FColor/FLinearColor constructor makes these constants known at compile-time, and included in the readonly data section, so they don't require dynamic initialization. [~] Also restores the original constant color values in RenderUtils.cpp #jira none Change 4345860 by Arciel.Rekman Make StompMalloc return 16-byte aligned memory on 64 bit platforms (UE-63743). #jira UE-63743 (Edigrating 4345734 from Release-4.20) Change 4345950 by Brandon.Schaefer Linux: Remove libelf/libdwarf fallback for symbolicating symbols during a crash #jira UE-63103 Change 4350249 by David.Harvey helper function to retrieve an LLM tag's name, including platform tags. Change 4351184 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4348973 to //UE4/Dev-Console/... Change 4351593 by Ben.Woodhouse Clean up aggressive batching (remove xbox specific #if and //TODO) #jira UE-46780 Change 4351734 by James.Cobbett Setting TM-ShaderModels_Niagara to always load Change 4351984 by Marcin.Undak QAGame: restored platform media source in TM-ShaderModels map Change 4353508 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4353110 to //UE4/Dev-Console/... Change 4354237 by Anthony.Bills [Linux] Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4354334 by Anthony.Bills [Linux] (Missing file from CL 4354237) Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4355994 by Brandon.Schaefer Linux: Agree not Agreed #jira UE-63937 Change 4356068 by Joe.Barnes Replace a duplicate DEFINE_EXPRESSION_NODE_TYPE(bool,...) causing errors with iOS unity build compiles. Remove version in ExpressionParser.cpp and include TextFilterExpressionEvaluator.h. #jira ue-63877 Change 4357726 by David.Harvey [iOS] add clean support for device output log, after catchup. #jira none Change 4357724 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4357176 to //UE4/Dev-Console/... Change 4359634 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4359072 to //UE4/Dev-Console/... Change 4359958 by Ben.Woodhouse Fix FortGPUTestbed merge issues via p4 copy (content files didn't get moved before for some reason) Change 4361108 by Anthony.Bills Fix webm deprecation issues with DrawPrimitiveUp. #jira UE-64012 Change 4361896 by James.Cobbett Re-saving materials so that they render correctly outside of the editor. Change 4362262 by Anthony.Bills Fix for WebM video decoder crash. #jira UE-64025 [CL 4362700 by Joe Barnes in Main branch]
2018-09-12 15:59:49 -04:00
Closure(FString(WCHAR_TO_TCHAR(String.ToWString().c_str())));
}
private:
TFunction<void (const FString&)> Closure;
IMPLEMENT_REFCOUNTING(FWebBrowserClosureVisitor);
};
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
// Private helper class to smooth out video buffering, using a ringbuffer
// (cef sometimes submits multiple frames per engine frame)
class FBrowserBufferedVideo
{
public:
FBrowserBufferedVideo(uint32 NumFrames)
: FrameWriteIndex(0)
, FrameReadIndex(0)
, FrameCountThisEngineTick(0)
, FrameCount(0)
, FrameNumberOfLastRender(-1)
{
Frames.SetNum(NumFrames);
}
~FBrowserBufferedVideo()
{
}
/**
* Submits a frame to the video buffer
* @return true if this is the first frame submitted this engine tick, or false otherwise
*/
bool SubmitFrame(
int32 InWidth,
int32 InHeight,
const void* Buffer,
FIntRect Dirty)
{
check(IsInGameThread());
check(Buffer != nullptr);
const uint32 NumBytesPerPixel = 4;
FFrame& Frame = Frames[FrameWriteIndex];
// If the write buffer catches up to the read buffer, we need to release the read buffer and increment its index
if (FrameWriteIndex == FrameReadIndex && FrameCount > 0)
{
Frame.ReleaseTextureData();
FrameReadIndex = (FrameReadIndex + 1) % Frames.Num();
}
check(Frame.SlateTextureData == nullptr);
Frame.SlateTextureData = new FSlateTextureData((uint8*)Buffer, InWidth, InHeight, NumBytesPerPixel);
FrameWriteIndex = (FrameWriteIndex + 1) % Frames.Num();
FrameCount = FMath::Min(Frames.Num(), FrameCount + 1);
FrameCountThisEngineTick++;
return FrameCountThisEngineTick == 1;
}
/**
* Called once per frame to get the next frame's texturedata
* @return The texture data. Can be nullptr if no frame is available
*/
FSlateTextureData* GetNextFrameTextureData()
{
// Grab the next available frame if available. Ensure we don't grab more than one frame per engine tick
check(IsInGameThread());
FSlateTextureData* SlateTextureData = nullptr;
if ( FrameCount > 0 )
{
// Grab the first frame we haven't submitted yet
FFrame& Frame = Frames[FrameReadIndex];
SlateTextureData = Frame.SlateTextureData;
// Set this to NULL because the renderthread is taking ownership
Frame.SlateTextureData = nullptr;
FrameReadIndex = (FrameReadIndex + 1) % Frames.Num();
FrameCount--;
}
FrameCountThisEngineTick = 0;
return SlateTextureData;
}
private:
struct FFrame
{
FFrame()
: SlateTextureData(nullptr)
{}
~FFrame()
{
ReleaseTextureData();
}
void ReleaseTextureData()
{
if (SlateTextureData)
{
delete SlateTextureData;
}
SlateTextureData = nullptr;
}
FSlateTextureData* SlateTextureData;
};
TArray<FFrame> Frames;
// Read/write position in the ringbuffer
int32 FrameWriteIndex;
int32 FrameReadIndex;
int32 FrameCountThisEngineTick;
int32 FrameCount;
int32 FrameNumberOfLastRender;
};
FCEFWebBrowserWindow::FCEFWebBrowserWindow(CefRefPtr<CefBrowser> InBrowser, CefRefPtr<FCEFBrowserHandler> InHandler, FString InUrl, TOptional<FString> InContentsToLoad, bool bInShowErrorMessage, bool bInThumbMouseButtonNavigation, bool bInUseTransparency, bool bInJSBindingToLoweringEnabled, bool bInUsingAcceleratedPaint)
: DocumentState(EWebBrowserDocumentState::NoDocument)
[INTEGRATE] SWebBrowser refactor and cleanups: * Untangle mutual dependencies between objects and constructor order (OPP-3858): * FWebBrowserWindow no longer keeps a reference to FWebBrowserHandler. * CefBrowserWindow is created before creating FWebBrowserWindow and passed to its constructor. * FWebBrowserViewport no longer has a reference back to the viewport widget. * Cleaned how some platform specific paths were defined during module initialization. * Sets current thread name (back) to GameThread after initializing CEF (UE-5165) * Adopted changes from UT (with some modifications): * Enable on-disk caching and persisting cookies when requested by server. * Added product name and engine version to user agent request header. * Ensure UStruct parameters passed by value to FWebJSFunctions are copied when constructing the argument list and not just their address. *SWebBrowser scripting: Add support for passing TMap<FString, T> to FWebJSFunction objects. Note: since the struct serializer does not yet support maps, this only works for arguments passed directly to the function object and not UStruct members nor function return values. OPP-3861 * Add support for passing a reference to the JS promise object implicitly created when calling UFunctions to provide for a way to report runtime errors back to it instead of just passing the return value. * This also allows for implementing async functionality as the promise object can be saved and used after the UFunction has returned. Merging CL#2633955, CL#2634077, CL#2634226, CL#2635540, CL#2636167, and CL#2636262 using UE4-To-UE4-LauncherDev [CL 2636308 by Keli Hlodversson in Main branch]
2015-07-28 18:59:27 -04:00
, InternalCefBrowser(InBrowser)
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @ 2904087) ========================== MAJOR FEATURES + CHANGES ========================== #lockdown Nick.Penwarden Change 2903938 on 2016/03/10 by Frank.Gigliotti Added an instance ID to FAnimMontageInstance #CodeReview Laurent.Delayen #RB Laurent.Delayen #Tests PIE Change 2903745 on 2016/03/10 by Wes.Hunt Update Oodle TPS #rb none #tests none #codereview:john.pollard Change 2903689 on 2016/03/10 by Uriel.Doyon New "LogHeroMaterials" console command, displaying the current state of materials and textures on the character hero. #rb marcus.wasmer #codereview marcus.wassmer #tests editor, playing PC games, trying the new command Change 2903669 on 2016/03/10 by Aaron.McLeran OR-17180 Make stat soundcues and stat soundwaves NOT display zero volume sounds - Change only effects debug stat commands for audio guys #rb none #tests played paragon with new debug stat commands, confirms doesn't show zero-volume sounds Change 2903625 on 2016/03/10 by John.Pollard XB1 Oodle SDK #rb none #tests none #codereview Jeff.Campeau Change 2903577 on 2016/03/10 by Ben.Marsh Remaking latest build scripts from //UE4/Main @ 2900980. Change 2903560 on 2016/03/10 by Ben.Marsh Initial version of BuildGraph scripts - used to create build processes in UE4 which can be run locally or in parallel across a build farm (assuming synchronization and resource allocation implemented by a separate system). Intended to supersede GUBP. Build graphs are declared using an XML script using syntax similar to MSBuild, ANT or NAnt, and consist of the following components: * Tasks: Building blocks which can be executed as part of the build process. Many predefined tasks are provided (<Cook>, <Compile>, <Copy>, <Stage>, <Log>, <PakFile>, etc...), and additional tasks may be added be declaring classes derived from AutomationTool.CustomTask in other UAT modules. * Nodes: A named sequence of tasks which is executed to produce outputs. Nodes may have input dependencies on other nodes before they can be executed. Declared with the <Node> element in scripts. * Agent Groups: A set of nodes nodes which is executed on the same machine if running as part of a build system. Has no effect when building locally. Declared with the <Group> element in scripts. * Triggers: Container for groups which should only be executed when explicitly triggered (using the -Trigger=<Name> or -SkipTriggers command line argument). Declared with the <Trigger> element in scripts. * Notifiers: Specifies email recipients for failures in one or more nodes, whether they should receive notifications on warnings, and so on. Properties can be passed in to a script on the command line, or set procedurally with the <Property Name="Foo" Value="Bar"/> syntax. Properties referenced with the $(Property Name) notation are valid within all strings, and will be expanded as macros when the script is read. If a property name is not set explicitly, it defaults to the contents of an environment variable with the same name. Local properties, which only affect the scope of the containing XML element (node, group, etc...) are declared with the <Local Name="Foo" Value="Bar"/> element, and will override a similarly named global property for the local property's scope. Any elements can be conditionally defined via the "If" attribute, and are largely identical to MSBuild conditions. Literals in conditions may be quoted with single (') or double (") quotes, or an unquoted sequence of letters, digits and underscore characters. All literals are considered identical regardless of how they are declared, and are considered case-insensitive for comparisons (so true equals 'True', equals "TRUE"). Available operators are "==", "!=", "And", "Or", "!", "(...)", "Exists(...)" and "HasTrailingSlash(...)". A full grammar is written up in Condition.cs. File manipulation is done using wildcards and tags. Any attribute that accepts a list of files may consist of: a Perforce-style wildcard (matching any number of "...", "*" and "?" patterns in any location), a full path name, or a reference to a tagged collection of files, denoted by prefixing with a '#' character. Files may be added to a tag set using the <Tag> Task, which also allows performing set union/difference style operations. Each node can declare multiple outputs in the form of a list of named tags, which other nodes can then depend on. Build graphs may be executed in parallel as part build system. To do so, the initial graph configuration is generated by running with the -Export=<Filename> argument (producing a JSON file listing the nodes and dependencies to execute). Each participating agent should be synced to the same changelist, and UAT should be re-run with the appropriate -Node=<Name> argument. Outputs from different nodes are transferred between agents via shared storage, typically a network share, the path to which can be specified on the command line using the -SharedStorageDir=<Path> argument. Note that the allocation of machines, and coordination between them, is assumed to be managed by an external system. A schema for the known set of tasks can be generated by running UAT with the "-Schema=<FileName>" option. Generating a schema and referencing it from a BuildGraph script allows Visual Studio to validate and auto-complete elements as you type. #rb none #codereview Marc.Audy, Wes.Hunt, Matthew.Griffin, Richard.Fawcett #tests local only so far, but not part of any build process yet Change 2903539 on 2016/03/10 by John.Pollard Improve replay playback debugging of character movement #rb none #tests replays Change 2903526 on 2016/03/10 by Ben.Marsh Remake changes from //UE4/Main without integration history, to add support for BuildGraph tasks. #rb none #tests none Change 2903512 on 2016/03/10 by Dan.Youhon Modify minimum Duration values for JumpForce and MoveToForce ability tasks so that having minimum Duration values doesn't trigger check()s #rb None #tests Compiles Change 2903474 on 2016/03/10 by Marc.Audy Fix crash if ChildActor is null #rb None #tests None Change 2903314 on 2016/03/10 by Marc.Audy Fix ParentComponent not being persisted and fixup content that was saved in the window it was broken #rb James.Golding #tests Selection of child actors works as expected #jira UE-28201 Change 2903298 on 2016/03/10 by Simon.Tovey Disabling the trails optimization. #tests none #rb none #codereview Olaf.Piesche Change 2903124 on 2016/03/10 by Robert.Manuszewski Small refactor to pak signing to help with exe protection #rb none #tests none [CL 2907678 by Andrew Grant in Main branch]
2016-03-13 18:53:13 -04:00
, WebBrowserHandler(InHandler)
, CurrentUrl(InUrl)
[INTEGRATE] SWebBrowser refactor and cleanups: * Untangle mutual dependencies between objects and constructor order (OPP-3858): * FWebBrowserWindow no longer keeps a reference to FWebBrowserHandler. * CefBrowserWindow is created before creating FWebBrowserWindow and passed to its constructor. * FWebBrowserViewport no longer has a reference back to the viewport widget. * Cleaned how some platform specific paths were defined during module initialization. * Sets current thread name (back) to GameThread after initializing CEF (UE-5165) * Adopted changes from UT (with some modifications): * Enable on-disk caching and persisting cookies when requested by server. * Added product name and engine version to user agent request header. * Ensure UStruct parameters passed by value to FWebJSFunctions are copied when constructing the argument list and not just their address. *SWebBrowser scripting: Add support for passing TMap<FString, T> to FWebJSFunction objects. Note: since the struct serializer does not yet support maps, this only works for arguments passed directly to the function object and not UStruct members nor function return values. OPP-3861 * Add support for passing a reference to the JS promise object implicitly created when calling UFunctions to provide for a way to report runtime errors back to it instead of just passing the return value. * This also allows for implementing async functionality as the promise object can be saved and used after the UFunction has returned. Merging CL#2633955, CL#2634077, CL#2634226, CL#2635540, CL#2636167, and CL#2636262 using UE4-To-UE4-LauncherDev [CL 2636308 by Keli Hlodversson in Main branch]
2015-07-28 18:59:27 -04:00
, ViewportSize(FIntPoint::ZeroValue)
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
, ViewportDPIScaleFactor(1.0f)
, bIsClosing(false)
, bIsInitialized(false)
, ContentsToLoad(InContentsToLoad)
Copying //UE4/Portal-Staging to //UE4/Dev-Main (Source: //Portal/Main @ 3216504) #lockdown Nick.Penwarden #rb no one ========================== MAJOR FEATURES + CHANGES ========================== Change 3216141 on 2016/11/30 by Justin.Sargent Completed first ready to use pass of the new AutomationDriver module and new Spec test type. Change 3213288 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Removing deprecation of IWebBrowserSingleton::SetJSBindingToLoweringEnabled for now. Change 3212796 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Added SetJSBindingToLoweringEnabled to IWebBrowserSingleton so that the to-lowering of binding names can be disabled. Deprecated SetJSBindingToLoweringEnabled since 4.15. In future the to-lowering will always occurr. Adding GetBindingName helper to FWebJSScripting, which returns a to-lowered name for a UField, unless disabled. Updated all current binding code to use GetBindingName when building from UObjects/UStructs. This affects Windows, Mac, Linux, and Android. Portal currently disables to-lowering unless a commandline -LowercaseJS is provided. Change 3200370 on 2016/11/16 by Richard.Fawcett Ensure we always get the latest version of the user content catalog when promoting marketplace items. Change 3192974 on 2016/11/10 by Leigh.Swift #jira OPP-6365: Crash during shutdown if a manifest is still being downloaded This is because of the OnPreExit core delegate being used to null out the Data uobject member on a manifest, also being the only sensible way to ensure threads complete in a safe and clean manner. Refactoring BuildPatchServices manifest class to not permanently hold any UObject and simply just use one while serialising. This removes the reliance on the OnPreExit delegate from manifest class, making it generally safer behaviour for shutdown. Change 3187028 on 2016/11/04 by Leigh.Swift PortalPublishingTool: Adding UE_Main app to UnrealEngine project Change 3186788 on 2016/11/04 by Richard.Fawcett Change C# wrapper for BuildPatchTool patch generation to prevent clobbering manifest files by default, unless we specifically pass in an optional flag to allow this. #jira OPP-6355 Change 3186779 on 2016/11/04 by Richard.Fawcett Add support to automation tool testing framework for the following assertions: Assert.AreNotEqual(a, b, optionalFailureMessage) Assert.ThrowsError(actionToCarryOut, expectedExceptionType, optionalExceptionMessageContainsString) Moved attribute-based expected exception declarations to their own attribute, TestThrowsExceptionAttribute, which can now accept an optional parameter for a string which should be contained within the exception message. Fixed a bug where a test method with an attribute-based expected exception would not count towards the success total if the exception was encountered as expected. Fixed a bug where NOT throwing an exception when we were expecting one would count as a success. Added an internal property bDoNotLogTestFailsAsError which we can set to true to suppress logging of UAT errors when a test fails (but still count them in our failure results), to allow us to deliberately cause test failures to test the test framework! Added a suite of unit tests for the test framework itself, in TestRunner.Automation.Tests.cs. Change 3185411 on 2016/11/03 by Richard.Fawcett Allow Rocket_PromoteBuild changelist to be overridden by a changelist read from a file. Change 3184843 on 2016/11/03 by Richard.Fawcett Ensure catalog file synced during user content generation is always the latest one. Change 3184752 on 2016/11/03 by Richard.Fawcett Ensure we log reading changelist from specified file. Change 3184744 on 2016/11/03 by Richard.Fawcett Ensure directory is created for Changelist file if it doesn't already exist. Change 3184738 on 2016/11/03 by Richard.Fawcett Ensure we use latest CL from all of Perforce when generating build versions for user content Because of the nature of the build farm, where separate parts of the job are executed on different build agents at different times, this changelist is serialized to the filesystem during execution of a node dedicated to this task, and then made available to all future nodes, so that they're working with a consistent build version. In the case of an execution where we're updating Perforce with new content, this calculation of the changelist occurs AFTER we've updated Perforce with the new content. Have also optimized the build graph scripts to enable Mac and Windows user generated content to execute simultaneously. #jira OPP-6274 Change 3181456 on 2016/11/01 by Andrew.Brown SExpandable area has been modified as the Portal settings mocks weren't able to be achieved with default functionality. Added BodyBorderImage arguement and BodyBorderBackgroundColor attribute so we can specify a different brush/color to use for the expanded area compared with the title area. Additional care was made to ensure that rounded corners still appear correctly if the developer doesn't want to specify a different look to the body. Added AreaTitlePadding attribute, to be able to specify padding between the expand/collapse icon and the header content. Added MinWidth arguement, to ensure that the areas meet a minimum width requirement. Change 3181285 on 2016/11/01 by Richard.Fawcett Ensure user content generated using latest changelist submitted to Perforce, rather than using portal's latest changelist #jira OPP-6274 Change 3177758 on 2016/10/28 by Leigh.Swift #jira OPP-6247: Portal needs Social Plugin integration v1.2 Copying //Portal/Dev-Social to Dev-Main (//Portal/Dev-Main) Change 3175889 on 2016/10/26 by Wes.Fudala Web browser tooltips will no longer continue to appear when the mouse leaves the browser window. #jira: OPP-5895 The Mouseover info in Recent Additions (Marketplace) anchors itself to the mouse pointer over other Browser windows rb: Justin.Sargent Change 3171388 on 2016/10/22 by Leigh.Swift #jira OPP-6343: Launcher crashes patching from 2.12.13 Main to 2.12.13 Release-Live BPS: FBuildPatchAppManifest needs to listen for FCoreDelegates::OnPreExit in order to clean up references to it's UObject which is about to be destroyed. Change 3170373 on 2016/10/21 by Leigh.Swift #jira: OPP-6340: Portal builds fail on audit nodes. Reducing platform regex to only match pre-defined possibilities. [CL 3219291 by Justin Sargent in Main branch]
2016-12-02 13:27:02 -05:00
, bShowErrorMessage(bInShowErrorMessage)
, bThumbMouseButtonNavigation(bInThumbMouseButtonNavigation)
, bUseTransparency(bInUseTransparency)
, bUsingAcceleratedPaint(bInUsingAcceleratedPaint)
, Cursor(EMouseCursor::Default)
, bIsDisabled(false)
, bIsHidden(false)
, bTickedLastFrame(true)
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
, bNeedsResize(false)
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
, bDraggingWindow(false)
, PreviousKeyDownEvent()
, PreviousKeyUpEvent()
, PreviousCharacterEvent()
, bIgnoreKeyDownEvent(false)
, bIgnoreKeyUpEvent(false)
, bIgnoreCharacterEvent(false)
, bMainHasFocus(false)
, bPopupHasFocus(false)
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
, bSupportsMouseWheel(true)
, bRecoverFromRenderProcessCrash(false)
, ErrorCode(0)
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
, bDeferNavigations(false)
#if PLATFORM_MAC
, LastPaintedSharedHandle(nullptr)
#endif
Copying //UE4/Portal-Staging to //UE4/Dev-Main (Source: //Portal/Main @ 3216504) #lockdown Nick.Penwarden #rb no one ========================== MAJOR FEATURES + CHANGES ========================== Change 3216141 on 2016/11/30 by Justin.Sargent Completed first ready to use pass of the new AutomationDriver module and new Spec test type. Change 3213288 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Removing deprecation of IWebBrowserSingleton::SetJSBindingToLoweringEnabled for now. Change 3212796 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Added SetJSBindingToLoweringEnabled to IWebBrowserSingleton so that the to-lowering of binding names can be disabled. Deprecated SetJSBindingToLoweringEnabled since 4.15. In future the to-lowering will always occurr. Adding GetBindingName helper to FWebJSScripting, which returns a to-lowered name for a UField, unless disabled. Updated all current binding code to use GetBindingName when building from UObjects/UStructs. This affects Windows, Mac, Linux, and Android. Portal currently disables to-lowering unless a commandline -LowercaseJS is provided. Change 3200370 on 2016/11/16 by Richard.Fawcett Ensure we always get the latest version of the user content catalog when promoting marketplace items. Change 3192974 on 2016/11/10 by Leigh.Swift #jira OPP-6365: Crash during shutdown if a manifest is still being downloaded This is because of the OnPreExit core delegate being used to null out the Data uobject member on a manifest, also being the only sensible way to ensure threads complete in a safe and clean manner. Refactoring BuildPatchServices manifest class to not permanently hold any UObject and simply just use one while serialising. This removes the reliance on the OnPreExit delegate from manifest class, making it generally safer behaviour for shutdown. Change 3187028 on 2016/11/04 by Leigh.Swift PortalPublishingTool: Adding UE_Main app to UnrealEngine project Change 3186788 on 2016/11/04 by Richard.Fawcett Change C# wrapper for BuildPatchTool patch generation to prevent clobbering manifest files by default, unless we specifically pass in an optional flag to allow this. #jira OPP-6355 Change 3186779 on 2016/11/04 by Richard.Fawcett Add support to automation tool testing framework for the following assertions: Assert.AreNotEqual(a, b, optionalFailureMessage) Assert.ThrowsError(actionToCarryOut, expectedExceptionType, optionalExceptionMessageContainsString) Moved attribute-based expected exception declarations to their own attribute, TestThrowsExceptionAttribute, which can now accept an optional parameter for a string which should be contained within the exception message. Fixed a bug where a test method with an attribute-based expected exception would not count towards the success total if the exception was encountered as expected. Fixed a bug where NOT throwing an exception when we were expecting one would count as a success. Added an internal property bDoNotLogTestFailsAsError which we can set to true to suppress logging of UAT errors when a test fails (but still count them in our failure results), to allow us to deliberately cause test failures to test the test framework! Added a suite of unit tests for the test framework itself, in TestRunner.Automation.Tests.cs. Change 3185411 on 2016/11/03 by Richard.Fawcett Allow Rocket_PromoteBuild changelist to be overridden by a changelist read from a file. Change 3184843 on 2016/11/03 by Richard.Fawcett Ensure catalog file synced during user content generation is always the latest one. Change 3184752 on 2016/11/03 by Richard.Fawcett Ensure we log reading changelist from specified file. Change 3184744 on 2016/11/03 by Richard.Fawcett Ensure directory is created for Changelist file if it doesn't already exist. Change 3184738 on 2016/11/03 by Richard.Fawcett Ensure we use latest CL from all of Perforce when generating build versions for user content Because of the nature of the build farm, where separate parts of the job are executed on different build agents at different times, this changelist is serialized to the filesystem during execution of a node dedicated to this task, and then made available to all future nodes, so that they're working with a consistent build version. In the case of an execution where we're updating Perforce with new content, this calculation of the changelist occurs AFTER we've updated Perforce with the new content. Have also optimized the build graph scripts to enable Mac and Windows user generated content to execute simultaneously. #jira OPP-6274 Change 3181456 on 2016/11/01 by Andrew.Brown SExpandable area has been modified as the Portal settings mocks weren't able to be achieved with default functionality. Added BodyBorderImage arguement and BodyBorderBackgroundColor attribute so we can specify a different brush/color to use for the expanded area compared with the title area. Additional care was made to ensure that rounded corners still appear correctly if the developer doesn't want to specify a different look to the body. Added AreaTitlePadding attribute, to be able to specify padding between the expand/collapse icon and the header content. Added MinWidth arguement, to ensure that the areas meet a minimum width requirement. Change 3181285 on 2016/11/01 by Richard.Fawcett Ensure user content generated using latest changelist submitted to Perforce, rather than using portal's latest changelist #jira OPP-6274 Change 3177758 on 2016/10/28 by Leigh.Swift #jira OPP-6247: Portal needs Social Plugin integration v1.2 Copying //Portal/Dev-Social to Dev-Main (//Portal/Dev-Main) Change 3175889 on 2016/10/26 by Wes.Fudala Web browser tooltips will no longer continue to appear when the mouse leaves the browser window. #jira: OPP-5895 The Mouseover info in Recent Additions (Marketplace) anchors itself to the mouse pointer over other Browser windows rb: Justin.Sargent Change 3171388 on 2016/10/22 by Leigh.Swift #jira OPP-6343: Launcher crashes patching from 2.12.13 Main to 2.12.13 Release-Live BPS: FBuildPatchAppManifest needs to listen for FCoreDelegates::OnPreExit in order to clean up references to it's UObject which is about to be destroyed. Change 3170373 on 2016/10/21 by Leigh.Swift #jira: OPP-6340: Portal builds fail on audit nodes. Reducing platform regex to only match pre-defined possibilities. [CL 3219291 by Justin Sargent in Main branch]
2016-12-02 13:27:02 -05:00
, Scripting(new FCEFJSScripting(InBrowser, bInJSBindingToLoweringEnabled))
#if !PLATFORM_LINUX
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
, Ime(new FCEFImeHandler(InBrowser))
#endif
, RHIRenderHelper(nullptr)
#if PLATFORM_WINDOWS
, bInDirectHwndMode(false)
#endif
{
[INTEGRATE] SWebBrowser refactor and cleanups: * Untangle mutual dependencies between objects and constructor order (OPP-3858): * FWebBrowserWindow no longer keeps a reference to FWebBrowserHandler. * CefBrowserWindow is created before creating FWebBrowserWindow and passed to its constructor. * FWebBrowserViewport no longer has a reference back to the viewport widget. * Cleaned how some platform specific paths were defined during module initialization. * Sets current thread name (back) to GameThread after initializing CEF (UE-5165) * Adopted changes from UT (with some modifications): * Enable on-disk caching and persisting cookies when requested by server. * Added product name and engine version to user agent request header. * Ensure UStruct parameters passed by value to FWebJSFunctions are copied when constructing the argument list and not just their address. *SWebBrowser scripting: Add support for passing TMap<FString, T> to FWebJSFunction objects. Note: since the struct serializer does not yet support maps, this only works for arguments passed directly to the function object and not UStruct members nor function return values. OPP-3861 * Add support for passing a reference to the JS promise object implicitly created when calling UFunctions to provide for a way to report runtime errors back to it instead of just passing the return value. * This also allows for implementing async functionality as the promise object can be saved and used after the UFunction has returned. Merging CL#2633955, CL#2634077, CL#2634226, CL#2635540, CL#2636167, and CL#2636262 using UE4-To-UE4-LauncherDev [CL 2636308 by Keli Hlodversson in Main branch]
2015-07-28 18:59:27 -04:00
check(InBrowser.get() != nullptr);
check(!bUsingAcceleratedPaint || CanSupportAcceleratedPaint()); // make sure if accelerated paint is selected we can support it
[INTEGRATE] SWebBrowser refactor and cleanups: * Untangle mutual dependencies between objects and constructor order (OPP-3858): * FWebBrowserWindow no longer keeps a reference to FWebBrowserHandler. * CefBrowserWindow is created before creating FWebBrowserWindow and passed to its constructor. * FWebBrowserViewport no longer has a reference back to the viewport widget. * Cleaned how some platform specific paths were defined during module initialization. * Sets current thread name (back) to GameThread after initializing CEF (UE-5165) * Adopted changes from UT (with some modifications): * Enable on-disk caching and persisting cookies when requested by server. * Added product name and engine version to user agent request header. * Ensure UStruct parameters passed by value to FWebJSFunctions are copied when constructing the argument list and not just their address. *SWebBrowser scripting: Add support for passing TMap<FString, T> to FWebJSFunction objects. Note: since the struct serializer does not yet support maps, this only works for arguments passed directly to the function object and not UStruct members nor function return values. OPP-3861 * Add support for passing a reference to the JS promise object implicitly created when calling UFunctions to provide for a way to report runtime errors back to it instead of just passing the return value. * This also allows for implementing async functionality as the promise object can be saved and used after the UFunction has returned. Merging CL#2633955, CL#2634077, CL#2634226, CL#2635540, CL#2636167, and CL#2636262 using UE4-To-UE4-LauncherDev [CL 2636308 by Keli Hlodversson in Main branch]
2015-07-28 18:59:27 -04:00
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
UpdatableTextures[0] = nullptr;
UpdatableTextures[1] = nullptr;
if (!CreateInitialTextures())
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
{
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
ReleaseTextures();
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
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
#if PLATFORM_WINDOWS
HWND NativeHandle = InternalCefBrowser->GetHost()->GetWindowHandle();
if (NativeHandle)
{
bInDirectHwndMode = true;
}
#endif
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
#if USE_BUFFERED_VIDEO
BufferedVideo = TUniquePtr<FBrowserBufferedVideo>(new FBrowserBufferedVideo(4));
#endif
}
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
void FCEFWebBrowserWindow::ReleaseTextures()
{
for (int I = 0; I < 2; ++I)
{
if (UpdatableTextures[I] != nullptr)
{
FSlateUpdatableTexture* TextureToRelease = UpdatableTextures[I];
AsyncTask(ENamedThreads::GameThread, [TextureToRelease]()
{
if (FSlateApplication::IsInitialized())
{
if (FSlateRenderer* Renderer = FSlateApplication::Get().GetRenderer())
{
Renderer->ReleaseUpdatableTexture(TextureToRelease);
}
}
});
UpdatableTextures[I] = nullptr;
}
}
}
bool FCEFWebBrowserWindow::CreateInitialTextures()
{
if (FSlateApplication::IsInitialized())
{
if (FSlateRenderer* Renderer = FSlateApplication::Get().GetRenderer())
{
if (Renderer->HasLostDevice())
{
return false;
}
if (bUsingAcceleratedPaint)
{
if (FCEFWebBrowserWindowRHIHelper::BUseRHIRenderer() && RHIRenderHelper == nullptr)
{
RHIRenderHelper = new FCEFWebBrowserWindowRHIHelper;
}
// the accelerated paint path attaches to the texture at render time as we don't know its details until then
UpdatableTextures[0] = nullptr;
UpdatableTextures[1] = nullptr;
return true;
}
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
// Create a transparent dummy texture for our buffers which will prevent slate from applying an
// undesirable quad if it happens to ask for this buffer before we get a chance to paint to it.
TArray<uint8> RawData;
RawData.AddZeroed(4);
UpdatableTextures[0] = Renderer->CreateUpdatableTexture(1, 1);
if (Renderer->HasLostDevice())
{
return false;
}
UpdatableTextures[0]->UpdateTextureThreadSafeRaw(1, 1, RawData.GetData());
if (Renderer->HasLostDevice())
{
return false;
}
UpdatableTextures[1] = Renderer->CreateUpdatableTexture(1, 1);
if (Renderer->HasLostDevice())
{
return false;
}
UpdatableTextures[1]->UpdateTextureThreadSafeRaw(1, 1, RawData.GetData());
if (Renderer->HasLostDevice())
{
return false;
}
return true;
}
}
return false;
}
FCEFWebBrowserWindow::~FCEFWebBrowserWindow()
{
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @ 2904087) ========================== MAJOR FEATURES + CHANGES ========================== #lockdown Nick.Penwarden Change 2903938 on 2016/03/10 by Frank.Gigliotti Added an instance ID to FAnimMontageInstance #CodeReview Laurent.Delayen #RB Laurent.Delayen #Tests PIE Change 2903745 on 2016/03/10 by Wes.Hunt Update Oodle TPS #rb none #tests none #codereview:john.pollard Change 2903689 on 2016/03/10 by Uriel.Doyon New "LogHeroMaterials" console command, displaying the current state of materials and textures on the character hero. #rb marcus.wasmer #codereview marcus.wassmer #tests editor, playing PC games, trying the new command Change 2903669 on 2016/03/10 by Aaron.McLeran OR-17180 Make stat soundcues and stat soundwaves NOT display zero volume sounds - Change only effects debug stat commands for audio guys #rb none #tests played paragon with new debug stat commands, confirms doesn't show zero-volume sounds Change 2903625 on 2016/03/10 by John.Pollard XB1 Oodle SDK #rb none #tests none #codereview Jeff.Campeau Change 2903577 on 2016/03/10 by Ben.Marsh Remaking latest build scripts from //UE4/Main @ 2900980. Change 2903560 on 2016/03/10 by Ben.Marsh Initial version of BuildGraph scripts - used to create build processes in UE4 which can be run locally or in parallel across a build farm (assuming synchronization and resource allocation implemented by a separate system). Intended to supersede GUBP. Build graphs are declared using an XML script using syntax similar to MSBuild, ANT or NAnt, and consist of the following components: * Tasks: Building blocks which can be executed as part of the build process. Many predefined tasks are provided (<Cook>, <Compile>, <Copy>, <Stage>, <Log>, <PakFile>, etc...), and additional tasks may be added be declaring classes derived from AutomationTool.CustomTask in other UAT modules. * Nodes: A named sequence of tasks which is executed to produce outputs. Nodes may have input dependencies on other nodes before they can be executed. Declared with the <Node> element in scripts. * Agent Groups: A set of nodes nodes which is executed on the same machine if running as part of a build system. Has no effect when building locally. Declared with the <Group> element in scripts. * Triggers: Container for groups which should only be executed when explicitly triggered (using the -Trigger=<Name> or -SkipTriggers command line argument). Declared with the <Trigger> element in scripts. * Notifiers: Specifies email recipients for failures in one or more nodes, whether they should receive notifications on warnings, and so on. Properties can be passed in to a script on the command line, or set procedurally with the <Property Name="Foo" Value="Bar"/> syntax. Properties referenced with the $(Property Name) notation are valid within all strings, and will be expanded as macros when the script is read. If a property name is not set explicitly, it defaults to the contents of an environment variable with the same name. Local properties, which only affect the scope of the containing XML element (node, group, etc...) are declared with the <Local Name="Foo" Value="Bar"/> element, and will override a similarly named global property for the local property's scope. Any elements can be conditionally defined via the "If" attribute, and are largely identical to MSBuild conditions. Literals in conditions may be quoted with single (') or double (") quotes, or an unquoted sequence of letters, digits and underscore characters. All literals are considered identical regardless of how they are declared, and are considered case-insensitive for comparisons (so true equals 'True', equals "TRUE"). Available operators are "==", "!=", "And", "Or", "!", "(...)", "Exists(...)" and "HasTrailingSlash(...)". A full grammar is written up in Condition.cs. File manipulation is done using wildcards and tags. Any attribute that accepts a list of files may consist of: a Perforce-style wildcard (matching any number of "...", "*" and "?" patterns in any location), a full path name, or a reference to a tagged collection of files, denoted by prefixing with a '#' character. Files may be added to a tag set using the <Tag> Task, which also allows performing set union/difference style operations. Each node can declare multiple outputs in the form of a list of named tags, which other nodes can then depend on. Build graphs may be executed in parallel as part build system. To do so, the initial graph configuration is generated by running with the -Export=<Filename> argument (producing a JSON file listing the nodes and dependencies to execute). Each participating agent should be synced to the same changelist, and UAT should be re-run with the appropriate -Node=<Name> argument. Outputs from different nodes are transferred between agents via shared storage, typically a network share, the path to which can be specified on the command line using the -SharedStorageDir=<Path> argument. Note that the allocation of machines, and coordination between them, is assumed to be managed by an external system. A schema for the known set of tasks can be generated by running UAT with the "-Schema=<FileName>" option. Generating a schema and referencing it from a BuildGraph script allows Visual Studio to validate and auto-complete elements as you type. #rb none #codereview Marc.Audy, Wes.Hunt, Matthew.Griffin, Richard.Fawcett #tests local only so far, but not part of any build process yet Change 2903539 on 2016/03/10 by John.Pollard Improve replay playback debugging of character movement #rb none #tests replays Change 2903526 on 2016/03/10 by Ben.Marsh Remake changes from //UE4/Main without integration history, to add support for BuildGraph tasks. #rb none #tests none Change 2903512 on 2016/03/10 by Dan.Youhon Modify minimum Duration values for JumpForce and MoveToForce ability tasks so that having minimum Duration values doesn't trigger check()s #rb None #tests Compiles Change 2903474 on 2016/03/10 by Marc.Audy Fix crash if ChildActor is null #rb None #tests None Change 2903314 on 2016/03/10 by Marc.Audy Fix ParentComponent not being persisted and fixup content that was saved in the window it was broken #rb James.Golding #tests Selection of child actors works as expected #jira UE-28201 Change 2903298 on 2016/03/10 by Simon.Tovey Disabling the trails optimization. #tests none #rb none #codereview Olaf.Piesche Change 2903124 on 2016/03/10 by Robert.Manuszewski Small refactor to pak signing to help with exe protection #rb none #tests none [CL 2907678 by Andrew Grant in Main branch]
2016-03-13 18:53:13 -04:00
WebBrowserHandler->OnCreateWindow().Unbind();
WebBrowserHandler->OnBeforePopup().Unbind();
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
WebBrowserHandler->OnBeforeResourceLoad().Unbind();
WebBrowserHandler->OnResourceLoadComplete().Unbind();
WebBrowserHandler->OnConsoleMessage().Unbind();
if (IsValid())
{
UE_LOG(LogWebBrowser, Log, TEXT("Closing browser during destruction, this may cause a later crash."), *CurrentUrl);
CloseBrowser(true, false);
}
Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @ 2904087) ========================== MAJOR FEATURES + CHANGES ========================== #lockdown Nick.Penwarden Change 2903938 on 2016/03/10 by Frank.Gigliotti Added an instance ID to FAnimMontageInstance #CodeReview Laurent.Delayen #RB Laurent.Delayen #Tests PIE Change 2903745 on 2016/03/10 by Wes.Hunt Update Oodle TPS #rb none #tests none #codereview:john.pollard Change 2903689 on 2016/03/10 by Uriel.Doyon New "LogHeroMaterials" console command, displaying the current state of materials and textures on the character hero. #rb marcus.wasmer #codereview marcus.wassmer #tests editor, playing PC games, trying the new command Change 2903669 on 2016/03/10 by Aaron.McLeran OR-17180 Make stat soundcues and stat soundwaves NOT display zero volume sounds - Change only effects debug stat commands for audio guys #rb none #tests played paragon with new debug stat commands, confirms doesn't show zero-volume sounds Change 2903625 on 2016/03/10 by John.Pollard XB1 Oodle SDK #rb none #tests none #codereview Jeff.Campeau Change 2903577 on 2016/03/10 by Ben.Marsh Remaking latest build scripts from //UE4/Main @ 2900980. Change 2903560 on 2016/03/10 by Ben.Marsh Initial version of BuildGraph scripts - used to create build processes in UE4 which can be run locally or in parallel across a build farm (assuming synchronization and resource allocation implemented by a separate system). Intended to supersede GUBP. Build graphs are declared using an XML script using syntax similar to MSBuild, ANT or NAnt, and consist of the following components: * Tasks: Building blocks which can be executed as part of the build process. Many predefined tasks are provided (<Cook>, <Compile>, <Copy>, <Stage>, <Log>, <PakFile>, etc...), and additional tasks may be added be declaring classes derived from AutomationTool.CustomTask in other UAT modules. * Nodes: A named sequence of tasks which is executed to produce outputs. Nodes may have input dependencies on other nodes before they can be executed. Declared with the <Node> element in scripts. * Agent Groups: A set of nodes nodes which is executed on the same machine if running as part of a build system. Has no effect when building locally. Declared with the <Group> element in scripts. * Triggers: Container for groups which should only be executed when explicitly triggered (using the -Trigger=<Name> or -SkipTriggers command line argument). Declared with the <Trigger> element in scripts. * Notifiers: Specifies email recipients for failures in one or more nodes, whether they should receive notifications on warnings, and so on. Properties can be passed in to a script on the command line, or set procedurally with the <Property Name="Foo" Value="Bar"/> syntax. Properties referenced with the $(Property Name) notation are valid within all strings, and will be expanded as macros when the script is read. If a property name is not set explicitly, it defaults to the contents of an environment variable with the same name. Local properties, which only affect the scope of the containing XML element (node, group, etc...) are declared with the <Local Name="Foo" Value="Bar"/> element, and will override a similarly named global property for the local property's scope. Any elements can be conditionally defined via the "If" attribute, and are largely identical to MSBuild conditions. Literals in conditions may be quoted with single (') or double (") quotes, or an unquoted sequence of letters, digits and underscore characters. All literals are considered identical regardless of how they are declared, and are considered case-insensitive for comparisons (so true equals 'True', equals "TRUE"). Available operators are "==", "!=", "And", "Or", "!", "(...)", "Exists(...)" and "HasTrailingSlash(...)". A full grammar is written up in Condition.cs. File manipulation is done using wildcards and tags. Any attribute that accepts a list of files may consist of: a Perforce-style wildcard (matching any number of "...", "*" and "?" patterns in any location), a full path name, or a reference to a tagged collection of files, denoted by prefixing with a '#' character. Files may be added to a tag set using the <Tag> Task, which also allows performing set union/difference style operations. Each node can declare multiple outputs in the form of a list of named tags, which other nodes can then depend on. Build graphs may be executed in parallel as part build system. To do so, the initial graph configuration is generated by running with the -Export=<Filename> argument (producing a JSON file listing the nodes and dependencies to execute). Each participating agent should be synced to the same changelist, and UAT should be re-run with the appropriate -Node=<Name> argument. Outputs from different nodes are transferred between agents via shared storage, typically a network share, the path to which can be specified on the command line using the -SharedStorageDir=<Path> argument. Note that the allocation of machines, and coordination between them, is assumed to be managed by an external system. A schema for the known set of tasks can be generated by running UAT with the "-Schema=<FileName>" option. Generating a schema and referencing it from a BuildGraph script allows Visual Studio to validate and auto-complete elements as you type. #rb none #codereview Marc.Audy, Wes.Hunt, Matthew.Griffin, Richard.Fawcett #tests local only so far, but not part of any build process yet Change 2903539 on 2016/03/10 by John.Pollard Improve replay playback debugging of character movement #rb none #tests replays Change 2903526 on 2016/03/10 by Ben.Marsh Remake changes from //UE4/Main without integration history, to add support for BuildGraph tasks. #rb none #tests none Change 2903512 on 2016/03/10 by Dan.Youhon Modify minimum Duration values for JumpForce and MoveToForce ability tasks so that having minimum Duration values doesn't trigger check()s #rb None #tests Compiles Change 2903474 on 2016/03/10 by Marc.Audy Fix crash if ChildActor is null #rb None #tests None Change 2903314 on 2016/03/10 by Marc.Audy Fix ParentComponent not being persisted and fixup content that was saved in the window it was broken #rb James.Golding #tests Selection of child actors works as expected #jira UE-28201 Change 2903298 on 2016/03/10 by Simon.Tovey Disabling the trails optimization. #tests none #rb none #codereview Olaf.Piesche Change 2903124 on 2016/03/10 by Robert.Manuszewski Small refactor to pak signing to help with exe protection #rb none #tests none [CL 2907678 by Andrew Grant in Main branch]
2016-03-13 18:53:13 -04:00
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
ReleaseTextures();
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
BufferedVideo.Reset();
if (RHIRenderHelper != nullptr)
{
delete RHIRenderHelper;
}
UE_LOG(LogWebBrowser, Log, TEXT("Deleting browser for Url=%s."), *CurrentUrl);
}
void FCEFWebBrowserWindow::LoadURL(FString NewURL)
{
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
RequestNavigationInternal(NewURL, FString());
}
void FCEFWebBrowserWindow::LoadString(FString Contents, FString DummyURL)
{
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
RequestNavigationInternal(DummyURL, Contents);
}
TSharedRef<SViewport> FCEFWebBrowserWindow::CreateWidget()
{
TSharedRef<SViewport> BrowserWidgetRef =
SNew(SViewport)
.EnableGammaCorrection(false)
.EnableBlending(bUseTransparency)
.IgnoreTextureAlpha(!bUseTransparency)
.RenderTransform(this, &FCEFWebBrowserWindow::GetWebBrowserRenderTransform);
#if !PLATFORM_LINUX
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
Ime->CacheBrowserSlateInfo(BrowserWidgetRef);
#endif
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
return BrowserWidgetRef;
}
TOptional<FSlateRenderTransform> FCEFWebBrowserWindow::GetWebBrowserRenderTransform() const
{
TOptional<FSlateRenderTransform> LocalRenderTransform = FSlateRenderTransform();
if (bUsingAcceleratedPaint)
{
if (RHIRenderHelper != nullptr)
{
LocalRenderTransform = RHIRenderHelper->GetWebBrowserRenderTransform();
}
else
{
LocalRenderTransform = FSlateRenderTransform(Concatenate(FScale2D(1, -1), FVector2D(0, ViewportSize.Y)));
}
}
return LocalRenderTransform;
}
bool FCEFWebBrowserWindow::IsInDirectHwndMode() const
{
#if PLATFORM_WINDOWS
return bInDirectHwndMode;
#endif
return false;
}
void FCEFWebBrowserWindow::SetViewportSize(FIntPoint WindowSize, FIntPoint WindowPos)
{
// SetViewportSize is called from the browser viewport tick method, which means that since we are receiving ticks, we can mark the browser as visible.
if (! bIsDisabled)
{
SetIsHidden(false);
}
bTickedLastFrame=true;
float WindowDPIScaleFactor = 1.0f;
if (TSharedPtr<SWindow> ParentWindowPtr = ParentWindow.Pin())
{
WindowDPIScaleFactor = ParentWindowPtr->GetNativeWindow()->GetDPIScaleFactor();
}
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
// Ignore sizes that can't be seen as it forces CEF to re-render whole image
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
if ((WindowSize.X > 0 && WindowSize.Y > 0 && ViewportSize != WindowSize) || WindowDPIScaleFactor != ViewportDPIScaleFactor)
{
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
bool bFirstSize = ViewportSize == FIntPoint::ZeroValue;
ViewportSize = WindowSize;
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
ViewportDPIScaleFactor = WindowDPIScaleFactor;
if (IsValid())
{
#if PLATFORM_WINDOWS
HWND NativeHandle = InternalCefBrowser->GetHost()->GetWindowHandle();
if (NativeHandle)
{
HWND Parent = ::GetParent(NativeHandle);
// Position is in screen coordinates, so we'll need to get the parent window location first.
RECT ParentRect = { 0, 0, 0, 0 };
if (Parent)
{
::GetWindowRect(Parent, &ParentRect);
}
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
FIntPoint WindowSizeScaled = (FVector2D(WindowSize) * WindowDPIScaleFactor).IntPoint();
::SetWindowPos(NativeHandle, 0, WindowPos.X - ParentRect.left, WindowPos.Y - ParentRect.top, WindowSizeScaled.X, WindowSizeScaled.Y, 0);
}
#endif
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
if (bFirstSize)
{
InternalCefBrowser->GetHost()->WasResized();
}
else
{
bNeedsResize = true;
}
}
}
}
FSlateShaderResource* FCEFWebBrowserWindow::GetTexture(bool bIsPopup)
{
if (UpdatableTextures[bIsPopup?1:0] != nullptr)
{
return UpdatableTextures[bIsPopup?1:0]->GetSlateResource();
}
return nullptr;
}
bool FCEFWebBrowserWindow::IsValid() const
{
return InternalCefBrowser.get() != nullptr;
}
bool FCEFWebBrowserWindow::IsInitialized() const
{
return bIsInitialized;
}
bool FCEFWebBrowserWindow::IsClosing() const
{
return bIsClosing;
}
EWebBrowserDocumentState FCEFWebBrowserWindow::GetDocumentLoadingState() const
{
return DocumentState;
}
FString FCEFWebBrowserWindow::GetTitle() const
{
return Title;
}
FString FCEFWebBrowserWindow::GetUrl() const
{
if (InternalCefBrowser != nullptr)
{
CefRefPtr<CefFrame> MainFrame = InternalCefBrowser->GetMainFrame();
if (MainFrame != nullptr)
{
return CurrentUrl;
}
}
return FString();
}
void FCEFWebBrowserWindow::GetSource(TFunction<void (const FString&)> Callback) const
{
if (IsValid())
{
InternalCefBrowser->GetMainFrame()->GetSource(new FWebBrowserClosureVisitor(Callback));
}
else
{
Callback(FString());
}
}
void FCEFWebBrowserWindow::PopulateCefKeyEvent(const FKeyEvent& InKeyEvent, CefKeyEvent& OutKeyEvent)
{
#if PLATFORM_MAC
OutKeyEvent.native_key_code = InKeyEvent.GetKeyCode();
FKey Key = InKeyEvent.GetKey();
if (Key == EKeys::BackSpace)
{
OutKeyEvent.unmodified_character = kBackspaceCharCode;
}
else if (Key == EKeys::Tab)
{
OutKeyEvent.unmodified_character = kTabCharCode;
}
else if (Key == EKeys::Enter)
{
OutKeyEvent.unmodified_character = kReturnCharCode;
}
else if (Key == EKeys::Pause)
{
OutKeyEvent.unmodified_character = NSPauseFunctionKey;
}
else if (Key == EKeys::Escape)
{
OutKeyEvent.unmodified_character = kEscapeCharCode;
}
else if (Key == EKeys::PageUp)
{
OutKeyEvent.unmodified_character = NSPageUpFunctionKey;
}
else if (Key == EKeys::PageDown)
{
OutKeyEvent.unmodified_character = NSPageDownFunctionKey;
}
else if (Key == EKeys::End)
{
OutKeyEvent.unmodified_character = NSEndFunctionKey;
}
else if (Key == EKeys::Home)
{
OutKeyEvent.unmodified_character = NSHomeFunctionKey;
}
else if (Key == EKeys::Left)
{
OutKeyEvent.unmodified_character = NSLeftArrowFunctionKey;
}
else if (Key == EKeys::Up)
{
OutKeyEvent.unmodified_character = NSUpArrowFunctionKey;
}
else if (Key == EKeys::Right)
{
OutKeyEvent.unmodified_character = NSRightArrowFunctionKey;
}
else if (Key == EKeys::Down)
{
OutKeyEvent.unmodified_character = NSDownArrowFunctionKey;
}
else if (Key == EKeys::Insert)
{
OutKeyEvent.unmodified_character = NSInsertFunctionKey;
}
else if (Key == EKeys::Delete)
{
OutKeyEvent.unmodified_character = kDeleteCharCode;
}
else if (Key == EKeys::F1)
{
OutKeyEvent.unmodified_character = NSF1FunctionKey;
}
else if (Key == EKeys::F2)
{
OutKeyEvent.unmodified_character = NSF2FunctionKey;
}
else if (Key == EKeys::F3)
{
OutKeyEvent.unmodified_character = NSF3FunctionKey;
}
else if (Key == EKeys::F4)
{
OutKeyEvent.unmodified_character = NSF4FunctionKey;
}
else if (Key == EKeys::F5)
{
OutKeyEvent.unmodified_character = NSF5FunctionKey;
}
else if (Key == EKeys::F6)
{
OutKeyEvent.unmodified_character = NSF6FunctionKey;
}
else if (Key == EKeys::F7)
{
OutKeyEvent.unmodified_character = NSF7FunctionKey;
}
else if (Key == EKeys::F8)
{
OutKeyEvent.unmodified_character = NSF8FunctionKey;
}
else if (Key == EKeys::F9)
{
OutKeyEvent.unmodified_character = NSF9FunctionKey;
}
else if (Key == EKeys::F10)
{
OutKeyEvent.unmodified_character = NSF10FunctionKey;
}
else if (Key == EKeys::F11)
{
OutKeyEvent.unmodified_character = NSF11FunctionKey;
}
else if (Key == EKeys::F12)
{
OutKeyEvent.unmodified_character = NSF12FunctionKey;
}
else if (Key == EKeys::CapsLock)
{
OutKeyEvent.unmodified_character = 0;
OutKeyEvent.native_key_code = kVK_CapsLock;
}
else if (Key.IsModifierKey())
{
// Setting both unmodified_character and character to 0 tells CEF that it needs to generate a NSFlagsChanged event instead of NSKeyDown/Up
OutKeyEvent.unmodified_character = 0;
// CEF expects modifier key codes as one of the Carbon kVK_* key codes.
if (Key == EKeys::LeftCommand)
{
OutKeyEvent.native_key_code = kVK_Command;
}
else if (Key == EKeys::LeftShift)
{
OutKeyEvent.native_key_code = kVK_Shift;
}
else if (Key == EKeys::LeftAlt)
{
OutKeyEvent.native_key_code = kVK_Option;
}
else if (Key == EKeys::LeftControl)
{
OutKeyEvent.native_key_code = kVK_Control;
}
else if (Key == EKeys::RightCommand)
{
// There isn't a separate code for the right hand command key defined, but CEF seems to use the unused value before the left command keycode
OutKeyEvent.native_key_code = kVK_Command-1;
}
else if (Key == EKeys::RightShift)
{
OutKeyEvent.native_key_code = kVK_RightShift;
}
else if (Key == EKeys::RightAlt)
{
OutKeyEvent.native_key_code = kVK_RightOption;
}
else if (Key == EKeys::RightControl)
{
OutKeyEvent.native_key_code = kVK_RightControl;
}
}
else
{
OutKeyEvent.unmodified_character = InKeyEvent.GetCharacter();
}
OutKeyEvent.character = OutKeyEvent.unmodified_character;
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
#elif PLATFORM_LINUX
OutKeyEvent.native_key_code = InKeyEvent.GetKeyCode();
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
FKey Key = InKeyEvent.GetKey();
// helper macro so we can fill in all the A-Z, 0-9 keys
#define LETTER_KEY_MACRO(val, vkey) else if(Key == EKeys::val) \
{ \
OutKeyEvent.unmodified_character = InKeyEvent.GetCharacter(); \
OutKeyEvent.windows_key_code = vkey; \
} \
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
if (Key == EKeys::BackSpace)
{
OutKeyEvent.windows_key_code = VKEY_BACK;
}
else if (Key == EKeys::Tab)
{
OutKeyEvent.windows_key_code = VKEY_TAB;
}
else if (Key == EKeys::Enter)
{
OutKeyEvent.windows_key_code = VKEY_RETURN;
}
else if (Key == EKeys::Pause)
{
OutKeyEvent.windows_key_code = VKEY_PAUSE;
}
else if (Key == EKeys::Escape)
{
OutKeyEvent.windows_key_code = VKEY_ESCAPE;
}
else if (Key == EKeys::PageUp)
{
OutKeyEvent.windows_key_code = VKEY_PRIOR;
}
else if (Key == EKeys::PageDown)
{
OutKeyEvent.windows_key_code = VKEY_NEXT;
}
else if (Key == EKeys::End)
{
OutKeyEvent.windows_key_code = VKEY_END;
}
else if (Key == EKeys::Home)
{
OutKeyEvent.windows_key_code = VKEY_HOME;
}
else if (Key == EKeys::Left)
{
OutKeyEvent.windows_key_code = VKEY_LEFT;
}
else if (Key == EKeys::Up)
{
OutKeyEvent.windows_key_code = VKEY_UP;
}
else if (Key == EKeys::Right)
{
OutKeyEvent.windows_key_code = VKEY_RIGHT;
}
else if (Key == EKeys::Down)
{
OutKeyEvent.windows_key_code = VKEY_DOWN;
}
else if (Key == EKeys::Insert)
{
OutKeyEvent.windows_key_code = VKEY_INSERT;
}
else if (Key == EKeys::Delete)
{
OutKeyEvent.windows_key_code = VKEY_DELETE;
}
else if (Key == EKeys::F1)
{
OutKeyEvent.windows_key_code = VKEY_F1;
}
else if (Key == EKeys::F2)
{
OutKeyEvent.windows_key_code = VKEY_F2;
}
else if (Key == EKeys::F3)
{
OutKeyEvent.windows_key_code = VKEY_F3;
}
else if (Key == EKeys::F4)
{
OutKeyEvent.windows_key_code = VKEY_F4;
}
else if (Key == EKeys::F5)
{
OutKeyEvent.windows_key_code = VKEY_F5;
}
else if (Key == EKeys::F6)
{
OutKeyEvent.windows_key_code = VKEY_F6;
}
else if (Key == EKeys::F7)
{
OutKeyEvent.windows_key_code = VKEY_F7;
}
else if (Key == EKeys::F8)
{
OutKeyEvent.windows_key_code = VKEY_F8;
}
else if (Key == EKeys::F9)
{
OutKeyEvent.windows_key_code = VKEY_F9;
}
else if (Key == EKeys::F10)
{
OutKeyEvent.windows_key_code = VKEY_F10;
}
else if (Key == EKeys::F11)
{
OutKeyEvent.windows_key_code = VKEY_F11;
}
else if (Key == EKeys::F12)
{
OutKeyEvent.windows_key_code = VKEY_F12;
}
else if (Key == EKeys::CapsLock)
{
OutKeyEvent.windows_key_code = VKEY_CAPITAL;
}
else if (Key == EKeys::LeftCommand)
{
OutKeyEvent.windows_key_code = VKEY_MENU;
}
else if (Key == EKeys::LeftShift)
{
OutKeyEvent.windows_key_code = VKEY_SHIFT;
}
else if (Key == EKeys::LeftAlt)
{
OutKeyEvent.windows_key_code = VKEY_MENU;
}
else if (Key == EKeys::LeftControl)
{
OutKeyEvent.windows_key_code = VKEY_CONTROL;
}
else if (Key == EKeys::RightCommand)
{
OutKeyEvent.windows_key_code = VKEY_MENU;
}
else if (Key == EKeys::RightShift)
{
OutKeyEvent.windows_key_code = VKEY_SHIFT;
}
else if (Key == EKeys::RightAlt)
{
OutKeyEvent.windows_key_code = VKEY_MENU;
}
else if (Key == EKeys::RightControl)
{
OutKeyEvent.windows_key_code = VKEY_CONTROL;
}
else if(Key == EKeys::NumPadOne)
{
OutKeyEvent.windows_key_code = VKEY_NUMPAD1;
}
else if(Key == EKeys::NumPadTwo)
{
OutKeyEvent.windows_key_code = VKEY_NUMPAD2;
}
else if(Key == EKeys::NumPadThree)
{
OutKeyEvent.windows_key_code = VKEY_NUMPAD3;
}
else if(Key == EKeys::NumPadFour)
{
OutKeyEvent.windows_key_code = VKEY_NUMPAD4;
}
else if(Key == EKeys::NumPadFive)
{
OutKeyEvent.windows_key_code = VKEY_NUMPAD5;
}
else if(Key == EKeys::NumPadSix)
{
OutKeyEvent.windows_key_code = VKEY_NUMPAD6;
}
else if(Key == EKeys::NumPadSeven)
{
OutKeyEvent.windows_key_code = VKEY_NUMPAD7;
}
else if(Key == EKeys::NumPadEight)
{
OutKeyEvent.windows_key_code = VKEY_NUMPAD8;
}
else if(Key == EKeys::NumPadNine)
{
OutKeyEvent.windows_key_code = VKEY_NUMPAD9;
}
else if(Key == EKeys::NumPadZero)
{
OutKeyEvent.windows_key_code = VKEY_NUMPAD0;
}
LETTER_KEY_MACRO( A, VKEY_A)
LETTER_KEY_MACRO( B, VKEY_B)
LETTER_KEY_MACRO( C, VKEY_C)
LETTER_KEY_MACRO( D, VKEY_D)
LETTER_KEY_MACRO( E, VKEY_E)
LETTER_KEY_MACRO( F, VKEY_F)
LETTER_KEY_MACRO( G, VKEY_G)
LETTER_KEY_MACRO( H, VKEY_H)
LETTER_KEY_MACRO( I, VKEY_I)
LETTER_KEY_MACRO( J, VKEY_J)
LETTER_KEY_MACRO( K, VKEY_K)
LETTER_KEY_MACRO( L, VKEY_L)
LETTER_KEY_MACRO( M, VKEY_M)
LETTER_KEY_MACRO( N, VKEY_N)
LETTER_KEY_MACRO( O, VKEY_O)
LETTER_KEY_MACRO( P, VKEY_P)
LETTER_KEY_MACRO( Q, VKEY_Q)
LETTER_KEY_MACRO( R, VKEY_R)
LETTER_KEY_MACRO( S, VKEY_S)
LETTER_KEY_MACRO( T, VKEY_T)
LETTER_KEY_MACRO( U, VKEY_U)
LETTER_KEY_MACRO( V, VKEY_V)
LETTER_KEY_MACRO( W, VKEY_W)
LETTER_KEY_MACRO( X, VKEY_X)
LETTER_KEY_MACRO( Y, VKEY_Y)
LETTER_KEY_MACRO( Z, VKEY_Z)
LETTER_KEY_MACRO( Zero, VKEY_0)
LETTER_KEY_MACRO( One, VKEY_1)
LETTER_KEY_MACRO( Two, VKEY_2)
LETTER_KEY_MACRO( Three, VKEY_3)
LETTER_KEY_MACRO( Four, VKEY_4)
LETTER_KEY_MACRO( Five, VKEY_5)
LETTER_KEY_MACRO( Six, VKEY_6)
LETTER_KEY_MACRO( Seven, VKEY_7)
LETTER_KEY_MACRO( Eight, VKEY_8)
LETTER_KEY_MACRO( Nine, VKEY_9)
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
else
{
OutKeyEvent.unmodified_character = InKeyEvent.GetCharacter();
OutKeyEvent.windows_key_code = VKEY_UNKNOWN;
}
#else
OutKeyEvent.windows_key_code = InKeyEvent.GetKeyCode();
#endif
OutKeyEvent.modifiers = GetCefKeyboardModifiers(InKeyEvent);
//UE_LOG(LogWebBrowser, Log, TEXT("Modifiers: %i %i %i") , OutKeyEvent.unmodified_character, OutKeyEvent.windows_key_code, OutKeyEvent.modifiers);
}
bool FCEFWebBrowserWindow::OnKeyDown(const FKeyEvent& InKeyEvent)
{
if (IsValid() && !bIgnoreKeyDownEvent)
{
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
#if PLATFORM_MAC
// Special case for Mac - make sure Cmd+~ is always passed back to the OS
if (InKeyEvent.GetKey() == EKeys::Tilde && InKeyEvent.IsControlDown())
{
return false;
}
#endif
PreviousKeyDownEvent = InKeyEvent;
CefKeyEvent KeyEvent;
PopulateCefKeyEvent(InKeyEvent, KeyEvent);
KeyEvent.type = KEYEVENT_RAWKEYDOWN;
InternalCefBrowser->GetHost()->SendKeyEvent(KeyEvent);
return true;
}
return false;
}
bool FCEFWebBrowserWindow::OnKeyUp(const FKeyEvent& InKeyEvent)
{
if (IsValid() && !bIgnoreKeyUpEvent)
{
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
#if PLATFORM_MAC
// Special case for Mac - make sure Cmd+~ is always passed back to the OS
if (InKeyEvent.GetKey() == EKeys::Tilde && InKeyEvent.IsControlDown())
{
return false;
}
#endif
PreviousKeyUpEvent = InKeyEvent;
CefKeyEvent KeyEvent;
PopulateCefKeyEvent(InKeyEvent, KeyEvent);
KeyEvent.type = KEYEVENT_KEYUP;
InternalCefBrowser->GetHost()->SendKeyEvent(KeyEvent);
return true;
}
return false;
}
bool FCEFWebBrowserWindow::OnKeyChar(const FCharacterEvent& InCharacterEvent)
{
if (IsValid() && !bIgnoreCharacterEvent)
{
PreviousCharacterEvent = InCharacterEvent;
CefKeyEvent KeyEvent;
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3206916) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3175510 on 2016/10/26 by Josh.Adams - New Wolf SDK support (11). - Added new input plugin now that extra NDA is lifted Change 3176629 on 2016/10/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3177232 on 2016/10/27 by Josh.Adams - Minor comment change Change 3177348 on 2016/10/27 by Dmitry.Rekman Linux: default to GL4. Change 3177523 on 2016/10/27 by Dmitry.Rekman Linux: update libc++ to 3.9 and add AArch64. Change 3178208 on 2016/10/28 by Daniel.Lamb Enable multithreaded lightmap encoding. Change 3178273 on 2016/10/28 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix crash in PS4 packaging step. - Parallel-for accessing the same log files, causing IOException. Change 3178573 on 2016/10/28 by Dmitry.Rekman Linux: fix for projects not having proper version associations (UE-5954). - Fixed by CengizT. Change 3180487 on 2016/10/31 by Josh.Adams Moved new file to peoper spot Change 3180508 on 2016/10/31 by Josh.Adams - Fixed crash on audio free for Wolf Change 3181821 on 2016/11/01 by Josh.Adams - Fixed ShooterGame cooking after sync from main Change 3182469 on 2016/11/01 by Josh.Adams - test/shipping build wolf fixes Change 3183078 on 2016/11/02 by Josh.Adams - Added AllDesktop back in for Windows (File | Package) Change 3183229 on 2016/11/02 by Josh.Adams - Fixed wrong path in JunkManifest.txt Change 3184245 on 2016/11/02 by Dmitry.Rekman Linux: add AArch64 (ARM64) libs. Change 3184326 on 2016/11/02 by Dmitry.Rekman Linux: add more files for AArch64. Change 3184353 on 2016/11/02 by Dmitry.Rekman Linux: Add missed AArch64 libpng. Change 3184871 on 2016/11/03 by Luke.Thatcher [PLATFORM] [PS4] [!] Fix broken DownloadImage blueprint node on PS4. - Node should return a UTexture2DDynamic, otherwise the RHI assumes the data has been pre-formatted for the GPU, and we get pitch/layout issues. #jira UE-36365 Change 3185407 on 2016/11/03 by Dmitry.Rekman Linux: fix PhysX on AArch64. (Edigrating 3184484 from Wombat to Dev-Platform). Change 3187488 on 2016/11/04 by Josh.Adams Copying //Tasks/UE4/Private-Platform-Switch to Dev-Platform-Minimal (//UE4/Dev-Platform-Minimal) Change 3187740 on 2016/11/04 by Josh.Adams - Re-copying the Switch files, now with proper case in the directory names Change 3188304 on 2016/11/07 by Dan.Mahashin - Removed deprecated functions in NVN window creation Change 3188865 on 2016/11/07 by Luke.Thatcher [PLATFORM] [PS4] [~] Move PS4 console input handler into engine classes from OrionGame. - Enables console input from Sony's "Console Output" tool for all games, in debug/development builds. #jira UE-37672 Change 3189517 on 2016/11/07 by Jeff.Campeau Fix incorrect local platform identification in device manager. #jira UE-38312 Change 3189897 on 2016/11/08 by Luke.Thatcher [PLATFORM] [!] Fix width/height mismatch in DownloadImage blueprint node. Change 3190042 on 2016/11/08 by Josh.Adams - Fixed default and Shooter App Ids for Switch Change 3190181 on 2016/11/08 by Joe.Barnes [UE-37275] Split reflection capture error message into two UE_LOG()s. Line length causes truncation and line wrap on some platforms. Change 3190185 on 2016/11/08 by Joe.Barnes Fix another instance of UE_LOG() where the string was being truncated on Switch platform. Change 3190272 on 2016/11/08 by Daniel.Lamb Add file hashes to depependency tracking info. Moved partial gc controlling code outside of the cooker. Store cooked file hashes in cooked asset registry. Cooked asset registry is now part of the cooker instead of chunking manifest. #test cook paragon Change 3190332 on 2016/11/08 by Omar.Rodriguez Fixing issues with iOS remote notifications * Update UPlatformGameInstance::FPlatformRegisteredForRemoteNotificationsDelegate signature so the parameter is const& which will work with BlueprintAssignable * Fix misspelling when doing respondsToSelector check * Update generated Xcode project to use the generated entitlements file * Add remote-notification as a background mode * Update the generated entitlements file contents to include APS environment for push notifications * Added bEnableRemoteNotificationsSupport ini parameter to control whether iOS push notifications code is compiled Change 3190391 on 2016/11/08 by Brent.Pease UE-31739 - Crash when Deploying to iPad Air with BC4 Texture Compression Setting (Josh's suggestion worked out of the box) Change 3190786 on 2016/11/08 by Bart.Hawthorne Fix some missing PLATFORM_WOLF changes to PLATFORM_SWITCH in ShooterGame Change 3190902 on 2016/11/08 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android #jira UE-37845 #android Change 3190973 on 2016/11/08 by Chris.Babcock Add ability to set element value field with new text parameter for UPL #jira UE-37390 #PR #2869 #ue4 #upl Change 3191411 on 2016/11/09 by Josh.Stoddard Warn when user tries to use a shared pak reader on the wrong thread #jira UE-38049 Change 3191635 on 2016/11/09 by Josh.Stoddard More useful message during cook when AT9 assets fail to encode using SCE's tool #jira UE-38053 Change 3191663 on 2016/11/09 by Peter.Sauerbrei fix for ios build from PC Change 3191701 on 2016/11/09 by Brent.Pease implement iOS device logs on windows Change 3191794 on 2016/11/09 by Daniel.Lamb Fixed up compile error missing header file. #test Compile editor #jira UE-38414 Change 3191807 on 2016/11/09 by Josh.Adams - Fixed one chage that was missed in the WolfPlat->Switch rename Change 3191867 on 2016/11/09 by Josh.Adams - Enabled Switch for ShooterGame project Change 3191958 on 2016/11/09 by Jeff.Campeau Add warning for anyone still using XP Change 3192185 on 2016/11/09 by Josh.Adams - Updated to SDK 0.11.12 - Added TrackLotCheckItem API to track guidelines with limits (nothing using it yet) Change 3192241 on 2016/11/09 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3192324 on 2016/11/09 by Josh.Adams - Worked around an issue with RunOnTarget stripping quotes around paths with spaces #jira UE-38388 Change 3192387 on 2016/11/09 by Josh.Adams - Updating editor icon for Switch #jira UE-38295 Change 3192476 on 2016/11/09 by Dmitry.Rekman Linux: put correct OpenAL lib per architecture. (Edigrating CL 3185947 from Wombat to Dev-Platform) Change 3192527 on 2016/11/09 by Josh.Adams - Fixed a shadow variable warning #jira UE-38408 Change 3192606 on 2016/11/09 by Jeff.Campeau XP option removed #jira UEPLAT-1542 Change 3192644 on 2016/11/09 by Josh.Adams - Fixed a CIS error (not sure why I don't get it, but hey) Change 3192659 on 2016/11/09 by Josh.Adams - Fixed a crash in DeploymentServer Change 3192672 on 2016/11/09 by Jeff.Campeau Fix WinXP message spamming Change 3193252 on 2016/11/10 by Josh.Adams - Remove assertion in SwitchTextureFormat when the SDK can't be found (if you are sharing DLLs) Change 3193756 on 2016/11/10 by Dmitry.Rekman Linux: add support for touch events. (Edigrating CL 3188159 from Wombat to Dev-Platform). Change 3194297 on 2016/11/10 by Jeff.Campeau HarfBuzz implementation for Xbox One #jira UE-28590 Change 3194299 on 2016/11/10 by Jeff.Campeau Pump Xbox One messaging during slow startup tasks #jira UEPLAT-1276 Change 3194300 on 2016/11/10 by Jeff.Campeau Use response files when building for Xbox One #jira UEPLAT-1296 Change 3194313 on 2016/11/11 by Jeff.Campeau Stop uploading symbols on the first error Show a more detailed error message if symbol uploading fails Add a command line option to disable upload of symbols #1852 #jira UE-24425 Change 3194327 on 2016/11/11 by Jeff.Campeau Deduplicate Xbox One build.cs setup for several modules #jira UE-37540 Change 3194402 on 2016/11/11 by Dmitry.Rekman Linux: do not apply mouse workaround unnecessarily. - Only matters when there is more than one window. (Edigrating 3194399 from Wombat to Dev-Platform). Change 3194434 on 2016/11/11 by Dan.Mahashin - Ported fix CL 3193690: Add workaround to file I/O error about ResultInvalidCurrentMemory when reloading levels - remove uncached attribute during memory pool finalization Change 3194569 on 2016/11/11 by Daniel.Lamb Fixed issue with CreateLinker failing to return LinkerLoad but creating a UPackage which can't be cleaned up. Change 3194570 on 2016/11/11 by Daniel.Lamb Fix for DiffSerializeArchive not using the correct archive when saving packages. #test Cook paragon Change 3194571 on 2016/11/11 by Daniel.Lamb Make sure dependent packages are valid before using them. Added FastBuildCookRun bat file for paragon testing. #test Cook Paragon Change 3194575 on 2016/11/11 by Daniel.Lamb Reworked a warning for the cooker. Change 3194698 on 2016/11/11 by Daniel.Lamb Skip skin verify only runs on build machines now. Saves paragon cook time. Change 3194699 on 2016/11/11 by Daniel.Lamb Changed the wording of skip editor content setting so it's more clear. #test none Change 3194702 on 2016/11/11 by Daniel.Lamb Potential fix for default materials not being in chunk zero. #test run ps4 cooked build paragon Change 3194711 on 2016/11/11 by Alicia.Cano Allow RTTI and exceptions to be enabled for Android Allow RTTI to be enabled for IOS, Mac #jira UE-37845, UE-20314 #android #ios #mac Change 3194956 on 2016/11/11 by Josh.Adams - Removed the crash with unknown socket error code, left in the warning Change 3195028 on 2016/11/11 by Dmitry.Rekman Linux: repair launch on. (Edigrating 3194384 from //UE4/Private-Wombat/... to //UE4/Dev-Platform/...) Change 3195041 on 2016/11/11 by Dmitry.Rekman Linux: support selecting architectures per project. (Edigrating 3192783 from Wombat to Dev-Platform). Change 3195058 on 2016/11/11 by Dmitry.Rekman Linux: fix code to determine number of cores. - ARM topology seems not to be in line with the assumptions made by x86-centric code. (Merging 3184632 from Wombat to Dev-Platform). Change 3195082 on 2016/11/11 by Josh.Adams - Fixed name of packaged Switch builds to have the config in it (Shipping, etc) #jira UE-38394 Change 3195151 on 2016/11/11 by Bart.Hawthorne - Add game server settings to project settings to connect to the actual game server, instead of the debug login - Use the system software dialog box to show error codes for login failures Change 3195153 on 2016/11/11 by Josh.Adams - Fixed copy and paste logs errors Change 3195156 on 2016/11/11 by Josh.Adams - Fixed some default values, especially for save games (uses their default of 4MB size) - Added some LotCheck write tracking Change 3195285 on 2016/11/11 by Jeff.Campeau Fix HarfBuzz warning on Xbox One Change 3195477 on 2016/11/11 by Josh.Adams - Fixed up some IsGameOnly calls #jira UE-37575 Change 3195490 on 2016/11/11 by Dmitry.Rekman UAT: fix CIS (removed old variables). Change 3195724 on 2016/11/11 by Josh.Adams - Final fix for name of .nsp (content only projects in Shipping config, etc) #jira UE-38394 Change 3195755 on 2016/11/11 by Josh.Adams - Made translucent Switch icons Change 3195771 on 2016/11/11 by Josh.Adams - Fixed some Switch "space in path" issues #jira UE-38393 Change 3195801 on 2016/11/11 by Josh.Adams - Handle making sure the save is completed before we shutdown #jira UE-38215 Change 3196593 on 2016/11/14 by Michael.Trepka Implemented Info string in AvfMedia for display in Media Player Editor #jira UE-35386 Change 3196782 on 2016/11/14 by Josh.Adams - Added a comment for a workaround Change 3196784 on 2016/11/14 by Michael.Trepka Alembic importer for Mac #jira UE-37708 Change 3196901 on 2016/11/14 by Alicia.Cano ADB over wifi fails to deploy on Launch on. #jira UE-37957 #android Change 3197055 on 2016/11/14 by Josh.Adams - Fixed BinnedAllocator crash that happened with PoisonProxy and large allocations with large alignment Change 3197059 on 2016/11/14 by Josh.Adams - Removed some stat code with no STATS Change 3197066 on 2016/11/14 by Josh.Adams - Fixed the generic growableallocator to not free metadata before it's used for stats, and cleaned up a couple minor things Change 3197176 on 2016/11/14 by Josh.Adams - Added some helper scripts to switch in and out of debug mode on Switch Change 3197183 on 2016/11/14 by Bart.Hawthorne Error dialog fixes based on peer review feedback from JoshA Change 3197339 on 2016/11/14 by Josh.Adams Allow -htcs on the commandline now to override disabling Htcs in packaged builds Change 3197401 on 2016/11/14 by Josh.Adams - Fixed the Switch package installation script to remove the path of the package, since it causes problems with spaces, and also it makes the script less portable! #jira UE-38556 Change 3197691 on 2016/11/14 by Dmitry.Rekman Linux: save added devices. (Edigrating 3196529 from Wombat to Dev-Platform). Change 3197854 on 2016/11/15 by Dan.Mahashin - MemoryProfiler2: fixed Switch parser file path in the csproj Change 3197960 on 2016/11/15 by Dan.Mahashin - NVN RHITransitionResources() directly uses a barrier instead of relying on CopyToResolveTarget() side effect (UE-33834) Change 3198488 on 2016/11/15 by Bart.Hawthorne Submit missing NoRedist/DefaultEngine.ini file Change 3198970 on 2016/11/15 by Michael.Trepka Don't try to use installed Mono 4.6 on Mac as it's known to have issues on macOS 10.12 (for example building the editor with UBT often fails with Mono running out of file desriptors) Change 3199050 on 2016/11/15 by Daniel.Lamb Some more output to help track down iterative cooking scenarios #test Cook paragon Change 3199097 on 2016/11/15 by Josh.Adams - Fixed up Switch packaging to re-generate the meta data in case it changed since compile time (esp with content only projects - Fixed default Program Id in code - Fixed a problem with Run with a space in the path #jira UE-38608 Change 3199181 on 2016/11/15 by Dmitry.Rekman Fix CIS (compiling LinuxTargetDevice without engine). Change 3199253 on 2016/11/15 by Dmitry.Rekman Hopeful fix for a static analysis warning. Change 3199325 on 2016/11/15 by Joe.Barnes Start a new CommandBuffer immediately upon ending one. Prevents fetching when there's no CommandBuffer. Needed for Loading Screen movie playback. Change 3199814 on 2016/11/15 by Dmitry.Rekman Linux: remove forced -windowed when launching. (Merging CL 3199789 from Wombat to Dev-Platform) Change 3200580 on 2016/11/16 by Josh.Adams Updasted DeploymentServer Change 3200595 on 2016/11/16 by Joe.Barnes Removed inadvertent SleepThread() when starting movie playback. Change 3200604 on 2016/11/16 by Josh.Adams - Added NN_MIDDLEWARE macros to tag ths apps as using UE4 middleware Change 3200632 on 2016/11/16 by Brent.Pease Update PlatformShowcase with latest tests Change 3200704 on 2016/11/16 by Dmitry.Rekman Linux: fix native compilation. Change 3200711 on 2016/11/16 by Brent.Pease - Support ios audio streaming from disk - Flushed out ADPCMAudioInfo to be more flexible with buffer management in addition to support streaming from disk. This should make more code platform independent. + Other platforms should work fine but will need to be updated to use the new buffer flexability (and hence simplify their own code and buffer management) - IOS audio implementation simplified to use new ADPCMAudioInfo functionality - Fixed adpcm seamless looping NOTE: While everything works with my testing (admittedly simple tests) a little more code cleanup needs to happen... Change 3201015 on 2016/11/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3201023 on 2016/11/16 by Josh.Stoddard Fix splash screen assignment for iPad #jira UE-38623 Change 3201215 on 2016/11/16 by Brent.Pease Hopefully final fix for build breakage Change 3201259 on 2016/11/16 by Josh.Adams - Removed the clock rate settings from the Project Settings, and the cvars - it was just confusing - Further improved the metadata recreation during packaging (can get rid of the temp meta/desc files now I believe) - Reduced audio pool alignment to not waste massive memory from it Change 3202332 on 2016/11/17 by Daniel.Lamb Changed build scripts to support iterative cooking #test Ran new build scripts Change 3202371 on 2016/11/17 by Michael.Trepka Changed FAppleHttpResponse::GetContentLength to return expected content size instead of payload size so it's consistent with other implementations #jira UE-38392 Change 3202421 on 2016/11/17 by Michael.Trepka Decrease the number of max open files for a thread on Apple platforms from 256 to 192 to leave more file descriptors to Cocoa #jira UE-18343 Change 3202462 on 2016/11/17 by Michael.Trepka Fixed HTTP If-None-Match response code on Mac and iOS Fixed by iktomi, https://answers.unrealengine.com/questions/492514/http-if-none-match-logic-isnt-working-on-mac-due-t.html #jira UE-36317 Change 3202620 on 2016/11/17 by Daniel.Lamb Fixed issue with some objects being garbage collected which shouldn't be because the collection handler didn't get registered. Commandlets now do not always have GIsRequestingExit true. Made crash handler check for commandlets running and exit appropriately. #test Rebuild lighting QAGame Change 3202955 on 2016/11/17 by Daniel.Lamb Add support for clearing all the cached cooked platform data for a platform when requested. #test cook QA game #jira UE-38361 Change 3202983 on 2016/11/17 by Daniel.Lamb Added support to rebuild lightmaps commandlet for building lightmaps in seperate files. #test rebuild lighting Custom QAGame maps. #jira OR-31907 Change 3203128 on 2016/11/17 by Josh.Adams - Fixed split screen user selection in ShooterGame (brought over some changes from NickD for it as well) Change 3203537 on 2016/11/18 by Dmitry.Rekman Fix ProjectWorldToScreen node for letterboxed viewports. (Merging CL 3201546 from Wombat to Dev-Platform). Change 3203540 on 2016/11/18 by Dmitry.Rekman Linux: be more verbose when setting vblank sync. (Merging CL 3199633 from Private-Wombat to Dev-Platform). Change 3203599 on 2016/11/18 by Dmitry.Rekman Speedup bForceCompilationAtStartup=True when nothing changed (UE-37067). - PR #2849: Contributed by slonopotamus. Change 3203610 on 2016/11/18 by Dmitry.Rekman Add CEF support for Linux (UE-6743). Change 3203615 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script so it is independent of working dir (UE-37016). - PR #2842 contributed by slonopotamus Change 3203645 on 2016/11/18 by Dmitry.Rekman Linux: fix UnrealCEFSubProcess. Change 3203658 on 2016/11/18 by Dmitry.Rekman Remove hard-coded paths to mono binary (UE-35228). - Another way to implement pull request #2741. Change 3203770 on 2016/11/18 by Josh.Adams - Brought over some changes from Dev-Core to not crash in AsyncLoading with debug code Change 3204244 on 2016/11/18 by Dmitry.Rekman Unsuppress mistakenly suppressed warnings and fix one more (UE-38788). Change 3204277 on 2016/11/18 by Brent.Pease + Fix seamless looping bug found on Dan's QAGame test + Fix static analyzer warning (which was a real bug with uncompressed streaming) + Code review feedback from Aaron + Small addition from channel sync ios bug fix Change 3204576 on 2016/11/18 by Omar.Rodriguez Expose the bEnableRemoteNotificationsSupport ini setting in the iOS project settings. Change 3204629 on 2016/11/18 by Chris.Babcock Fix case of VulkanSwapChain.h #include #jira UE-38843 #ue4 #vulkan Change 3204708 on 2016/11/18 by Josh.Adams - Set SwitchMoviePlayer to include the libs from the proper directory Change 3204730 on 2016/11/18 by Josh.Adams - Changed a check to a checkf to narrow down why FMaterialUniformExpressionType::GetTypeMap().FindRef(TypeName) is returning nullptr on tvOS Change 3204865 on 2016/11/18 by Brent.Pease + Turn off ios console logs on Windows to help sort through ios packaging and launch-on issues - This is NOT a fix but it should make it easier to track down the problem with it off. Change 3204883 on 2016/11/18 by Dmitry.Rekman Linux: fix native LaunchOn (UE-38616). Change 3204914 on 2016/11/18 by Brent.Pease + Turn off the device check to prevent it from conflicting with remote packaging/launch-on Change 3204940 on 2016/11/18 by Josh.Adams Backing out changes to the profiler for Switch. Shouldn't have checked it in today during smoke Change 3204952 on 2016/11/18 by Dmitry.Rekman Linux: fix bootstrap script (UE-38851). - Caused by UE-37016. Change 3205630 on 2016/11/21 by Brent.Pease + Fix audio sound queuing bug by ensuring audio buffers are not reused by different sound source objects. + Cleaned up the locking mechanism around stopping sound sources to make its intent and function are clear + Cleaned up memory tracking and freeing. #jira ue-38846 Change 3205787 on 2016/11/21 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) [CL 3206922 by Josh Adams in Main branch]
2016-11-21 20:27:58 -05:00
#if PLATFORM_MAC || PLATFORM_LINUX
KeyEvent.character = InCharacterEvent.GetCharacter();
KeyEvent.windows_key_code = InCharacterEvent.GetCharacter();
#else
KeyEvent.windows_key_code = InCharacterEvent.GetCharacter();
#endif
KeyEvent.type = KEYEVENT_CHAR;
KeyEvent.modifiers = GetCefInputModifiers(InCharacterEvent);
#if PLATFORM_WINDOWS
if (InCharacterEvent.IsAltDown() && InCharacterEvent.IsControlDown())
{
// For german and other keyboards with an AltGR state, windows sets alt and left control down
// See OsrWindowWin::OnKeyEvent in
//https://bitbucket.org/chromiumembedded/cef/raw/c4baba880e0b28ce82845275b328a12b2407e2f0/tests/cefclient/browser/osr_window_win.cc
// from which the concept behind this check was taken
HKL CurrentKBLayout = ::GetKeyboardLayout(0);
SHORT ScanResult = ::VkKeyScanExW(InCharacterEvent.GetCharacter(), CurrentKBLayout);
if (((ScanResult >> 8) & 0xFF) == (2 | 4))
{
// ctrl-alt pressed from this single character event so convert to AltGR
KeyEvent.modifiers &= ~(EVENTFLAG_CONTROL_DOWN | EVENTFLAG_ALT_DOWN);
KeyEvent.modifiers |= EVENTFLAG_ALTGR_DOWN;
}
}
#endif
InternalCefBrowser->GetHost()->SendKeyEvent(KeyEvent);
return true;
}
return false;
}
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
FModifierKeysState FCEFWebBrowserWindow::SlateModifiersFromCefModifiers(const CefKeyEvent& CefEvent)
{
return FModifierKeysState((CefEvent.modifiers & EVENTFLAG_SHIFT_DOWN) != 0,
(CefEvent.modifiers & EVENTFLAG_SHIFT_DOWN) != 0,
(CefEvent.modifiers & EVENTFLAG_CONTROL_DOWN) != 0,
(CefEvent.modifiers & EVENTFLAG_CONTROL_DOWN) != 0,
(CefEvent.modifiers & EVENTFLAG_ALT_DOWN) != 0,
(CefEvent.modifiers & EVENTFLAG_ALT_DOWN) != 0,
(CefEvent.modifiers & EVENTFLAG_COMMAND_DOWN) != 0,
(CefEvent.modifiers & EVENTFLAG_COMMAND_DOWN) != 0,
(CefEvent.modifiers & EVENTFLAG_CAPS_LOCK_ON) != 0);
}
/* This is an ugly hack to inject unhandled key events back into Slate.
During processing of the initial keyboard event, we don't know whether it is handled by the Web browser or not.
Not until after CEF calls OnKeyEvent in our CefKeyboardHandler implementation, which is after our own keyboard event handler
has returned.
The solution is to save a copy of the event and re-inject it into Slate while ensuring that we'll ignore it and bubble it up
the widget hierarchy this time around. */
bool FCEFWebBrowserWindow::OnUnhandledKeyEvent(const CefKeyEvent& CefEvent)
{
bool bWasHandled = false;
if (IsValid())
{
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
CefWindowHandle NativeHandle = InternalCefBrowser->GetHost()->GetWindowHandle();
switch (CefEvent.type)
{
case KEYEVENT_RAWKEYDOWN:
case KEYEVENT_KEYDOWN:
if (PreviousKeyDownEvent.IsSet())
{
bWasHandled = OnUnhandledKeyDown().IsBound() && OnUnhandledKeyDown().Execute(PreviousKeyDownEvent.GetValue());
if (!bWasHandled)
{
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
// If the keydown handler is not bound or if the handler returns false, indicating the key is unhandled, we bubble it up.
bIgnoreKeyDownEvent = true;
bWasHandled = FSlateApplication::Get().ProcessKeyDownEvent(PreviousKeyDownEvent.GetValue());
bIgnoreKeyDownEvent = false;
}
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
PreviousKeyDownEvent.Reset();
}
else if (NativeHandle)
{
FKey const Key = FInputKeyManager::Get().GetKeyFromCodes(CefEvent.windows_key_code, 0);
if (Key.IsValid())
{
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
FKeyEvent KeyEvent(Key, SlateModifiersFromCefModifiers(CefEvent), FSlateApplication::Get().GetUserIndexForKeyboard(), false, 0, CefEvent.windows_key_code);
bIgnoreKeyDownEvent = true;
bWasHandled = FSlateApplication::Get().ProcessKeyDownEvent(KeyEvent);
bIgnoreKeyDownEvent = false;
}
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
}
break;
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
case KEYEVENT_KEYUP:
if (PreviousKeyUpEvent.IsSet())
{
bWasHandled = OnUnhandledKeyUp().IsBound() && OnUnhandledKeyUp().Execute(PreviousKeyUpEvent.GetValue());
if (!bWasHandled)
{
// If the keyup handler is not bound or if the handler returns false, indicating the key is unhandled, we bubble it up.
bIgnoreKeyUpEvent = true;
bWasHandled = FSlateApplication::Get().ProcessKeyUpEvent(PreviousKeyUpEvent.GetValue());
bIgnoreKeyUpEvent = false;
}
PreviousKeyUpEvent.Reset();
}
else if (NativeHandle)
{
FKey const Key = FInputKeyManager::Get().GetKeyFromCodes(CefEvent.windows_key_code, 0);
FKeyEvent KeyEvent(Key, SlateModifiersFromCefModifiers(CefEvent), FSlateApplication::Get().GetUserIndexForKeyboard(), false, 0, CefEvent.windows_key_code);
bIgnoreKeyUpEvent = true;
bWasHandled = FSlateApplication::Get().ProcessKeyUpEvent(KeyEvent);
bIgnoreKeyUpEvent = false;
}
break;
case KEYEVENT_CHAR:
if (PreviousCharacterEvent.IsSet())
{
bWasHandled = OnUnhandledKeyChar().IsBound() && OnUnhandledKeyChar().Execute(PreviousCharacterEvent.GetValue());
if (!bWasHandled)
{
// If the keychar handler is not bound or if the handler returns false, indicating the key is unhandled, we bubble it up.
bIgnoreCharacterEvent = true;
bWasHandled = FSlateApplication::Get().ProcessKeyCharEvent(PreviousCharacterEvent.GetValue());
bIgnoreCharacterEvent = false;
}
PreviousCharacterEvent.Reset();
}
else if (NativeHandle)
{
FCharacterEvent CharacterEvent(CefEvent.character, SlateModifiersFromCefModifiers(CefEvent), FSlateApplication::Get().GetUserIndexForKeyboard(), false);
bIgnoreCharacterEvent = true;
bWasHandled = FSlateApplication::Get().ProcessKeyCharEvent(CharacterEvent);
bIgnoreCharacterEvent = false;
}
break;
default:
break;
}
}
return bWasHandled;
}
bool FCEFWebBrowserWindow::OnJSDialog(CefJSDialogHandler::JSDialogType DialogType, const CefString& MessageText, const CefString& DefaultPromptText, CefRefPtr<CefJSDialogCallback> Callback, bool& OutSuppressMessage)
{
bool Retval = false;
if ( OnShowDialog().IsBound() )
{
TSharedPtr<IWebBrowserDialog> Dialog(new FCEFWebBrowserDialog(DialogType, MessageText, DefaultPromptText, Callback));
EWebBrowserDialogEventResponse EventResponse = OnShowDialog().Execute(TWeakPtr<IWebBrowserDialog>(Dialog));
switch (EventResponse)
{
case EWebBrowserDialogEventResponse::Handled:
Retval = true;
break;
case EWebBrowserDialogEventResponse::Continue:
if (DialogType == JSDIALOGTYPE_ALERT)
{
// Alert dialogs don't return a value, so treat Continue the same way as Ingore
OutSuppressMessage = true;
Retval = false;
}
else
{
Callback->Continue(true, DefaultPromptText);
Retval = true;
}
break;
case EWebBrowserDialogEventResponse::Ignore:
OutSuppressMessage = true;
Retval = false;
break;
case EWebBrowserDialogEventResponse::Unhandled:
default:
Retval = false;
break;
}
}
return Retval;
}
bool FCEFWebBrowserWindow::OnBeforeUnloadDialog(const CefString& MessageText, bool IsReload, CefRefPtr<CefJSDialogCallback> Callback)
{
bool Retval = false;
if ( OnShowDialog().IsBound() )
{
TSharedPtr<IWebBrowserDialog> Dialog(new FCEFWebBrowserDialog(MessageText, IsReload, Callback));
EWebBrowserDialogEventResponse EventResponse = OnShowDialog().Execute(TWeakPtr<IWebBrowserDialog>(Dialog));
switch (EventResponse)
{
case EWebBrowserDialogEventResponse::Handled:
Retval = true;
break;
case EWebBrowserDialogEventResponse::Continue:
Callback->Continue(true, CefString());
Retval = true;
break;
case EWebBrowserDialogEventResponse::Ignore:
Callback->Continue(false, CefString());
Retval = true;
break;
case EWebBrowserDialogEventResponse::Unhandled:
default:
Retval = false;
break;
}
}
return Retval;
}
void FCEFWebBrowserWindow::OnResetDialogState()
{
OnDismissAllDialogs().ExecuteIfBound();
}
void FCEFWebBrowserWindow::OnRenderProcessTerminated(CefRequestHandler::TerminationStatus Status)
{
if(bRecoverFromRenderProcessCrash)
{
bRecoverFromRenderProcessCrash = false;
NotifyDocumentError((int)ERR_FAILED); // Only attempt a single recovery at a time
}
bRecoverFromRenderProcessCrash = true;
Reload();
}
FReply FCEFWebBrowserWindow::OnMouseButtonDown(const FGeometry& MyGeometry, const FPointerEvent& MouseEvent, bool bIsPopup)
{
FReply Reply = FReply::Unhandled();
if (IsValid() && !IsInDirectHwndMode())
{
FKey Button = MouseEvent.GetEffectingButton();
// CEF only supports left, right, and middle mouse buttons
bool bIsCefSupportedButton = (Button == EKeys::LeftMouseButton || Button == EKeys::RightMouseButton || Button == EKeys::MiddleMouseButton);
if(bIsCefSupportedButton)
{
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
CefBrowserHost::MouseButtonType Type =
(Button == EKeys::LeftMouseButton ? MBT_LEFT : (
Button == EKeys::RightMouseButton ? MBT_RIGHT : MBT_MIDDLE));
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
CefMouseEvent Event = GetCefMouseEvent(MyGeometry, MouseEvent, bIsPopup);
// If the click happened inside a drag region we enable window dragging which will start firing OnDragWindow events on mouse move
if (Type == MBT_LEFT && IsInDragRegion(FIntPoint(Event.x, Event.y)))
{
bDraggingWindow = true;
}
InternalCefBrowser->GetHost()->SendMouseClickEvent(Event, Type, false,1);
Reply = FReply::Handled();
}
}
return Reply;
}
FReply FCEFWebBrowserWindow::OnMouseButtonUp(const FGeometry& MyGeometry, const FPointerEvent& MouseEvent, bool bIsPopup)
{
FReply Reply = FReply::Unhandled();
if (IsValid() && !IsInDirectHwndMode())
{
FKey Button = MouseEvent.GetEffectingButton();
// CEF only supports left, right, and middle mouse buttons
bool bIsCefSupportedButton = (Button == EKeys::LeftMouseButton || Button == EKeys::RightMouseButton || Button == EKeys::MiddleMouseButton);
if(bIsCefSupportedButton)
{
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
CefBrowserHost::MouseButtonType Type =
(Button == EKeys::LeftMouseButton ? MBT_LEFT : (
Button == EKeys::RightMouseButton ? MBT_RIGHT : MBT_MIDDLE));
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
if (Type == MBT_LEFT)
{
bDraggingWindow = false;
}
CefMouseEvent Event = GetCefMouseEvent(MyGeometry, MouseEvent, bIsPopup);
InternalCefBrowser->GetHost()->SendMouseClickEvent(Event, Type, true, 1);
Reply = FReply::Handled();
}
else if(Button == EKeys::ThumbMouseButton && bThumbMouseButtonNavigation)
{
if(CanGoBack())
{
GoBack();
Reply = FReply::Handled();
}
}
else if(Button == EKeys::ThumbMouseButton2 && bThumbMouseButtonNavigation)
{
if(CanGoForward())
{
GoForward();
Reply = FReply::Handled();
}
}
}
return Reply;
}
FReply FCEFWebBrowserWindow::OnMouseButtonDoubleClick(const FGeometry& MyGeometry, const FPointerEvent& MouseEvent, bool bIsPopup)
{
FReply Reply = FReply::Unhandled();
if (IsValid() && !IsInDirectHwndMode())
{
FKey Button = MouseEvent.GetEffectingButton();
// CEF only supports left, right, and middle mouse buttons
bool bIsCefSupportedButton = (Button == EKeys::LeftMouseButton || Button == EKeys::RightMouseButton || Button == EKeys::MiddleMouseButton);
if(bIsCefSupportedButton)
{
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
CefBrowserHost::MouseButtonType Type =
(Button == EKeys::LeftMouseButton ? MBT_LEFT : (
Button == EKeys::RightMouseButton ? MBT_RIGHT : MBT_MIDDLE));
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
CefMouseEvent Event = GetCefMouseEvent(MyGeometry, MouseEvent, bIsPopup);
InternalCefBrowser->GetHost()->SendMouseClickEvent(Event, Type, false, 2);
Reply = FReply::Handled();
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
}
}
return Reply;
}
FReply FCEFWebBrowserWindow::OnMouseMove(const FGeometry& MyGeometry, const FPointerEvent& MouseEvent, bool bIsPopup)
{
FReply Reply = FReply::Unhandled();
if (IsValid() && !IsInDirectHwndMode())
{
CefMouseEvent Event = GetCefMouseEvent(MyGeometry, MouseEvent, bIsPopup);
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
bool bEventConsumedByDragCallback = false;
FIntRect test;
if (bDraggingWindow && OnDragWindow().IsBound())
{
if (MouseEvent.IsMouseButtonDown(EKeys::LeftMouseButton))
{
bEventConsumedByDragCallback = OnDragWindow().Execute(MouseEvent);
}
else
{
bDraggingWindow = false;
}
}
if (!bEventConsumedByDragCallback)
{
InternalCefBrowser->GetHost()->SendMouseMoveEvent(Event, false);
}
Reply = FReply::Handled();
}
return Reply;
}
Copying //UE4/Portal-Staging to //UE4/Dev-Main (Source: //Portal/Main @ 3216504) #lockdown Nick.Penwarden #rb no one ========================== MAJOR FEATURES + CHANGES ========================== Change 3216141 on 2016/11/30 by Justin.Sargent Completed first ready to use pass of the new AutomationDriver module and new Spec test type. Change 3213288 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Removing deprecation of IWebBrowserSingleton::SetJSBindingToLoweringEnabled for now. Change 3212796 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Added SetJSBindingToLoweringEnabled to IWebBrowserSingleton so that the to-lowering of binding names can be disabled. Deprecated SetJSBindingToLoweringEnabled since 4.15. In future the to-lowering will always occurr. Adding GetBindingName helper to FWebJSScripting, which returns a to-lowered name for a UField, unless disabled. Updated all current binding code to use GetBindingName when building from UObjects/UStructs. This affects Windows, Mac, Linux, and Android. Portal currently disables to-lowering unless a commandline -LowercaseJS is provided. Change 3200370 on 2016/11/16 by Richard.Fawcett Ensure we always get the latest version of the user content catalog when promoting marketplace items. Change 3192974 on 2016/11/10 by Leigh.Swift #jira OPP-6365: Crash during shutdown if a manifest is still being downloaded This is because of the OnPreExit core delegate being used to null out the Data uobject member on a manifest, also being the only sensible way to ensure threads complete in a safe and clean manner. Refactoring BuildPatchServices manifest class to not permanently hold any UObject and simply just use one while serialising. This removes the reliance on the OnPreExit delegate from manifest class, making it generally safer behaviour for shutdown. Change 3187028 on 2016/11/04 by Leigh.Swift PortalPublishingTool: Adding UE_Main app to UnrealEngine project Change 3186788 on 2016/11/04 by Richard.Fawcett Change C# wrapper for BuildPatchTool patch generation to prevent clobbering manifest files by default, unless we specifically pass in an optional flag to allow this. #jira OPP-6355 Change 3186779 on 2016/11/04 by Richard.Fawcett Add support to automation tool testing framework for the following assertions: Assert.AreNotEqual(a, b, optionalFailureMessage) Assert.ThrowsError(actionToCarryOut, expectedExceptionType, optionalExceptionMessageContainsString) Moved attribute-based expected exception declarations to their own attribute, TestThrowsExceptionAttribute, which can now accept an optional parameter for a string which should be contained within the exception message. Fixed a bug where a test method with an attribute-based expected exception would not count towards the success total if the exception was encountered as expected. Fixed a bug where NOT throwing an exception when we were expecting one would count as a success. Added an internal property bDoNotLogTestFailsAsError which we can set to true to suppress logging of UAT errors when a test fails (but still count them in our failure results), to allow us to deliberately cause test failures to test the test framework! Added a suite of unit tests for the test framework itself, in TestRunner.Automation.Tests.cs. Change 3185411 on 2016/11/03 by Richard.Fawcett Allow Rocket_PromoteBuild changelist to be overridden by a changelist read from a file. Change 3184843 on 2016/11/03 by Richard.Fawcett Ensure catalog file synced during user content generation is always the latest one. Change 3184752 on 2016/11/03 by Richard.Fawcett Ensure we log reading changelist from specified file. Change 3184744 on 2016/11/03 by Richard.Fawcett Ensure directory is created for Changelist file if it doesn't already exist. Change 3184738 on 2016/11/03 by Richard.Fawcett Ensure we use latest CL from all of Perforce when generating build versions for user content Because of the nature of the build farm, where separate parts of the job are executed on different build agents at different times, this changelist is serialized to the filesystem during execution of a node dedicated to this task, and then made available to all future nodes, so that they're working with a consistent build version. In the case of an execution where we're updating Perforce with new content, this calculation of the changelist occurs AFTER we've updated Perforce with the new content. Have also optimized the build graph scripts to enable Mac and Windows user generated content to execute simultaneously. #jira OPP-6274 Change 3181456 on 2016/11/01 by Andrew.Brown SExpandable area has been modified as the Portal settings mocks weren't able to be achieved with default functionality. Added BodyBorderImage arguement and BodyBorderBackgroundColor attribute so we can specify a different brush/color to use for the expanded area compared with the title area. Additional care was made to ensure that rounded corners still appear correctly if the developer doesn't want to specify a different look to the body. Added AreaTitlePadding attribute, to be able to specify padding between the expand/collapse icon and the header content. Added MinWidth arguement, to ensure that the areas meet a minimum width requirement. Change 3181285 on 2016/11/01 by Richard.Fawcett Ensure user content generated using latest changelist submitted to Perforce, rather than using portal's latest changelist #jira OPP-6274 Change 3177758 on 2016/10/28 by Leigh.Swift #jira OPP-6247: Portal needs Social Plugin integration v1.2 Copying //Portal/Dev-Social to Dev-Main (//Portal/Dev-Main) Change 3175889 on 2016/10/26 by Wes.Fudala Web browser tooltips will no longer continue to appear when the mouse leaves the browser window. #jira: OPP-5895 The Mouseover info in Recent Additions (Marketplace) anchors itself to the mouse pointer over other Browser windows rb: Justin.Sargent Change 3171388 on 2016/10/22 by Leigh.Swift #jira OPP-6343: Launcher crashes patching from 2.12.13 Main to 2.12.13 Release-Live BPS: FBuildPatchAppManifest needs to listen for FCoreDelegates::OnPreExit in order to clean up references to it's UObject which is about to be destroyed. Change 3170373 on 2016/10/21 by Leigh.Swift #jira: OPP-6340: Portal builds fail on audit nodes. Reducing platform regex to only match pre-defined possibilities. [CL 3219291 by Justin Sargent in Main branch]
2016-12-02 13:27:02 -05:00
void FCEFWebBrowserWindow::OnMouseLeave(const FPointerEvent& MouseEvent)
{
// Ensure we clear any tooltips if the mouse leaves the window.
SetToolTip(CefString());
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
// We have no geometry here to convert our mouse event to local space so we just make a dummy event and set the moueLeave param to true
CefMouseEvent DummyEvent;
if (IsValid() && !IsInDirectHwndMode())
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
{
InternalCefBrowser->GetHost()->SendMouseMoveEvent(DummyEvent, true);
}
Copying //UE4/Portal-Staging to //UE4/Dev-Main (Source: //Portal/Main @ 3216504) #lockdown Nick.Penwarden #rb no one ========================== MAJOR FEATURES + CHANGES ========================== Change 3216141 on 2016/11/30 by Justin.Sargent Completed first ready to use pass of the new AutomationDriver module and new Spec test type. Change 3213288 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Removing deprecation of IWebBrowserSingleton::SetJSBindingToLoweringEnabled for now. Change 3212796 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Added SetJSBindingToLoweringEnabled to IWebBrowserSingleton so that the to-lowering of binding names can be disabled. Deprecated SetJSBindingToLoweringEnabled since 4.15. In future the to-lowering will always occurr. Adding GetBindingName helper to FWebJSScripting, which returns a to-lowered name for a UField, unless disabled. Updated all current binding code to use GetBindingName when building from UObjects/UStructs. This affects Windows, Mac, Linux, and Android. Portal currently disables to-lowering unless a commandline -LowercaseJS is provided. Change 3200370 on 2016/11/16 by Richard.Fawcett Ensure we always get the latest version of the user content catalog when promoting marketplace items. Change 3192974 on 2016/11/10 by Leigh.Swift #jira OPP-6365: Crash during shutdown if a manifest is still being downloaded This is because of the OnPreExit core delegate being used to null out the Data uobject member on a manifest, also being the only sensible way to ensure threads complete in a safe and clean manner. Refactoring BuildPatchServices manifest class to not permanently hold any UObject and simply just use one while serialising. This removes the reliance on the OnPreExit delegate from manifest class, making it generally safer behaviour for shutdown. Change 3187028 on 2016/11/04 by Leigh.Swift PortalPublishingTool: Adding UE_Main app to UnrealEngine project Change 3186788 on 2016/11/04 by Richard.Fawcett Change C# wrapper for BuildPatchTool patch generation to prevent clobbering manifest files by default, unless we specifically pass in an optional flag to allow this. #jira OPP-6355 Change 3186779 on 2016/11/04 by Richard.Fawcett Add support to automation tool testing framework for the following assertions: Assert.AreNotEqual(a, b, optionalFailureMessage) Assert.ThrowsError(actionToCarryOut, expectedExceptionType, optionalExceptionMessageContainsString) Moved attribute-based expected exception declarations to their own attribute, TestThrowsExceptionAttribute, which can now accept an optional parameter for a string which should be contained within the exception message. Fixed a bug where a test method with an attribute-based expected exception would not count towards the success total if the exception was encountered as expected. Fixed a bug where NOT throwing an exception when we were expecting one would count as a success. Added an internal property bDoNotLogTestFailsAsError which we can set to true to suppress logging of UAT errors when a test fails (but still count them in our failure results), to allow us to deliberately cause test failures to test the test framework! Added a suite of unit tests for the test framework itself, in TestRunner.Automation.Tests.cs. Change 3185411 on 2016/11/03 by Richard.Fawcett Allow Rocket_PromoteBuild changelist to be overridden by a changelist read from a file. Change 3184843 on 2016/11/03 by Richard.Fawcett Ensure catalog file synced during user content generation is always the latest one. Change 3184752 on 2016/11/03 by Richard.Fawcett Ensure we log reading changelist from specified file. Change 3184744 on 2016/11/03 by Richard.Fawcett Ensure directory is created for Changelist file if it doesn't already exist. Change 3184738 on 2016/11/03 by Richard.Fawcett Ensure we use latest CL from all of Perforce when generating build versions for user content Because of the nature of the build farm, where separate parts of the job are executed on different build agents at different times, this changelist is serialized to the filesystem during execution of a node dedicated to this task, and then made available to all future nodes, so that they're working with a consistent build version. In the case of an execution where we're updating Perforce with new content, this calculation of the changelist occurs AFTER we've updated Perforce with the new content. Have also optimized the build graph scripts to enable Mac and Windows user generated content to execute simultaneously. #jira OPP-6274 Change 3181456 on 2016/11/01 by Andrew.Brown SExpandable area has been modified as the Portal settings mocks weren't able to be achieved with default functionality. Added BodyBorderImage arguement and BodyBorderBackgroundColor attribute so we can specify a different brush/color to use for the expanded area compared with the title area. Additional care was made to ensure that rounded corners still appear correctly if the developer doesn't want to specify a different look to the body. Added AreaTitlePadding attribute, to be able to specify padding between the expand/collapse icon and the header content. Added MinWidth arguement, to ensure that the areas meet a minimum width requirement. Change 3181285 on 2016/11/01 by Richard.Fawcett Ensure user content generated using latest changelist submitted to Perforce, rather than using portal's latest changelist #jira OPP-6274 Change 3177758 on 2016/10/28 by Leigh.Swift #jira OPP-6247: Portal needs Social Plugin integration v1.2 Copying //Portal/Dev-Social to Dev-Main (//Portal/Dev-Main) Change 3175889 on 2016/10/26 by Wes.Fudala Web browser tooltips will no longer continue to appear when the mouse leaves the browser window. #jira: OPP-5895 The Mouseover info in Recent Additions (Marketplace) anchors itself to the mouse pointer over other Browser windows rb: Justin.Sargent Change 3171388 on 2016/10/22 by Leigh.Swift #jira OPP-6343: Launcher crashes patching from 2.12.13 Main to 2.12.13 Release-Live BPS: FBuildPatchAppManifest needs to listen for FCoreDelegates::OnPreExit in order to clean up references to it's UObject which is about to be destroyed. Change 3170373 on 2016/10/21 by Leigh.Swift #jira: OPP-6340: Portal builds fail on audit nodes. Reducing platform regex to only match pre-defined possibilities. [CL 3219291 by Justin Sargent in Main branch]
2016-12-02 13:27:02 -05:00
}
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
void FCEFWebBrowserWindow::SetSupportsMouseWheel(bool bValue)
{
bSupportsMouseWheel = bValue;
}
bool FCEFWebBrowserWindow::GetSupportsMouseWheel() const
{
return bSupportsMouseWheel;
}
FReply FCEFWebBrowserWindow::OnTouchGesture(const FGeometry& MyGeometry, const FPointerEvent& GestureEvent, bool bIsPopup)
{
FReply Reply = FReply::Unhandled();
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
if(IsValid() && bSupportsMouseWheel)
{
const EGestureEvent GestureType = GestureEvent.GetGestureType();
const FVector2D& GestureDelta = GestureEvent.GetGestureDelta();
if ( GestureType == EGestureEvent::Scroll )
{
CefMouseEvent Event = GetCefMouseEvent(MyGeometry, GestureEvent, bIsPopup);
InternalCefBrowser->GetHost()->SendMouseWheelEvent(Event, GestureDelta.X, GestureDelta.Y);
Reply = FReply::Handled();
}
}
return Reply;
}
FReply FCEFWebBrowserWindow::OnMouseWheel(const FGeometry& MyGeometry, const FPointerEvent& MouseEvent, bool bIsPopup)
{
FReply Reply = FReply::Unhandled();
if(IsValid() && bSupportsMouseWheel && !IsInDirectHwndMode())
{
#if PLATFORM_WINDOWS
// The original delta is reduced so this should bring it back to what CEF expects
// see WindowsApplication.cpp , case WM_MOUSEWHEEL:
const float SpinFactor = 120.0f;
#else
// other OS's seem to want us to scale by "line height" here, so pick a magic number
// 50 matches a single mouse wheel tick in movement as compared to Chrome
const float SpinFactor = 50.0f;
#endif
const float TrueDelta = MouseEvent.GetWheelDelta() * SpinFactor;
if (fabs(TrueDelta) > 0.001f)
{
CefMouseEvent Event = GetCefMouseEvent(MyGeometry, MouseEvent, bIsPopup);
InternalCefBrowser->GetHost()->SendMouseWheelEvent(Event,
MouseEvent.IsShiftDown() ? TrueDelta : 0,
!MouseEvent.IsShiftDown() ? TrueDelta : 0);
}
Reply = FReply::Handled();
}
return Reply;
}
void FCEFWebBrowserWindow::OnFocus(bool SetFocus, bool bIsPopup)
{
if (bIsPopup)
{
bPopupHasFocus = SetFocus;
}
else
{
bMainHasFocus = SetFocus;
}
#if !PLATFORM_LINUX
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
Ime->SetFocus(!bPopupHasFocus && bMainHasFocus);
#endif
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
// Only notify focus if there is no popup menu with focus, as SendFocusEvent will dismiss any popup menus.
if (IsValid() && !bPopupHasFocus)
{
InternalCefBrowser->GetHost()->SendFocusEvent(bMainHasFocus);
}
}
void FCEFWebBrowserWindow::OnCaptureLost()
{
if (IsValid())
{
InternalCefBrowser->GetHost()->SendCaptureLostEvent();
}
}
bool FCEFWebBrowserWindow::CanGoBack() const
{
if (IsValid())
{
return InternalCefBrowser->CanGoBack();
}
return false;
}
void FCEFWebBrowserWindow::GoBack()
{
if (IsValid())
{
InternalCefBrowser->GoBack();
}
}
bool FCEFWebBrowserWindow::CanGoForward() const
{
if (IsValid())
{
return InternalCefBrowser->CanGoForward();
}
return false;
}
void FCEFWebBrowserWindow::GoForward()
{
if (IsValid())
{
InternalCefBrowser->GoForward();
}
}
bool FCEFWebBrowserWindow::IsLoading() const
{
if (IsValid())
{
return InternalCefBrowser->IsLoading();
}
return false;
}
void FCEFWebBrowserWindow::Reload()
{
if (IsValid())
{
InternalCefBrowser->Reload();
}
}
void FCEFWebBrowserWindow::StopLoad()
{
if (IsValid())
{
InternalCefBrowser->StopLoad();
}
}
void FCEFWebBrowserWindow::ExecuteJavascript(const FString& Script)
{
if (IsValid())
{
CefRefPtr<CefFrame> frame = InternalCefBrowser->GetMainFrame();
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055) #lockdown Nick.Penwarden #rb None ========================== MAJOR FEATURES + CHANGES ========================== Change 3011102 on 2016/06/13 by Steve.Cano After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function. #jira UE-26421 #ue4 #android Change 3015801 on 2016/06/16 by Dmitriy.Dyomin Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work. #jira UE-30878 Change 3015903 on 2016/06/16 by Dmitriy.Dyomin Fixed: Levels window has Refresh/UI issues when World Composition is active #jira UE-26160 Change 3018352 on 2016/06/17 by Chris.Babcock Handle Android media prepare failure (URL without internet for example) #jira UE-32029 #ue4 #android Change 3026387 on 2016/06/24 by Jack.Porter Remove FFuncTestManager warning about PIE when running on a standalone game binary Change 3026398 on 2016/06/24 by Jack.Porter Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK Change 3027553 on 2016/06/25 by Niklas.Smedberg OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two). Change 3027554 on 2016/06/25 by Niklas.Smedberg Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming) Change 3028061 on 2016/06/26 by Jack.Porter Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser. Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly. Change 3029220 on 2016/06/27 by Steve.Cano Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS. #jira UE-6135 #ue4 #android Change 3030420 on 2016/06/28 by Jack.Porter Fix crash with RenderOutputValidation when running with cooked content Change 3030426 on 2016/06/28 by Jack.Porter Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0. A return value of 0 indicates the connection was shutdown in an orderly manner. Change 3030973 on 2016/06/28 by Steve.Cano Added a landscape downloader background along with the options to change it from within Android settings #ue4 #android #jira UE-32318 Change 3031757 on 2016/06/28 by Chris.Babcock Remove unused methods from AndroidJNI header #ue4 #android Change 3032387 on 2016/06/29 by Allan.Bentham Rename android es31+aep -> glesdeferred. Change 3032711 on 2016/06/29 by Allan.Bentham Rename GLSL_310_ES_EXT shader define: ES31_AEP_PROFILE -> ESDEFERRED_PROFILE bumped UE_SHADER_GLSL_310_ES_EXT_VER version number. Change 3033698 on 2016/06/29 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3034210 on 2016/06/30 by Steve.Cano Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true. #jira UE-32302 #ue4 #android Change 3034530 on 2016/06/30 by Chris.Babcock Rename FManifestReader to FAndroidFileManifestReader in AndroidFile #jira UE-32679 #ue4 #android Change 3034612 on 2016/06/30 by Steve.Cano Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values) #jira UE-25325 #ue4 #android Change 3034679 on 2016/06/30 by Chris.Babcock Fix tooltip (.command for mac, not .sh) #jira UE-32302 #ue4 #android Change 3038881 on 2016/07/05 by Jack.Porter Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices #jira UEMOB-115 Change 3039240 on 2016/07/06 by Jack.Porter TcpMessageTransport - connection-based message bus transport. #jira UEMOB-112 #jira UEMOB-113 Change 3039252 on 2016/07/06 by Jack.Porter Enable messaging and session services and functional testing on Android when launched with -messaging Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport #jira UEMOB-112 #jira UEMOB-113 Change 3039264 on 2016/07/06 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3040041 on 2016/07/06 by Chris.Babcock Pass proper value to script generator functions #jira UE-32861 #ue4 #android Change 3040890 on 2016/07/07 by Allan.Bentham Fix shadow crash #jira UE-32884 Change 3041458 on 2016/07/07 by Peter.Sauerbrei fix for IOS launch on failures Change 3041542 on 2016/07/07 by Peter.Sauerbrei better fix for the multi-device deployment issue Change 3041774 on 2016/07/07 by Steve.Cano Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml #jira UE-16992 #android #ue4 Change 3042222 on 2016/07/08 by Dmitriy.Dyomin Mobile packaging scenarious Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content Added Archive step to launcher profiles to be able to store build product into specified directory Changes to a cooker to be able to pack DLC based with a different flavor to a release App Changes to DLC packaging to be able to build streaming data without chunking pak files #jira UEMOB-119 Change 3042244 on 2016/07/08 by Dmitriy.Dyomin Fixed crash in FTcpMessageTransportConnection::Stop Change 3042270 on 2016/07/08 by Dmitriy.Dyomin GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama contributed by: EverNewJoy #jira UE-29867 Change 3042449 on 2016/07/08 by Dmitriy.Dyomin Fixing Mac Editor build erros from CL# 3042222 Change 3042480 on 2016/07/08 by Allan.Bentham Add ES3.1 profile & compiler_glsl_es3_1 to shaders. Change 3042481 on 2016/07/08 by Allan.Bentham hlslcc - ES3.1 changes. set ES3.1 version number to 310 Do not use ES2 keywords for ES3.1. Generate Layout Locations for ES3.1 bump version. Change 3042483 on 2016/07/08 by Allan.Bentham Add mobile ES3.1 support. Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required. Change 3042485 on 2016/07/08 by Allan.Bentham Undo android XGE change. Change 3042506 on 2016/07/08 by Dmitriy.Dyomin One more compile fix from CL# 3042222 Change 3044173 on 2016/07/10 by Dmitriy.Dyomin UAT: Added support for building target platforms with multiple cook flavors ex: -targetplatform=Android -cookflavor=ETC1+ETC2 Change 3044213 on 2016/07/11 by Dmitriy.Dyomin Fixed: Can't stream in a level whose name is a substring of another streaming level #jira UE-32999 Change 3044221 on 2016/07/11 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3044815 on 2016/07/11 by Allan.Bentham Corrected NAME_GLSL_ES3_1_ANDROID format string. Change 3046911 on 2016/07/12 by Chris.Babcock Add handling of OnTextChanged for virtual keyboard input on Android #jira UE-32348 #ue4 #android Change 3046958 on 2016/07/12 by Chris.Babcock Rename some functions with Error in the name to prevent false coloring in the logs #jira UE-30541 #ue4 #android Change 3047169 on 2016/07/12 by Chris.Babcock Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio) #jira UE-30610 #pr #2372 #ue4 #android Change 3047406 on 2016/07/12 by Jack.Porter Add missing import to GameActivity.java Change 3047442 on 2016/07/13 by Dmitriy.Dyomin Added: Mobile custom post-process Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location. #jira UEMOB-147 Change 3047466 on 2016/07/13 by Dmitriy.Dyomin Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices Change 3047746 on 2016/07/13 by Jack.Porter Rename FBasePassFowardDynamicPointLightInfo Change 3047778 on 2016/07/13 by Jack.Porter Missing file for rename FBasePassFowardDynamicPointLightInfo Change 3047788 on 2016/07/13 by Allan.Bentham Fix incorrect TargetPlatformDescriptor string generation. Change 3047790 on 2016/07/13 by Allan.Bentham Fixed half3x3 matrix use with ES3.1 glsl Fixed couple of interpolator precision mismatch. Fixed ES3.1 support detection issues Change 3047816 on 2016/07/13 by Allan.Bentham Remove AndroidGL4 remnants. Change 3048926 on 2016/07/13 by Chris.Babcock Added detection of Amazon Fire TV to disable requiring virtual joysticks #ue4 #android Change 3049335 on 2016/07/14 by Dmitriy.Dyomin Fixing UAT crash when packaging project for iOS Change 3049390 on 2016/07/14 by Jack.Porter Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss" This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi. #code_review: Ben.Marsh Change 3049391 on 2016/07/14 by Jack.Porter Fixed incorrect comment order in CL 3049390 Change 3049545 on 2016/07/14 by Dmitriy.Dyomin Reworking some code from CL#3047442 to make static analizer happy Change 3049626 on 2016/07/14 by Allan.Bentham Automatic CSM shader toggling #jira UE-27429 Change 3051574 on 2016/07/15 by Jack.Porter Support for lighting channels on Mobile - Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set - CSM shadows from stationary or movable directional lights correctly follow their lighting channels - No channel limitations for dynamic point lights Notes: Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight. Separate uniform buffers for mobile directional light are generated for each lighting channel. CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view. #code_review Daniel.Wright #jira UEMOB-110 Change 3051699 on 2016/07/15 by Steve.Cano Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn). #jira UE-20320 #ue4 #android Change 3051744 on 2016/07/15 by Chris.Babcock Fix Android Vulkan include path checks (contributed by kodomastro) #jira UE-33311 #PR #2602 #ue4 #android Change 3052023 on 2016/07/15 by Chris.Babcock Fix shadowed variables Change 3052110 on 2016/07/15 by Chris.Babcock Compile fixes for light channel support on mobile - missing template - accessor function for MobileDirectionalLights from scene Change 3052242 on 2016/07/15 by Chris.Babcock Compile fixes for light channel support on mobile - removed dependency on C++14 feature Change 3052730 on 2016/07/16 by Dmitriy.Dyomin Win32 build fix Change 3053041 on 2016/07/17 by Jack.Porter Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile) Change 3053054 on 2016/07/17 by Jack.Porter Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath() Change 3053055 on 2016/07/17 by Jack.Porter Fixed local variable aliasing in unity build Change 3053206 on 2016/07/18 by Jack.Porter Support ExecuteJavascript on iOS and Android Expose ExecuteJavascript to widget blueprint Fix ExecuteJavascript unicode string support on desktop platforms #jira UEMOB-152 Change 3053323 on 2016/07/18 by Dmitriy.Dyomin Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01) #jira UEMOB-107 Change 3053723 on 2016/07/18 by Jack.Porter Fix for UnrealTournamentProto.Automation.cs build errors Change 3055090 on 2016/07/19 by Dmitriy.Dyomin Junk OnlineBlueprintSupport module binaries [CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
frame->ExecuteJavaScript(TCHAR_TO_UTF8(*Script), frame->GetURL(), 0);
}
}
void FCEFWebBrowserWindow::CloseBrowser(bool bForce, bool bBlockTillClosed)
{
if (IsValid())
{
CefRefPtr<CefBrowserHost> Host = InternalCefBrowser->GetHost();
// In case this is called from inside a CEF event handler, use CEF's task mechanism to
// postpone the actual closing of the window until it is safe.
CefPostTask(TID_UI, new FCEFBrowserClosureTask(nullptr, [=]()
{
// if blocking till closed for the close here
Host->CloseBrowser(bForce||bBlockTillClosed);
}));
if (bBlockTillClosed)
{
SetIsHidden(true); // hide the window as we close it
float CloseWaitTimeout = 1.0f;
// BUGBUG Alfred - I think 1 second should be enough wait, remove these config settings
// if we don't end up having to tune timeouts in the field.
GConfig->GetFloat(TEXT("Browser"), TEXT("CloseWaitTimeout"), CloseWaitTimeout, GEngineIni);
if (IsEngineExitRequested())
{
// wait longer if the app is shutting down
GConfig->GetFloat(TEXT("Browser"), TEXT("CloseWaitTimeoutAppExit"), CloseWaitTimeout, GEngineIni);
}
const double StartWaitAppTime = FPlatformTime::Seconds();
while (InternalCefBrowser != nullptr)
{
if (FPlatformTime::Seconds() - StartWaitAppTime > CloseWaitTimeout )
{
UE_LOG(LogWebBrowser, Error, TEXT("CloseBrowser - took more than %0.2f second to close. Abandoning wait..."), CloseWaitTimeout);
break; // don't spin forever
}
FPlatformProcess::Sleep(0.01);
// CEF needs the windows message pump run to be able to finish closing a browser, so run it manually here
FSlateApplication::Get().PumpMessages();
CefDoMessageLoopWork();
}
}
}
}
CefRefPtr<CefBrowser> FCEFWebBrowserWindow::GetCefBrowser()
{
return InternalCefBrowser;
}
void FCEFWebBrowserWindow::SetTitle(const CefString& InTitle)
{
Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4362408) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 4125165 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4124306 to //UE4/Dev-Console/... Change 4136060 by Marcin.Undak Editor: fixed device unclaiming #jira UE-58464 Change 4190321 by Marcin.Undak Linux: fixes for automation and RecordPerformance #jira UE-61053 Change 4199010 by Marcin.Undak Linux: remove unnecessary -g option Change 4201876 by Marcin.Undak First implementation of WebM media player for Windows and Linux Change 4201922 by Marcin.Undak Whitelisted WebMem plugin only for Windows and Linux Change 4202203 by Marcin.Undak WebM build fixes Change 4223102 by Marcin.Undak Vulkan: console commands for testing device lost #jira UE-61789 Change 4225028 by Marcin.Undak WebMMedia: disabled on Linux until fixed compilation issues Change 4231444 by David.Harvey UI - Fixing where the virtual cursor renders. It doesn't correctly take into account DPI scale, which isn't apparent except on the Xbox One. Integrate as edit from CL 4166648. #jira UE-62115 Change 4233057 by Marcin.Undak TestPAL: added new test for string allocation size Change 4234649 by Marcin.Undak Linux: switched linux plaform to 16bit wide strings Change 4235253 by Marcin.Undak TestPAL: compilation fix for platforms that don't use DirectoryWatcher Change 4235477 by Marcin.Undak Linux: re-enabled WebMMedia plugin Change 4242242 by Marcin.Undak WebMMediaPlayer: implemented proper format retrieving. MediaFrameworkTest now works. Change 4243321 by Marcin.Undak WebMPlayer: static code analisys fix Change 4243505 by Marcin.Undak MediaFrameworkTest: added WebM video for testing Change 4244646 by Marcin.Undak WebMMedia: improved concurrency Change 4244735 by Arciel.Rekman Vulkan: skip unnecessary transitions properly (UE-62348, merge). (Edigrating CL 4244274 from Release-4.20) Change 4246685 by Arciel.Rekman PhysX: remove Cygwin from %PATH% on Windows as it confuses CMake (UE-62326). Change 4247808 by Marcin.Undak WebMMediaPlayer: added support for seeking Change 4254841 by Marcin.Undak WebM: module dependencies fix Change 4255124 by laz.matech Updated UMG_AllPaletterWidgets' combo box to include options so that when selected, the dropdown presents 2 options instead of it appearing like it is broken #jira none Change 4256415 by Marcin.Undak WebM: added missing editor module Change 4256716 by Arciel.Rekman Make SetReuseAddr() also set SO_REUSEPORT where available (UE-57076). - Pull request #4617 by malavon. #jira UE-57076 Change 4266049 by Marcin.Undak Linux: UnrealLightmass and CrashReportClient compilation fixes #jira UE-62521 #jira UE-62522 Change 4266678 by Arciel.Rekman Merge speculative commit to get aligned pointer on mmap(). (Edigrating CL 4225330) Change 4267998 by Anthony.Bills Fix DBufferC clear color due to bad merge. #jira UE-62649 Change 4269441 by Marcin.Undak GenericPlatformStrings::VarArgs() implemented %-*s, %lu, %z, %h formatting #jira UE-62582 Change 4269712 by Marcin.Undak WebMMediaPlayer: removed LibSimpleWebM Change 4272849 by Marcin.Undak WebMMediaPlayer: fixed re-initialisation Change 4277931 by Arciel.Rekman Linux: switch to Vulkan by default (UE-62807). - Default behavior: attempt Vulkan first, but in case of failure instead of quitting silently fall back to GL, unless -vulkan is passed. - Forcing GL is still possible. Change 4277965 by Arciel.Rekman Fix standalone applications after the Vulkan switch. Change 4277968 by Arciel.Rekman Linux: make CrashReportClient headful (UE-14089). - The -unattended flags keep even a headful CRC usable on the servers. - ldd did not change. Need to check Localization stuff to see if there are any deployment concerns. #jira UE-14089 Change 4279402 by Arciel.Rekman Merge from 4.20.1: Vulkan: log validation errors. Also fix handling of some message types (UE-62628). (Edigrating 4273516 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4279992 by Marcin.Undak Linux: fix SlateViewer compilation #jira UE-62831 Change 4285613 by Arciel.Rekman Vulkan: fix mismatched layout. - I tested with RecordPerformance on InfiltratorDemo and haven't found any impact. Change 4285622 by Arciel.Rekman Merged from 4.20.2: Linux: do not refuse to start if system limits cannot be raised (UE-62515). - Too aggressive behavior, which can break cooking for no valid reason. - If a commandline argument is used, the engine will still treat inability to raise the limits as an error. (Edigrating 4273547 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4293083 by Arciel.Rekman Merging //UE4/Main@4291654 to //UE4/Dev-Console Change 4295297 by Marcin.Undak Vulkan: temporary disable generic pipeline cache saving to prevent crashes #jira UE-62848 Change 4300191 by Arciel.Rekman Delete files added under lowercase directories. Change 4300211 by Arciel.Rekman Re-add files deleted in previous commit under camel-cased paths. Change 4300895 by Arciel.Rekman Linux: fix editor build Change 4303543 by Ben.Marsh Fix compile error for FortGPUTestBed. Change 4305659 by Marcin.Undak [Vulkan][Engine] Update the Vulkan RHI to obey r.VSync (and the vsync and novsync command-line arguments). Change 4222769 by Jason.Stewart@Jason.Stewart_AMD_Dev_Rendering_threadripper-win10 on 2018/07/19 10:55:48 The original implementation ran into a latent thread hazard between the RHI thread and the rendering thread, where the rendering thread would try to use the backbuffer of the swap chain while the swap chain was being recreated (specifically after the swap chain recreation code had released and nulled out the back buffer, but before swap chain creation had actually happened to get a new back buffer). This implementation addresses that issue. This is Tim's code. I'm just submitting it as Tim is currently out of office. Change 4305661 by Marcin.Undak Moved libwebm and libvpx inside WebMMediaPlayer directory Change 4308659 by Marcin.Undak Linux: fixed LLDB visualizers #jira UE-52619 Change 4313650 by Marcin.Undak WebMMediaPlayer: implemented looping Change 4321713 by David.Harvey removed hard-coded platform labels from device output log window in favour of ITargetPlatform::SupportsFeature + updated editor tooltip with correct platform list. https://ec-01.epicgames.net/commander/link/jobDetails/jobs/8641984? Change 4321942 by Brandon.Schaefer Linux: Use the Target RHI list as the default ordering for which RHI is prefered Also update the RHI list in the project settings for our default list #jira UE-59487 #review-4316134 @Arciel.Rekman Change 4322230 by Brandon.Schaefer Treat %lf as %f in GenericWidePlatformString #jira UE-62582 Change 4322392 by Brandon.Schaefer Make sure our fmt size is large enough to check indexes #jira none Change 4322895 by Brandon.Schaefer Actually get the current size of Src as it could have been moved down #jira none Change 4327866 by Brandon.Schaefer Linux: Tell the platform misc what RHI we are using #jira none Change 4328926 by Brandon.Schaefer Linux: Add haptic support for controllers Github PR #4167 (thanks maiself!) #jira UE-51681 Change 4328963 by Arciel.Rekman TestPAL: improve the test by randomizing allocation size. - The range will no longer be constrained to <=128KB at once, allocations can be as big as 16MB but they will unevenly distributed, with smaller sizes being more frequent. Change 4329208 by Arciel.Rekman hlslcc: suppressed benign compiler warning during the Linux build (UE-43988). Change 4329283 by Arciel.Rekman Linux: replace CachedOSPageAllocator with PooledVirtualMemoryAllocator for Linux. For the explanation of FPooledVirtualMemoryAllocator, see PooledVirtualMemoryAllocator.h For the details, test data and comparisons, message Arciel Rekman. Relevant command line args added: -vmapoolscale=<float> (defaults to 1.4) -vmapoolevict -novmapoolevict By default, freed memory will not be evicted from RAM (unless running on a server) Also changed: - Removed the fixed-size pool previously used by Linux (and supporting machinery like scaling it on start) - Replaced the way we manage free blocks from pointers to a bitmap to reduce memory footprint. Change 4331946 by Luke.Thatcher [CONSOLE] [^] (merging CL 4162064) Implement new thread heart beat clock to solve the suspend/resume problem across all platforms. - The hang and hitch detectors now maintain their own clocks which are ticked by their respective threads. - If the title is suspended, the ticking thread will stop and the clock will stop advancing. On resume, the maximum delta in the clock is clamped to a small value, so we ignore all the time the thread was not ticking for (i.e. the duration of the title being suspended). - As such, we don't need any logic for handling PLM suspend/resume in the hang and hitch detectors, so this change removes that too. #jira FORT-96886 Change 4331973 by Luke.Thatcher [CONSOLE] [^] (merging CL 4183499) Add frame-present-based hang detection. - RHIs call FThreadHeartBeat::PresentFrame() whenever they present a frame to the swap chain. - These calls form a separate heartbeat from the thread-based ones, allowing the hang detector to fire if, for example, the game thread is stuck in an async loading loop and is ticking the game thread heartbeat, but making no progress. - Also refactored ThreadHeartBeat.cpp to move hang detection logging into a FORCENOINLINE function. This will put OnHang and OnPresentHang at the top of the callstack in retail crash dumps, making the bucketing easier to recognise. Change 4332200 by Luke.Thatcher [CONSOLE] [+] (merging CL 4227517) Add PlatformDebugData to FShaderResource. - We can use this to store platform specific shader symbols etc. The data gets serialized to the DDC and can be retrieved during a cook. - Data is entirely discarded in cooked builds, and is a no-op on platforms which don't implement support for shader debug data. - Bumped shader version to invalidate DDC keys. Change 4332407 by Luke.Thatcher [CONSOLE] [CORE] [!] (merging CL 4279686) Fixed unaligned integer load macro inconsistencies. - Renamed PLATFORM_SUPPORTS_UNALIGNED_INT_LOADS to PLATFORM_SUPPORTS_UNALIGNED_LOADS - Merged it with REQUIRES_ALIGNED_ACCESS and REQUIRES_ALIGNED_INT_ACCESS - Fixed Linux platform which had both the old macros defined to 1, which is wrong because they are mutually exclusive. Change 4333386 by Luke.Thatcher [CONSOLE] [!] (merging CL 4317367) Fix compile error in AnimationCompression.h Change 4334395 by Arciel.Rekman Corrected PLATFORM_DESKTOP definition. Change 4336190 by Anthony.Bills (Original CL4314280) Use the debug file writer when using framepro. This buffers more data which should reduce stalls when writing out on certain platforms. #jira none Change 4336291 by Anthony.Bills Use a clamped local clock when timing out the renderthread. - This prevents suspend and resume issues on platforms where suspend events may not occur or the system clock is not set to the process time. #jira none Change 4336292 by Anthony.Bills (Orignal CL 4195778) Fix printing of the hang detector multiplier and other logging. "f" is the correct format specifier for a double. #jira none Change 4336307 by Anthony.Bills (Orignal CL 4257875) Use the correct clock when printing the scoped hitch stat. - Needs to be the internal FGameThreadHitchHeartBeat clock incase FPlatformTime::Seconds becomes out of sync with FrameStartTime. #jira none Change 4336321 by Anthony.Bills (Original CL 4258186) Add GetNoInit function to FGameThreadHitchHeartBeat. #jira none Change 4336397 by Anthony.Bills Fix redefinition of macro. #jira none Change 4336738 by Brandon.Schaefer Linux: Add options for ASan, TSan, and UBSan #jira UE-62784 UE-62803 UE-62804 Change 4336791 by Brandon.Schaefer Linux: Add missing xml comments #jira none Change 4336957 by Joe.Barnes Integrate as edit CL#4218145: Convert some of our Vector macros to inline functions as thier names class with 3rd party functions. #jira ue-61733 Change 4338228 by Arciel.Rekman Switch to v12 Linux cross-toolchain (UE-63589). #jira UE-63589 Change 4339195 by Ben.Woodhouse Integrate-as-edit latest CSV profiler changes up to CL 4292187 Change 4339237 by Ben.Woodhouse Integrate-as-edit CL 4226269 Add support for extern GPU stats, so we can use one stat across multiple CPPs Fix the Forward rendering GPUProjection stat Change 4339239 by Ben.Woodhouse Integrate-as-edit CL 4292520 Support different sized buffers for FArchiveFileWriterGeneric per-platform so we can tune per-platform as needed. No changes to existing defaults values of 1KB for read, 4KB for write: #define PLATFORM_FILE_READER_BUFFER_SIZE 1024 #define PLATFORM_FILE_WRITER_BUFFER_SIZE 4096 #define PLATFORM_DEBUG_FILE_WRITER_BUFFER_SIZE 4096 Change 4339241 by Ben.Woodhouse Integrate-as-edit CL 4210462 Comment out an assert while I investigate properly (doesn't appear to be fatal) Change 4339265 by Anthony.Bills [Linux] Fix ContainerBuildThirdParty.sh to pick the first default interface. #jira none Change 4339274 by Anthony.Bills [Linux] Cache the bundled toolchain when using git builds. - Also will not attempt to download the toolchain if AutoSDK or Multiarch root are specified. #jira UE-63394 Change 4339623 by Anthony.Bills [Linux] Update native toolchain buildscript to support clang 6.0.1 - Main issue was due to libxml2 as an extra dependency of some test libraries, so needs to be disabled via DLLVM_ENABLE_LIBXML2. #jira UE-63588 Change 4339685 by Anthony.Bills [Linux] Update toolchain setup script to download v12 when it is available. #jira UE-63588 Change 4339833 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4339548 to //UE4/Dev-Console/... Change 4339843 by Ben.Woodhouse Attempt to fix a weird possible bad merge issue Change 4339890 by Ben.Woodhouse Fix a build issue #jira nojira Change 4340314 by Anthony.Bills Fix mesh decal rendering when write mask is enabled and no deferred decals are in the scene. #jira UE-55159 Change 4341099 by Marcin.Undak Mediashader fix #jira UE-63650 Change 4341106 by Marcin.Undak QAGame: added MediaPlayer for Linux test #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341107 by Marcin.Undak WebMMediaPlayer: blacklist all not supported platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341110 by Marcin.Undak WebMMediaPlayer: enable for Unix platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341804 by Luke.Thatcher [CONSOLE] [!] Fix memory scribble in black depth texture cube on platforms with 16-bit depth. - Original code was writing a FColor into the locked texture data, which causes a 2 byte scribble if the PF_ShadowDepth format is 16-bits. [!] Also fixed GWhiteTextureCube being black. FColor::White is not a compile-time constant, so an initialization order problem meant the value of FColor::White is actually black when the GWhiteTextureCube constructor runs. #jira none Change 4342244 by Anthony.Bills [Linux] Allow restarting the crashed application from the crash report client #jira UE-62903 Change 4342636 by Brandon.Schaefer Linux: Update LLVM libc++.a libc++abi.a with version 6.0.1 #jira UE-63587 Change 4343420 by Marcin.Undak Fixed assert in console #jira UE-63643 Change 4345166 by Luke.Thatcher [CONSOLE] [!] (merging CL 4345072) Fix initialization order bug with FColor and FLinearColor constants. - The original constants were dynamically initialized during startup. Using these constants from other global constructors may result in getting the wrong value (transparent black) if a given constructor runs before FColor/FLinearColor's constructor. - Adding constexpr to the FColor/FLinearColor constructor makes these constants known at compile-time, and included in the readonly data section, so they don't require dynamic initialization. [~] Also restores the original constant color values in RenderUtils.cpp #jira none Change 4345860 by Arciel.Rekman Make StompMalloc return 16-byte aligned memory on 64 bit platforms (UE-63743). #jira UE-63743 (Edigrating 4345734 from Release-4.20) Change 4345950 by Brandon.Schaefer Linux: Remove libelf/libdwarf fallback for symbolicating symbols during a crash #jira UE-63103 Change 4350249 by David.Harvey helper function to retrieve an LLM tag's name, including platform tags. Change 4351184 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4348973 to //UE4/Dev-Console/... Change 4351593 by Ben.Woodhouse Clean up aggressive batching (remove xbox specific #if and //TODO) #jira UE-46780 Change 4351734 by James.Cobbett Setting TM-ShaderModels_Niagara to always load Change 4351984 by Marcin.Undak QAGame: restored platform media source in TM-ShaderModels map Change 4353508 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4353110 to //UE4/Dev-Console/... Change 4354237 by Anthony.Bills [Linux] Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4354334 by Anthony.Bills [Linux] (Missing file from CL 4354237) Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4355994 by Brandon.Schaefer Linux: Agree not Agreed #jira UE-63937 Change 4356068 by Joe.Barnes Replace a duplicate DEFINE_EXPRESSION_NODE_TYPE(bool,...) causing errors with iOS unity build compiles. Remove version in ExpressionParser.cpp and include TextFilterExpressionEvaluator.h. #jira ue-63877 Change 4357726 by David.Harvey [iOS] add clean support for device output log, after catchup. #jira none Change 4357724 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4357176 to //UE4/Dev-Console/... Change 4359634 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4359072 to //UE4/Dev-Console/... Change 4359958 by Ben.Woodhouse Fix FortGPUTestbed merge issues via p4 copy (content files didn't get moved before for some reason) Change 4361108 by Anthony.Bills Fix webm deprecation issues with DrawPrimitiveUp. #jira UE-64012 Change 4361896 by James.Cobbett Re-saving materials so that they render correctly outside of the editor. Change 4362262 by Anthony.Bills Fix for WebM video decoder crash. #jira UE-64025 [CL 4362700 by Joe Barnes in Main branch]
2018-09-12 15:59:49 -04:00
Title = WCHAR_TO_TCHAR(InTitle.ToWString().c_str());
TitleChangedEvent.Broadcast(Title);
}
void FCEFWebBrowserWindow::SetUrl(const CefString& Url)
{
Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4362408) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 4125165 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4124306 to //UE4/Dev-Console/... Change 4136060 by Marcin.Undak Editor: fixed device unclaiming #jira UE-58464 Change 4190321 by Marcin.Undak Linux: fixes for automation and RecordPerformance #jira UE-61053 Change 4199010 by Marcin.Undak Linux: remove unnecessary -g option Change 4201876 by Marcin.Undak First implementation of WebM media player for Windows and Linux Change 4201922 by Marcin.Undak Whitelisted WebMem plugin only for Windows and Linux Change 4202203 by Marcin.Undak WebM build fixes Change 4223102 by Marcin.Undak Vulkan: console commands for testing device lost #jira UE-61789 Change 4225028 by Marcin.Undak WebMMedia: disabled on Linux until fixed compilation issues Change 4231444 by David.Harvey UI - Fixing where the virtual cursor renders. It doesn't correctly take into account DPI scale, which isn't apparent except on the Xbox One. Integrate as edit from CL 4166648. #jira UE-62115 Change 4233057 by Marcin.Undak TestPAL: added new test for string allocation size Change 4234649 by Marcin.Undak Linux: switched linux plaform to 16bit wide strings Change 4235253 by Marcin.Undak TestPAL: compilation fix for platforms that don't use DirectoryWatcher Change 4235477 by Marcin.Undak Linux: re-enabled WebMMedia plugin Change 4242242 by Marcin.Undak WebMMediaPlayer: implemented proper format retrieving. MediaFrameworkTest now works. Change 4243321 by Marcin.Undak WebMPlayer: static code analisys fix Change 4243505 by Marcin.Undak MediaFrameworkTest: added WebM video for testing Change 4244646 by Marcin.Undak WebMMedia: improved concurrency Change 4244735 by Arciel.Rekman Vulkan: skip unnecessary transitions properly (UE-62348, merge). (Edigrating CL 4244274 from Release-4.20) Change 4246685 by Arciel.Rekman PhysX: remove Cygwin from %PATH% on Windows as it confuses CMake (UE-62326). Change 4247808 by Marcin.Undak WebMMediaPlayer: added support for seeking Change 4254841 by Marcin.Undak WebM: module dependencies fix Change 4255124 by laz.matech Updated UMG_AllPaletterWidgets' combo box to include options so that when selected, the dropdown presents 2 options instead of it appearing like it is broken #jira none Change 4256415 by Marcin.Undak WebM: added missing editor module Change 4256716 by Arciel.Rekman Make SetReuseAddr() also set SO_REUSEPORT where available (UE-57076). - Pull request #4617 by malavon. #jira UE-57076 Change 4266049 by Marcin.Undak Linux: UnrealLightmass and CrashReportClient compilation fixes #jira UE-62521 #jira UE-62522 Change 4266678 by Arciel.Rekman Merge speculative commit to get aligned pointer on mmap(). (Edigrating CL 4225330) Change 4267998 by Anthony.Bills Fix DBufferC clear color due to bad merge. #jira UE-62649 Change 4269441 by Marcin.Undak GenericPlatformStrings::VarArgs() implemented %-*s, %lu, %z, %h formatting #jira UE-62582 Change 4269712 by Marcin.Undak WebMMediaPlayer: removed LibSimpleWebM Change 4272849 by Marcin.Undak WebMMediaPlayer: fixed re-initialisation Change 4277931 by Arciel.Rekman Linux: switch to Vulkan by default (UE-62807). - Default behavior: attempt Vulkan first, but in case of failure instead of quitting silently fall back to GL, unless -vulkan is passed. - Forcing GL is still possible. Change 4277965 by Arciel.Rekman Fix standalone applications after the Vulkan switch. Change 4277968 by Arciel.Rekman Linux: make CrashReportClient headful (UE-14089). - The -unattended flags keep even a headful CRC usable on the servers. - ldd did not change. Need to check Localization stuff to see if there are any deployment concerns. #jira UE-14089 Change 4279402 by Arciel.Rekman Merge from 4.20.1: Vulkan: log validation errors. Also fix handling of some message types (UE-62628). (Edigrating 4273516 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4279992 by Marcin.Undak Linux: fix SlateViewer compilation #jira UE-62831 Change 4285613 by Arciel.Rekman Vulkan: fix mismatched layout. - I tested with RecordPerformance on InfiltratorDemo and haven't found any impact. Change 4285622 by Arciel.Rekman Merged from 4.20.2: Linux: do not refuse to start if system limits cannot be raised (UE-62515). - Too aggressive behavior, which can break cooking for no valid reason. - If a commandline argument is used, the engine will still treat inability to raise the limits as an error. (Edigrating 4273547 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4293083 by Arciel.Rekman Merging //UE4/Main@4291654 to //UE4/Dev-Console Change 4295297 by Marcin.Undak Vulkan: temporary disable generic pipeline cache saving to prevent crashes #jira UE-62848 Change 4300191 by Arciel.Rekman Delete files added under lowercase directories. Change 4300211 by Arciel.Rekman Re-add files deleted in previous commit under camel-cased paths. Change 4300895 by Arciel.Rekman Linux: fix editor build Change 4303543 by Ben.Marsh Fix compile error for FortGPUTestBed. Change 4305659 by Marcin.Undak [Vulkan][Engine] Update the Vulkan RHI to obey r.VSync (and the vsync and novsync command-line arguments). Change 4222769 by Jason.Stewart@Jason.Stewart_AMD_Dev_Rendering_threadripper-win10 on 2018/07/19 10:55:48 The original implementation ran into a latent thread hazard between the RHI thread and the rendering thread, where the rendering thread would try to use the backbuffer of the swap chain while the swap chain was being recreated (specifically after the swap chain recreation code had released and nulled out the back buffer, but before swap chain creation had actually happened to get a new back buffer). This implementation addresses that issue. This is Tim's code. I'm just submitting it as Tim is currently out of office. Change 4305661 by Marcin.Undak Moved libwebm and libvpx inside WebMMediaPlayer directory Change 4308659 by Marcin.Undak Linux: fixed LLDB visualizers #jira UE-52619 Change 4313650 by Marcin.Undak WebMMediaPlayer: implemented looping Change 4321713 by David.Harvey removed hard-coded platform labels from device output log window in favour of ITargetPlatform::SupportsFeature + updated editor tooltip with correct platform list. https://ec-01.epicgames.net/commander/link/jobDetails/jobs/8641984? Change 4321942 by Brandon.Schaefer Linux: Use the Target RHI list as the default ordering for which RHI is prefered Also update the RHI list in the project settings for our default list #jira UE-59487 #review-4316134 @Arciel.Rekman Change 4322230 by Brandon.Schaefer Treat %lf as %f in GenericWidePlatformString #jira UE-62582 Change 4322392 by Brandon.Schaefer Make sure our fmt size is large enough to check indexes #jira none Change 4322895 by Brandon.Schaefer Actually get the current size of Src as it could have been moved down #jira none Change 4327866 by Brandon.Schaefer Linux: Tell the platform misc what RHI we are using #jira none Change 4328926 by Brandon.Schaefer Linux: Add haptic support for controllers Github PR #4167 (thanks maiself!) #jira UE-51681 Change 4328963 by Arciel.Rekman TestPAL: improve the test by randomizing allocation size. - The range will no longer be constrained to <=128KB at once, allocations can be as big as 16MB but they will unevenly distributed, with smaller sizes being more frequent. Change 4329208 by Arciel.Rekman hlslcc: suppressed benign compiler warning during the Linux build (UE-43988). Change 4329283 by Arciel.Rekman Linux: replace CachedOSPageAllocator with PooledVirtualMemoryAllocator for Linux. For the explanation of FPooledVirtualMemoryAllocator, see PooledVirtualMemoryAllocator.h For the details, test data and comparisons, message Arciel Rekman. Relevant command line args added: -vmapoolscale=<float> (defaults to 1.4) -vmapoolevict -novmapoolevict By default, freed memory will not be evicted from RAM (unless running on a server) Also changed: - Removed the fixed-size pool previously used by Linux (and supporting machinery like scaling it on start) - Replaced the way we manage free blocks from pointers to a bitmap to reduce memory footprint. Change 4331946 by Luke.Thatcher [CONSOLE] [^] (merging CL 4162064) Implement new thread heart beat clock to solve the suspend/resume problem across all platforms. - The hang and hitch detectors now maintain their own clocks which are ticked by their respective threads. - If the title is suspended, the ticking thread will stop and the clock will stop advancing. On resume, the maximum delta in the clock is clamped to a small value, so we ignore all the time the thread was not ticking for (i.e. the duration of the title being suspended). - As such, we don't need any logic for handling PLM suspend/resume in the hang and hitch detectors, so this change removes that too. #jira FORT-96886 Change 4331973 by Luke.Thatcher [CONSOLE] [^] (merging CL 4183499) Add frame-present-based hang detection. - RHIs call FThreadHeartBeat::PresentFrame() whenever they present a frame to the swap chain. - These calls form a separate heartbeat from the thread-based ones, allowing the hang detector to fire if, for example, the game thread is stuck in an async loading loop and is ticking the game thread heartbeat, but making no progress. - Also refactored ThreadHeartBeat.cpp to move hang detection logging into a FORCENOINLINE function. This will put OnHang and OnPresentHang at the top of the callstack in retail crash dumps, making the bucketing easier to recognise. Change 4332200 by Luke.Thatcher [CONSOLE] [+] (merging CL 4227517) Add PlatformDebugData to FShaderResource. - We can use this to store platform specific shader symbols etc. The data gets serialized to the DDC and can be retrieved during a cook. - Data is entirely discarded in cooked builds, and is a no-op on platforms which don't implement support for shader debug data. - Bumped shader version to invalidate DDC keys. Change 4332407 by Luke.Thatcher [CONSOLE] [CORE] [!] (merging CL 4279686) Fixed unaligned integer load macro inconsistencies. - Renamed PLATFORM_SUPPORTS_UNALIGNED_INT_LOADS to PLATFORM_SUPPORTS_UNALIGNED_LOADS - Merged it with REQUIRES_ALIGNED_ACCESS and REQUIRES_ALIGNED_INT_ACCESS - Fixed Linux platform which had both the old macros defined to 1, which is wrong because they are mutually exclusive. Change 4333386 by Luke.Thatcher [CONSOLE] [!] (merging CL 4317367) Fix compile error in AnimationCompression.h Change 4334395 by Arciel.Rekman Corrected PLATFORM_DESKTOP definition. Change 4336190 by Anthony.Bills (Original CL4314280) Use the debug file writer when using framepro. This buffers more data which should reduce stalls when writing out on certain platforms. #jira none Change 4336291 by Anthony.Bills Use a clamped local clock when timing out the renderthread. - This prevents suspend and resume issues on platforms where suspend events may not occur or the system clock is not set to the process time. #jira none Change 4336292 by Anthony.Bills (Orignal CL 4195778) Fix printing of the hang detector multiplier and other logging. "f" is the correct format specifier for a double. #jira none Change 4336307 by Anthony.Bills (Orignal CL 4257875) Use the correct clock when printing the scoped hitch stat. - Needs to be the internal FGameThreadHitchHeartBeat clock incase FPlatformTime::Seconds becomes out of sync with FrameStartTime. #jira none Change 4336321 by Anthony.Bills (Original CL 4258186) Add GetNoInit function to FGameThreadHitchHeartBeat. #jira none Change 4336397 by Anthony.Bills Fix redefinition of macro. #jira none Change 4336738 by Brandon.Schaefer Linux: Add options for ASan, TSan, and UBSan #jira UE-62784 UE-62803 UE-62804 Change 4336791 by Brandon.Schaefer Linux: Add missing xml comments #jira none Change 4336957 by Joe.Barnes Integrate as edit CL#4218145: Convert some of our Vector macros to inline functions as thier names class with 3rd party functions. #jira ue-61733 Change 4338228 by Arciel.Rekman Switch to v12 Linux cross-toolchain (UE-63589). #jira UE-63589 Change 4339195 by Ben.Woodhouse Integrate-as-edit latest CSV profiler changes up to CL 4292187 Change 4339237 by Ben.Woodhouse Integrate-as-edit CL 4226269 Add support for extern GPU stats, so we can use one stat across multiple CPPs Fix the Forward rendering GPUProjection stat Change 4339239 by Ben.Woodhouse Integrate-as-edit CL 4292520 Support different sized buffers for FArchiveFileWriterGeneric per-platform so we can tune per-platform as needed. No changes to existing defaults values of 1KB for read, 4KB for write: #define PLATFORM_FILE_READER_BUFFER_SIZE 1024 #define PLATFORM_FILE_WRITER_BUFFER_SIZE 4096 #define PLATFORM_DEBUG_FILE_WRITER_BUFFER_SIZE 4096 Change 4339241 by Ben.Woodhouse Integrate-as-edit CL 4210462 Comment out an assert while I investigate properly (doesn't appear to be fatal) Change 4339265 by Anthony.Bills [Linux] Fix ContainerBuildThirdParty.sh to pick the first default interface. #jira none Change 4339274 by Anthony.Bills [Linux] Cache the bundled toolchain when using git builds. - Also will not attempt to download the toolchain if AutoSDK or Multiarch root are specified. #jira UE-63394 Change 4339623 by Anthony.Bills [Linux] Update native toolchain buildscript to support clang 6.0.1 - Main issue was due to libxml2 as an extra dependency of some test libraries, so needs to be disabled via DLLVM_ENABLE_LIBXML2. #jira UE-63588 Change 4339685 by Anthony.Bills [Linux] Update toolchain setup script to download v12 when it is available. #jira UE-63588 Change 4339833 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4339548 to //UE4/Dev-Console/... Change 4339843 by Ben.Woodhouse Attempt to fix a weird possible bad merge issue Change 4339890 by Ben.Woodhouse Fix a build issue #jira nojira Change 4340314 by Anthony.Bills Fix mesh decal rendering when write mask is enabled and no deferred decals are in the scene. #jira UE-55159 Change 4341099 by Marcin.Undak Mediashader fix #jira UE-63650 Change 4341106 by Marcin.Undak QAGame: added MediaPlayer for Linux test #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341107 by Marcin.Undak WebMMediaPlayer: blacklist all not supported platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341110 by Marcin.Undak WebMMediaPlayer: enable for Unix platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341804 by Luke.Thatcher [CONSOLE] [!] Fix memory scribble in black depth texture cube on platforms with 16-bit depth. - Original code was writing a FColor into the locked texture data, which causes a 2 byte scribble if the PF_ShadowDepth format is 16-bits. [!] Also fixed GWhiteTextureCube being black. FColor::White is not a compile-time constant, so an initialization order problem meant the value of FColor::White is actually black when the GWhiteTextureCube constructor runs. #jira none Change 4342244 by Anthony.Bills [Linux] Allow restarting the crashed application from the crash report client #jira UE-62903 Change 4342636 by Brandon.Schaefer Linux: Update LLVM libc++.a libc++abi.a with version 6.0.1 #jira UE-63587 Change 4343420 by Marcin.Undak Fixed assert in console #jira UE-63643 Change 4345166 by Luke.Thatcher [CONSOLE] [!] (merging CL 4345072) Fix initialization order bug with FColor and FLinearColor constants. - The original constants were dynamically initialized during startup. Using these constants from other global constructors may result in getting the wrong value (transparent black) if a given constructor runs before FColor/FLinearColor's constructor. - Adding constexpr to the FColor/FLinearColor constructor makes these constants known at compile-time, and included in the readonly data section, so they don't require dynamic initialization. [~] Also restores the original constant color values in RenderUtils.cpp #jira none Change 4345860 by Arciel.Rekman Make StompMalloc return 16-byte aligned memory on 64 bit platforms (UE-63743). #jira UE-63743 (Edigrating 4345734 from Release-4.20) Change 4345950 by Brandon.Schaefer Linux: Remove libelf/libdwarf fallback for symbolicating symbols during a crash #jira UE-63103 Change 4350249 by David.Harvey helper function to retrieve an LLM tag's name, including platform tags. Change 4351184 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4348973 to //UE4/Dev-Console/... Change 4351593 by Ben.Woodhouse Clean up aggressive batching (remove xbox specific #if and //TODO) #jira UE-46780 Change 4351734 by James.Cobbett Setting TM-ShaderModels_Niagara to always load Change 4351984 by Marcin.Undak QAGame: restored platform media source in TM-ShaderModels map Change 4353508 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4353110 to //UE4/Dev-Console/... Change 4354237 by Anthony.Bills [Linux] Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4354334 by Anthony.Bills [Linux] (Missing file from CL 4354237) Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4355994 by Brandon.Schaefer Linux: Agree not Agreed #jira UE-63937 Change 4356068 by Joe.Barnes Replace a duplicate DEFINE_EXPRESSION_NODE_TYPE(bool,...) causing errors with iOS unity build compiles. Remove version in ExpressionParser.cpp and include TextFilterExpressionEvaluator.h. #jira ue-63877 Change 4357726 by David.Harvey [iOS] add clean support for device output log, after catchup. #jira none Change 4357724 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4357176 to //UE4/Dev-Console/... Change 4359634 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4359072 to //UE4/Dev-Console/... Change 4359958 by Ben.Woodhouse Fix FortGPUTestbed merge issues via p4 copy (content files didn't get moved before for some reason) Change 4361108 by Anthony.Bills Fix webm deprecation issues with DrawPrimitiveUp. #jira UE-64012 Change 4361896 by James.Cobbett Re-saving materials so that they render correctly outside of the editor. Change 4362262 by Anthony.Bills Fix for WebM video decoder crash. #jira UE-64025 [CL 4362700 by Joe Barnes in Main branch]
2018-09-12 15:59:49 -04:00
CurrentUrl = WCHAR_TO_TCHAR(Url.ToWString().c_str());
OnUrlChanged().Broadcast(CurrentUrl);
}
void FCEFWebBrowserWindow::SetToolTip(const CefString& CefToolTip)
{
Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4362408) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 4125165 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4124306 to //UE4/Dev-Console/... Change 4136060 by Marcin.Undak Editor: fixed device unclaiming #jira UE-58464 Change 4190321 by Marcin.Undak Linux: fixes for automation and RecordPerformance #jira UE-61053 Change 4199010 by Marcin.Undak Linux: remove unnecessary -g option Change 4201876 by Marcin.Undak First implementation of WebM media player for Windows and Linux Change 4201922 by Marcin.Undak Whitelisted WebMem plugin only for Windows and Linux Change 4202203 by Marcin.Undak WebM build fixes Change 4223102 by Marcin.Undak Vulkan: console commands for testing device lost #jira UE-61789 Change 4225028 by Marcin.Undak WebMMedia: disabled on Linux until fixed compilation issues Change 4231444 by David.Harvey UI - Fixing where the virtual cursor renders. It doesn't correctly take into account DPI scale, which isn't apparent except on the Xbox One. Integrate as edit from CL 4166648. #jira UE-62115 Change 4233057 by Marcin.Undak TestPAL: added new test for string allocation size Change 4234649 by Marcin.Undak Linux: switched linux plaform to 16bit wide strings Change 4235253 by Marcin.Undak TestPAL: compilation fix for platforms that don't use DirectoryWatcher Change 4235477 by Marcin.Undak Linux: re-enabled WebMMedia plugin Change 4242242 by Marcin.Undak WebMMediaPlayer: implemented proper format retrieving. MediaFrameworkTest now works. Change 4243321 by Marcin.Undak WebMPlayer: static code analisys fix Change 4243505 by Marcin.Undak MediaFrameworkTest: added WebM video for testing Change 4244646 by Marcin.Undak WebMMedia: improved concurrency Change 4244735 by Arciel.Rekman Vulkan: skip unnecessary transitions properly (UE-62348, merge). (Edigrating CL 4244274 from Release-4.20) Change 4246685 by Arciel.Rekman PhysX: remove Cygwin from %PATH% on Windows as it confuses CMake (UE-62326). Change 4247808 by Marcin.Undak WebMMediaPlayer: added support for seeking Change 4254841 by Marcin.Undak WebM: module dependencies fix Change 4255124 by laz.matech Updated UMG_AllPaletterWidgets' combo box to include options so that when selected, the dropdown presents 2 options instead of it appearing like it is broken #jira none Change 4256415 by Marcin.Undak WebM: added missing editor module Change 4256716 by Arciel.Rekman Make SetReuseAddr() also set SO_REUSEPORT where available (UE-57076). - Pull request #4617 by malavon. #jira UE-57076 Change 4266049 by Marcin.Undak Linux: UnrealLightmass and CrashReportClient compilation fixes #jira UE-62521 #jira UE-62522 Change 4266678 by Arciel.Rekman Merge speculative commit to get aligned pointer on mmap(). (Edigrating CL 4225330) Change 4267998 by Anthony.Bills Fix DBufferC clear color due to bad merge. #jira UE-62649 Change 4269441 by Marcin.Undak GenericPlatformStrings::VarArgs() implemented %-*s, %lu, %z, %h formatting #jira UE-62582 Change 4269712 by Marcin.Undak WebMMediaPlayer: removed LibSimpleWebM Change 4272849 by Marcin.Undak WebMMediaPlayer: fixed re-initialisation Change 4277931 by Arciel.Rekman Linux: switch to Vulkan by default (UE-62807). - Default behavior: attempt Vulkan first, but in case of failure instead of quitting silently fall back to GL, unless -vulkan is passed. - Forcing GL is still possible. Change 4277965 by Arciel.Rekman Fix standalone applications after the Vulkan switch. Change 4277968 by Arciel.Rekman Linux: make CrashReportClient headful (UE-14089). - The -unattended flags keep even a headful CRC usable on the servers. - ldd did not change. Need to check Localization stuff to see if there are any deployment concerns. #jira UE-14089 Change 4279402 by Arciel.Rekman Merge from 4.20.1: Vulkan: log validation errors. Also fix handling of some message types (UE-62628). (Edigrating 4273516 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4279992 by Marcin.Undak Linux: fix SlateViewer compilation #jira UE-62831 Change 4285613 by Arciel.Rekman Vulkan: fix mismatched layout. - I tested with RecordPerformance on InfiltratorDemo and haven't found any impact. Change 4285622 by Arciel.Rekman Merged from 4.20.2: Linux: do not refuse to start if system limits cannot be raised (UE-62515). - Too aggressive behavior, which can break cooking for no valid reason. - If a commandline argument is used, the engine will still treat inability to raise the limits as an error. (Edigrating 4273547 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4293083 by Arciel.Rekman Merging //UE4/Main@4291654 to //UE4/Dev-Console Change 4295297 by Marcin.Undak Vulkan: temporary disable generic pipeline cache saving to prevent crashes #jira UE-62848 Change 4300191 by Arciel.Rekman Delete files added under lowercase directories. Change 4300211 by Arciel.Rekman Re-add files deleted in previous commit under camel-cased paths. Change 4300895 by Arciel.Rekman Linux: fix editor build Change 4303543 by Ben.Marsh Fix compile error for FortGPUTestBed. Change 4305659 by Marcin.Undak [Vulkan][Engine] Update the Vulkan RHI to obey r.VSync (and the vsync and novsync command-line arguments). Change 4222769 by Jason.Stewart@Jason.Stewart_AMD_Dev_Rendering_threadripper-win10 on 2018/07/19 10:55:48 The original implementation ran into a latent thread hazard between the RHI thread and the rendering thread, where the rendering thread would try to use the backbuffer of the swap chain while the swap chain was being recreated (specifically after the swap chain recreation code had released and nulled out the back buffer, but before swap chain creation had actually happened to get a new back buffer). This implementation addresses that issue. This is Tim's code. I'm just submitting it as Tim is currently out of office. Change 4305661 by Marcin.Undak Moved libwebm and libvpx inside WebMMediaPlayer directory Change 4308659 by Marcin.Undak Linux: fixed LLDB visualizers #jira UE-52619 Change 4313650 by Marcin.Undak WebMMediaPlayer: implemented looping Change 4321713 by David.Harvey removed hard-coded platform labels from device output log window in favour of ITargetPlatform::SupportsFeature + updated editor tooltip with correct platform list. https://ec-01.epicgames.net/commander/link/jobDetails/jobs/8641984? Change 4321942 by Brandon.Schaefer Linux: Use the Target RHI list as the default ordering for which RHI is prefered Also update the RHI list in the project settings for our default list #jira UE-59487 #review-4316134 @Arciel.Rekman Change 4322230 by Brandon.Schaefer Treat %lf as %f in GenericWidePlatformString #jira UE-62582 Change 4322392 by Brandon.Schaefer Make sure our fmt size is large enough to check indexes #jira none Change 4322895 by Brandon.Schaefer Actually get the current size of Src as it could have been moved down #jira none Change 4327866 by Brandon.Schaefer Linux: Tell the platform misc what RHI we are using #jira none Change 4328926 by Brandon.Schaefer Linux: Add haptic support for controllers Github PR #4167 (thanks maiself!) #jira UE-51681 Change 4328963 by Arciel.Rekman TestPAL: improve the test by randomizing allocation size. - The range will no longer be constrained to <=128KB at once, allocations can be as big as 16MB but they will unevenly distributed, with smaller sizes being more frequent. Change 4329208 by Arciel.Rekman hlslcc: suppressed benign compiler warning during the Linux build (UE-43988). Change 4329283 by Arciel.Rekman Linux: replace CachedOSPageAllocator with PooledVirtualMemoryAllocator for Linux. For the explanation of FPooledVirtualMemoryAllocator, see PooledVirtualMemoryAllocator.h For the details, test data and comparisons, message Arciel Rekman. Relevant command line args added: -vmapoolscale=<float> (defaults to 1.4) -vmapoolevict -novmapoolevict By default, freed memory will not be evicted from RAM (unless running on a server) Also changed: - Removed the fixed-size pool previously used by Linux (and supporting machinery like scaling it on start) - Replaced the way we manage free blocks from pointers to a bitmap to reduce memory footprint. Change 4331946 by Luke.Thatcher [CONSOLE] [^] (merging CL 4162064) Implement new thread heart beat clock to solve the suspend/resume problem across all platforms. - The hang and hitch detectors now maintain their own clocks which are ticked by their respective threads. - If the title is suspended, the ticking thread will stop and the clock will stop advancing. On resume, the maximum delta in the clock is clamped to a small value, so we ignore all the time the thread was not ticking for (i.e. the duration of the title being suspended). - As such, we don't need any logic for handling PLM suspend/resume in the hang and hitch detectors, so this change removes that too. #jira FORT-96886 Change 4331973 by Luke.Thatcher [CONSOLE] [^] (merging CL 4183499) Add frame-present-based hang detection. - RHIs call FThreadHeartBeat::PresentFrame() whenever they present a frame to the swap chain. - These calls form a separate heartbeat from the thread-based ones, allowing the hang detector to fire if, for example, the game thread is stuck in an async loading loop and is ticking the game thread heartbeat, but making no progress. - Also refactored ThreadHeartBeat.cpp to move hang detection logging into a FORCENOINLINE function. This will put OnHang and OnPresentHang at the top of the callstack in retail crash dumps, making the bucketing easier to recognise. Change 4332200 by Luke.Thatcher [CONSOLE] [+] (merging CL 4227517) Add PlatformDebugData to FShaderResource. - We can use this to store platform specific shader symbols etc. The data gets serialized to the DDC and can be retrieved during a cook. - Data is entirely discarded in cooked builds, and is a no-op on platforms which don't implement support for shader debug data. - Bumped shader version to invalidate DDC keys. Change 4332407 by Luke.Thatcher [CONSOLE] [CORE] [!] (merging CL 4279686) Fixed unaligned integer load macro inconsistencies. - Renamed PLATFORM_SUPPORTS_UNALIGNED_INT_LOADS to PLATFORM_SUPPORTS_UNALIGNED_LOADS - Merged it with REQUIRES_ALIGNED_ACCESS and REQUIRES_ALIGNED_INT_ACCESS - Fixed Linux platform which had both the old macros defined to 1, which is wrong because they are mutually exclusive. Change 4333386 by Luke.Thatcher [CONSOLE] [!] (merging CL 4317367) Fix compile error in AnimationCompression.h Change 4334395 by Arciel.Rekman Corrected PLATFORM_DESKTOP definition. Change 4336190 by Anthony.Bills (Original CL4314280) Use the debug file writer when using framepro. This buffers more data which should reduce stalls when writing out on certain platforms. #jira none Change 4336291 by Anthony.Bills Use a clamped local clock when timing out the renderthread. - This prevents suspend and resume issues on platforms where suspend events may not occur or the system clock is not set to the process time. #jira none Change 4336292 by Anthony.Bills (Orignal CL 4195778) Fix printing of the hang detector multiplier and other logging. "f" is the correct format specifier for a double. #jira none Change 4336307 by Anthony.Bills (Orignal CL 4257875) Use the correct clock when printing the scoped hitch stat. - Needs to be the internal FGameThreadHitchHeartBeat clock incase FPlatformTime::Seconds becomes out of sync with FrameStartTime. #jira none Change 4336321 by Anthony.Bills (Original CL 4258186) Add GetNoInit function to FGameThreadHitchHeartBeat. #jira none Change 4336397 by Anthony.Bills Fix redefinition of macro. #jira none Change 4336738 by Brandon.Schaefer Linux: Add options for ASan, TSan, and UBSan #jira UE-62784 UE-62803 UE-62804 Change 4336791 by Brandon.Schaefer Linux: Add missing xml comments #jira none Change 4336957 by Joe.Barnes Integrate as edit CL#4218145: Convert some of our Vector macros to inline functions as thier names class with 3rd party functions. #jira ue-61733 Change 4338228 by Arciel.Rekman Switch to v12 Linux cross-toolchain (UE-63589). #jira UE-63589 Change 4339195 by Ben.Woodhouse Integrate-as-edit latest CSV profiler changes up to CL 4292187 Change 4339237 by Ben.Woodhouse Integrate-as-edit CL 4226269 Add support for extern GPU stats, so we can use one stat across multiple CPPs Fix the Forward rendering GPUProjection stat Change 4339239 by Ben.Woodhouse Integrate-as-edit CL 4292520 Support different sized buffers for FArchiveFileWriterGeneric per-platform so we can tune per-platform as needed. No changes to existing defaults values of 1KB for read, 4KB for write: #define PLATFORM_FILE_READER_BUFFER_SIZE 1024 #define PLATFORM_FILE_WRITER_BUFFER_SIZE 4096 #define PLATFORM_DEBUG_FILE_WRITER_BUFFER_SIZE 4096 Change 4339241 by Ben.Woodhouse Integrate-as-edit CL 4210462 Comment out an assert while I investigate properly (doesn't appear to be fatal) Change 4339265 by Anthony.Bills [Linux] Fix ContainerBuildThirdParty.sh to pick the first default interface. #jira none Change 4339274 by Anthony.Bills [Linux] Cache the bundled toolchain when using git builds. - Also will not attempt to download the toolchain if AutoSDK or Multiarch root are specified. #jira UE-63394 Change 4339623 by Anthony.Bills [Linux] Update native toolchain buildscript to support clang 6.0.1 - Main issue was due to libxml2 as an extra dependency of some test libraries, so needs to be disabled via DLLVM_ENABLE_LIBXML2. #jira UE-63588 Change 4339685 by Anthony.Bills [Linux] Update toolchain setup script to download v12 when it is available. #jira UE-63588 Change 4339833 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4339548 to //UE4/Dev-Console/... Change 4339843 by Ben.Woodhouse Attempt to fix a weird possible bad merge issue Change 4339890 by Ben.Woodhouse Fix a build issue #jira nojira Change 4340314 by Anthony.Bills Fix mesh decal rendering when write mask is enabled and no deferred decals are in the scene. #jira UE-55159 Change 4341099 by Marcin.Undak Mediashader fix #jira UE-63650 Change 4341106 by Marcin.Undak QAGame: added MediaPlayer for Linux test #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341107 by Marcin.Undak WebMMediaPlayer: blacklist all not supported platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341110 by Marcin.Undak WebMMediaPlayer: enable for Unix platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341804 by Luke.Thatcher [CONSOLE] [!] Fix memory scribble in black depth texture cube on platforms with 16-bit depth. - Original code was writing a FColor into the locked texture data, which causes a 2 byte scribble if the PF_ShadowDepth format is 16-bits. [!] Also fixed GWhiteTextureCube being black. FColor::White is not a compile-time constant, so an initialization order problem meant the value of FColor::White is actually black when the GWhiteTextureCube constructor runs. #jira none Change 4342244 by Anthony.Bills [Linux] Allow restarting the crashed application from the crash report client #jira UE-62903 Change 4342636 by Brandon.Schaefer Linux: Update LLVM libc++.a libc++abi.a with version 6.0.1 #jira UE-63587 Change 4343420 by Marcin.Undak Fixed assert in console #jira UE-63643 Change 4345166 by Luke.Thatcher [CONSOLE] [!] (merging CL 4345072) Fix initialization order bug with FColor and FLinearColor constants. - The original constants were dynamically initialized during startup. Using these constants from other global constructors may result in getting the wrong value (transparent black) if a given constructor runs before FColor/FLinearColor's constructor. - Adding constexpr to the FColor/FLinearColor constructor makes these constants known at compile-time, and included in the readonly data section, so they don't require dynamic initialization. [~] Also restores the original constant color values in RenderUtils.cpp #jira none Change 4345860 by Arciel.Rekman Make StompMalloc return 16-byte aligned memory on 64 bit platforms (UE-63743). #jira UE-63743 (Edigrating 4345734 from Release-4.20) Change 4345950 by Brandon.Schaefer Linux: Remove libelf/libdwarf fallback for symbolicating symbols during a crash #jira UE-63103 Change 4350249 by David.Harvey helper function to retrieve an LLM tag's name, including platform tags. Change 4351184 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4348973 to //UE4/Dev-Console/... Change 4351593 by Ben.Woodhouse Clean up aggressive batching (remove xbox specific #if and //TODO) #jira UE-46780 Change 4351734 by James.Cobbett Setting TM-ShaderModels_Niagara to always load Change 4351984 by Marcin.Undak QAGame: restored platform media source in TM-ShaderModels map Change 4353508 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4353110 to //UE4/Dev-Console/... Change 4354237 by Anthony.Bills [Linux] Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4354334 by Anthony.Bills [Linux] (Missing file from CL 4354237) Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4355994 by Brandon.Schaefer Linux: Agree not Agreed #jira UE-63937 Change 4356068 by Joe.Barnes Replace a duplicate DEFINE_EXPRESSION_NODE_TYPE(bool,...) causing errors with iOS unity build compiles. Remove version in ExpressionParser.cpp and include TextFilterExpressionEvaluator.h. #jira ue-63877 Change 4357726 by David.Harvey [iOS] add clean support for device output log, after catchup. #jira none Change 4357724 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4357176 to //UE4/Dev-Console/... Change 4359634 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4359072 to //UE4/Dev-Console/... Change 4359958 by Ben.Woodhouse Fix FortGPUTestbed merge issues via p4 copy (content files didn't get moved before for some reason) Change 4361108 by Anthony.Bills Fix webm deprecation issues with DrawPrimitiveUp. #jira UE-64012 Change 4361896 by James.Cobbett Re-saving materials so that they render correctly outside of the editor. Change 4362262 by Anthony.Bills Fix for WebM video decoder crash. #jira UE-64025 [CL 4362700 by Joe Barnes in Main branch]
2018-09-12 15:59:49 -04:00
FString NewToolTipText = WCHAR_TO_TCHAR(CefToolTip.ToWString().c_str());
if (ToolTipText != NewToolTipText)
{
ToolTipText = NewToolTipText;
OnToolTip().Broadcast(ToolTipText);
}
}
void FCEFWebBrowserWindow::GetViewRect(CefRect& Rect)
{
if (ViewportSize == FIntPoint::ZeroValue)
{
Rect.width = 1; // CEF requires a minimum of a 1x1 window to correctly run
Rect.height = 1;
}
else
{
// CEF requires a minimum of a 1px in each dimension to correctly run
Rect.width = FMath::Max( ViewportSize.X, 1);
Rect.height = FMath::Max( ViewportSize.Y, 1);
}
}
int FCEFWebBrowserWindow::GetLoadError()
{
return ErrorCode;
}
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 FCEFWebBrowserWindow::NotifyDocumentError(
CefLoadHandler::ErrorCode InErrorCode,
const CefString& ErrorText,
const CefString& FailedUrl)
{
Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4362408) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 4125165 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4124306 to //UE4/Dev-Console/... Change 4136060 by Marcin.Undak Editor: fixed device unclaiming #jira UE-58464 Change 4190321 by Marcin.Undak Linux: fixes for automation and RecordPerformance #jira UE-61053 Change 4199010 by Marcin.Undak Linux: remove unnecessary -g option Change 4201876 by Marcin.Undak First implementation of WebM media player for Windows and Linux Change 4201922 by Marcin.Undak Whitelisted WebMem plugin only for Windows and Linux Change 4202203 by Marcin.Undak WebM build fixes Change 4223102 by Marcin.Undak Vulkan: console commands for testing device lost #jira UE-61789 Change 4225028 by Marcin.Undak WebMMedia: disabled on Linux until fixed compilation issues Change 4231444 by David.Harvey UI - Fixing where the virtual cursor renders. It doesn't correctly take into account DPI scale, which isn't apparent except on the Xbox One. Integrate as edit from CL 4166648. #jira UE-62115 Change 4233057 by Marcin.Undak TestPAL: added new test for string allocation size Change 4234649 by Marcin.Undak Linux: switched linux plaform to 16bit wide strings Change 4235253 by Marcin.Undak TestPAL: compilation fix for platforms that don't use DirectoryWatcher Change 4235477 by Marcin.Undak Linux: re-enabled WebMMedia plugin Change 4242242 by Marcin.Undak WebMMediaPlayer: implemented proper format retrieving. MediaFrameworkTest now works. Change 4243321 by Marcin.Undak WebMPlayer: static code analisys fix Change 4243505 by Marcin.Undak MediaFrameworkTest: added WebM video for testing Change 4244646 by Marcin.Undak WebMMedia: improved concurrency Change 4244735 by Arciel.Rekman Vulkan: skip unnecessary transitions properly (UE-62348, merge). (Edigrating CL 4244274 from Release-4.20) Change 4246685 by Arciel.Rekman PhysX: remove Cygwin from %PATH% on Windows as it confuses CMake (UE-62326). Change 4247808 by Marcin.Undak WebMMediaPlayer: added support for seeking Change 4254841 by Marcin.Undak WebM: module dependencies fix Change 4255124 by laz.matech Updated UMG_AllPaletterWidgets' combo box to include options so that when selected, the dropdown presents 2 options instead of it appearing like it is broken #jira none Change 4256415 by Marcin.Undak WebM: added missing editor module Change 4256716 by Arciel.Rekman Make SetReuseAddr() also set SO_REUSEPORT where available (UE-57076). - Pull request #4617 by malavon. #jira UE-57076 Change 4266049 by Marcin.Undak Linux: UnrealLightmass and CrashReportClient compilation fixes #jira UE-62521 #jira UE-62522 Change 4266678 by Arciel.Rekman Merge speculative commit to get aligned pointer on mmap(). (Edigrating CL 4225330) Change 4267998 by Anthony.Bills Fix DBufferC clear color due to bad merge. #jira UE-62649 Change 4269441 by Marcin.Undak GenericPlatformStrings::VarArgs() implemented %-*s, %lu, %z, %h formatting #jira UE-62582 Change 4269712 by Marcin.Undak WebMMediaPlayer: removed LibSimpleWebM Change 4272849 by Marcin.Undak WebMMediaPlayer: fixed re-initialisation Change 4277931 by Arciel.Rekman Linux: switch to Vulkan by default (UE-62807). - Default behavior: attempt Vulkan first, but in case of failure instead of quitting silently fall back to GL, unless -vulkan is passed. - Forcing GL is still possible. Change 4277965 by Arciel.Rekman Fix standalone applications after the Vulkan switch. Change 4277968 by Arciel.Rekman Linux: make CrashReportClient headful (UE-14089). - The -unattended flags keep even a headful CRC usable on the servers. - ldd did not change. Need to check Localization stuff to see if there are any deployment concerns. #jira UE-14089 Change 4279402 by Arciel.Rekman Merge from 4.20.1: Vulkan: log validation errors. Also fix handling of some message types (UE-62628). (Edigrating 4273516 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4279992 by Marcin.Undak Linux: fix SlateViewer compilation #jira UE-62831 Change 4285613 by Arciel.Rekman Vulkan: fix mismatched layout. - I tested with RecordPerformance on InfiltratorDemo and haven't found any impact. Change 4285622 by Arciel.Rekman Merged from 4.20.2: Linux: do not refuse to start if system limits cannot be raised (UE-62515). - Too aggressive behavior, which can break cooking for no valid reason. - If a commandline argument is used, the engine will still treat inability to raise the limits as an error. (Edigrating 4273547 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4293083 by Arciel.Rekman Merging //UE4/Main@4291654 to //UE4/Dev-Console Change 4295297 by Marcin.Undak Vulkan: temporary disable generic pipeline cache saving to prevent crashes #jira UE-62848 Change 4300191 by Arciel.Rekman Delete files added under lowercase directories. Change 4300211 by Arciel.Rekman Re-add files deleted in previous commit under camel-cased paths. Change 4300895 by Arciel.Rekman Linux: fix editor build Change 4303543 by Ben.Marsh Fix compile error for FortGPUTestBed. Change 4305659 by Marcin.Undak [Vulkan][Engine] Update the Vulkan RHI to obey r.VSync (and the vsync and novsync command-line arguments). Change 4222769 by Jason.Stewart@Jason.Stewart_AMD_Dev_Rendering_threadripper-win10 on 2018/07/19 10:55:48 The original implementation ran into a latent thread hazard between the RHI thread and the rendering thread, where the rendering thread would try to use the backbuffer of the swap chain while the swap chain was being recreated (specifically after the swap chain recreation code had released and nulled out the back buffer, but before swap chain creation had actually happened to get a new back buffer). This implementation addresses that issue. This is Tim's code. I'm just submitting it as Tim is currently out of office. Change 4305661 by Marcin.Undak Moved libwebm and libvpx inside WebMMediaPlayer directory Change 4308659 by Marcin.Undak Linux: fixed LLDB visualizers #jira UE-52619 Change 4313650 by Marcin.Undak WebMMediaPlayer: implemented looping Change 4321713 by David.Harvey removed hard-coded platform labels from device output log window in favour of ITargetPlatform::SupportsFeature + updated editor tooltip with correct platform list. https://ec-01.epicgames.net/commander/link/jobDetails/jobs/8641984? Change 4321942 by Brandon.Schaefer Linux: Use the Target RHI list as the default ordering for which RHI is prefered Also update the RHI list in the project settings for our default list #jira UE-59487 #review-4316134 @Arciel.Rekman Change 4322230 by Brandon.Schaefer Treat %lf as %f in GenericWidePlatformString #jira UE-62582 Change 4322392 by Brandon.Schaefer Make sure our fmt size is large enough to check indexes #jira none Change 4322895 by Brandon.Schaefer Actually get the current size of Src as it could have been moved down #jira none Change 4327866 by Brandon.Schaefer Linux: Tell the platform misc what RHI we are using #jira none Change 4328926 by Brandon.Schaefer Linux: Add haptic support for controllers Github PR #4167 (thanks maiself!) #jira UE-51681 Change 4328963 by Arciel.Rekman TestPAL: improve the test by randomizing allocation size. - The range will no longer be constrained to <=128KB at once, allocations can be as big as 16MB but they will unevenly distributed, with smaller sizes being more frequent. Change 4329208 by Arciel.Rekman hlslcc: suppressed benign compiler warning during the Linux build (UE-43988). Change 4329283 by Arciel.Rekman Linux: replace CachedOSPageAllocator with PooledVirtualMemoryAllocator for Linux. For the explanation of FPooledVirtualMemoryAllocator, see PooledVirtualMemoryAllocator.h For the details, test data and comparisons, message Arciel Rekman. Relevant command line args added: -vmapoolscale=<float> (defaults to 1.4) -vmapoolevict -novmapoolevict By default, freed memory will not be evicted from RAM (unless running on a server) Also changed: - Removed the fixed-size pool previously used by Linux (and supporting machinery like scaling it on start) - Replaced the way we manage free blocks from pointers to a bitmap to reduce memory footprint. Change 4331946 by Luke.Thatcher [CONSOLE] [^] (merging CL 4162064) Implement new thread heart beat clock to solve the suspend/resume problem across all platforms. - The hang and hitch detectors now maintain their own clocks which are ticked by their respective threads. - If the title is suspended, the ticking thread will stop and the clock will stop advancing. On resume, the maximum delta in the clock is clamped to a small value, so we ignore all the time the thread was not ticking for (i.e. the duration of the title being suspended). - As such, we don't need any logic for handling PLM suspend/resume in the hang and hitch detectors, so this change removes that too. #jira FORT-96886 Change 4331973 by Luke.Thatcher [CONSOLE] [^] (merging CL 4183499) Add frame-present-based hang detection. - RHIs call FThreadHeartBeat::PresentFrame() whenever they present a frame to the swap chain. - These calls form a separate heartbeat from the thread-based ones, allowing the hang detector to fire if, for example, the game thread is stuck in an async loading loop and is ticking the game thread heartbeat, but making no progress. - Also refactored ThreadHeartBeat.cpp to move hang detection logging into a FORCENOINLINE function. This will put OnHang and OnPresentHang at the top of the callstack in retail crash dumps, making the bucketing easier to recognise. Change 4332200 by Luke.Thatcher [CONSOLE] [+] (merging CL 4227517) Add PlatformDebugData to FShaderResource. - We can use this to store platform specific shader symbols etc. The data gets serialized to the DDC and can be retrieved during a cook. - Data is entirely discarded in cooked builds, and is a no-op on platforms which don't implement support for shader debug data. - Bumped shader version to invalidate DDC keys. Change 4332407 by Luke.Thatcher [CONSOLE] [CORE] [!] (merging CL 4279686) Fixed unaligned integer load macro inconsistencies. - Renamed PLATFORM_SUPPORTS_UNALIGNED_INT_LOADS to PLATFORM_SUPPORTS_UNALIGNED_LOADS - Merged it with REQUIRES_ALIGNED_ACCESS and REQUIRES_ALIGNED_INT_ACCESS - Fixed Linux platform which had both the old macros defined to 1, which is wrong because they are mutually exclusive. Change 4333386 by Luke.Thatcher [CONSOLE] [!] (merging CL 4317367) Fix compile error in AnimationCompression.h Change 4334395 by Arciel.Rekman Corrected PLATFORM_DESKTOP definition. Change 4336190 by Anthony.Bills (Original CL4314280) Use the debug file writer when using framepro. This buffers more data which should reduce stalls when writing out on certain platforms. #jira none Change 4336291 by Anthony.Bills Use a clamped local clock when timing out the renderthread. - This prevents suspend and resume issues on platforms where suspend events may not occur or the system clock is not set to the process time. #jira none Change 4336292 by Anthony.Bills (Orignal CL 4195778) Fix printing of the hang detector multiplier and other logging. "f" is the correct format specifier for a double. #jira none Change 4336307 by Anthony.Bills (Orignal CL 4257875) Use the correct clock when printing the scoped hitch stat. - Needs to be the internal FGameThreadHitchHeartBeat clock incase FPlatformTime::Seconds becomes out of sync with FrameStartTime. #jira none Change 4336321 by Anthony.Bills (Original CL 4258186) Add GetNoInit function to FGameThreadHitchHeartBeat. #jira none Change 4336397 by Anthony.Bills Fix redefinition of macro. #jira none Change 4336738 by Brandon.Schaefer Linux: Add options for ASan, TSan, and UBSan #jira UE-62784 UE-62803 UE-62804 Change 4336791 by Brandon.Schaefer Linux: Add missing xml comments #jira none Change 4336957 by Joe.Barnes Integrate as edit CL#4218145: Convert some of our Vector macros to inline functions as thier names class with 3rd party functions. #jira ue-61733 Change 4338228 by Arciel.Rekman Switch to v12 Linux cross-toolchain (UE-63589). #jira UE-63589 Change 4339195 by Ben.Woodhouse Integrate-as-edit latest CSV profiler changes up to CL 4292187 Change 4339237 by Ben.Woodhouse Integrate-as-edit CL 4226269 Add support for extern GPU stats, so we can use one stat across multiple CPPs Fix the Forward rendering GPUProjection stat Change 4339239 by Ben.Woodhouse Integrate-as-edit CL 4292520 Support different sized buffers for FArchiveFileWriterGeneric per-platform so we can tune per-platform as needed. No changes to existing defaults values of 1KB for read, 4KB for write: #define PLATFORM_FILE_READER_BUFFER_SIZE 1024 #define PLATFORM_FILE_WRITER_BUFFER_SIZE 4096 #define PLATFORM_DEBUG_FILE_WRITER_BUFFER_SIZE 4096 Change 4339241 by Ben.Woodhouse Integrate-as-edit CL 4210462 Comment out an assert while I investigate properly (doesn't appear to be fatal) Change 4339265 by Anthony.Bills [Linux] Fix ContainerBuildThirdParty.sh to pick the first default interface. #jira none Change 4339274 by Anthony.Bills [Linux] Cache the bundled toolchain when using git builds. - Also will not attempt to download the toolchain if AutoSDK or Multiarch root are specified. #jira UE-63394 Change 4339623 by Anthony.Bills [Linux] Update native toolchain buildscript to support clang 6.0.1 - Main issue was due to libxml2 as an extra dependency of some test libraries, so needs to be disabled via DLLVM_ENABLE_LIBXML2. #jira UE-63588 Change 4339685 by Anthony.Bills [Linux] Update toolchain setup script to download v12 when it is available. #jira UE-63588 Change 4339833 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4339548 to //UE4/Dev-Console/... Change 4339843 by Ben.Woodhouse Attempt to fix a weird possible bad merge issue Change 4339890 by Ben.Woodhouse Fix a build issue #jira nojira Change 4340314 by Anthony.Bills Fix mesh decal rendering when write mask is enabled and no deferred decals are in the scene. #jira UE-55159 Change 4341099 by Marcin.Undak Mediashader fix #jira UE-63650 Change 4341106 by Marcin.Undak QAGame: added MediaPlayer for Linux test #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341107 by Marcin.Undak WebMMediaPlayer: blacklist all not supported platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341110 by Marcin.Undak WebMMediaPlayer: enable for Unix platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341804 by Luke.Thatcher [CONSOLE] [!] Fix memory scribble in black depth texture cube on platforms with 16-bit depth. - Original code was writing a FColor into the locked texture data, which causes a 2 byte scribble if the PF_ShadowDepth format is 16-bits. [!] Also fixed GWhiteTextureCube being black. FColor::White is not a compile-time constant, so an initialization order problem meant the value of FColor::White is actually black when the GWhiteTextureCube constructor runs. #jira none Change 4342244 by Anthony.Bills [Linux] Allow restarting the crashed application from the crash report client #jira UE-62903 Change 4342636 by Brandon.Schaefer Linux: Update LLVM libc++.a libc++abi.a with version 6.0.1 #jira UE-63587 Change 4343420 by Marcin.Undak Fixed assert in console #jira UE-63643 Change 4345166 by Luke.Thatcher [CONSOLE] [!] (merging CL 4345072) Fix initialization order bug with FColor and FLinearColor constants. - The original constants were dynamically initialized during startup. Using these constants from other global constructors may result in getting the wrong value (transparent black) if a given constructor runs before FColor/FLinearColor's constructor. - Adding constexpr to the FColor/FLinearColor constructor makes these constants known at compile-time, and included in the readonly data section, so they don't require dynamic initialization. [~] Also restores the original constant color values in RenderUtils.cpp #jira none Change 4345860 by Arciel.Rekman Make StompMalloc return 16-byte aligned memory on 64 bit platforms (UE-63743). #jira UE-63743 (Edigrating 4345734 from Release-4.20) Change 4345950 by Brandon.Schaefer Linux: Remove libelf/libdwarf fallback for symbolicating symbols during a crash #jira UE-63103 Change 4350249 by David.Harvey helper function to retrieve an LLM tag's name, including platform tags. Change 4351184 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4348973 to //UE4/Dev-Console/... Change 4351593 by Ben.Woodhouse Clean up aggressive batching (remove xbox specific #if and //TODO) #jira UE-46780 Change 4351734 by James.Cobbett Setting TM-ShaderModels_Niagara to always load Change 4351984 by Marcin.Undak QAGame: restored platform media source in TM-ShaderModels map Change 4353508 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4353110 to //UE4/Dev-Console/... Change 4354237 by Anthony.Bills [Linux] Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4354334 by Anthony.Bills [Linux] (Missing file from CL 4354237) Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4355994 by Brandon.Schaefer Linux: Agree not Agreed #jira UE-63937 Change 4356068 by Joe.Barnes Replace a duplicate DEFINE_EXPRESSION_NODE_TYPE(bool,...) causing errors with iOS unity build compiles. Remove version in ExpressionParser.cpp and include TextFilterExpressionEvaluator.h. #jira ue-63877 Change 4357726 by David.Harvey [iOS] add clean support for device output log, after catchup. #jira none Change 4357724 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4357176 to //UE4/Dev-Console/... Change 4359634 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4359072 to //UE4/Dev-Console/... Change 4359958 by Ben.Woodhouse Fix FortGPUTestbed merge issues via p4 copy (content files didn't get moved before for some reason) Change 4361108 by Anthony.Bills Fix webm deprecation issues with DrawPrimitiveUp. #jira UE-64012 Change 4361896 by James.Cobbett Re-saving materials so that they render correctly outside of the editor. Change 4362262 by Anthony.Bills Fix for WebM video decoder crash. #jira UE-64025 [CL 4362700 by Joe Barnes in Main branch]
2018-09-12 15:59:49 -04:00
FString Url = WCHAR_TO_TCHAR(FailedUrl.ToWString().c_str());
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
if (InErrorCode == ERR_ABORTED)
{
// Aborting navigation is not an error case but we do need to wait for any existing navigations, handled via OnBeforeBrowse(), to fully abort before we can initiate a new navigation.
if (!PendingAbortUrl.IsEmpty() && PendingAbortUrl == Url)
{
PendingAbortUrl.Empty();
bDeferNavigations = false;
if (HasPendingNavigation())
{
ProcessPendingNavigation();
}
}
return;
}
if (IsShowingErrorMessages())
{
// Display a load error message. Note: The user's code will still have a chance to handle this error after this error message is displayed.
FFormatNamedArguments Args;
{
Args.Add(TEXT("FailedUrl"), FText::FromString(Url));
Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4362408) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 4125165 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4124306 to //UE4/Dev-Console/... Change 4136060 by Marcin.Undak Editor: fixed device unclaiming #jira UE-58464 Change 4190321 by Marcin.Undak Linux: fixes for automation and RecordPerformance #jira UE-61053 Change 4199010 by Marcin.Undak Linux: remove unnecessary -g option Change 4201876 by Marcin.Undak First implementation of WebM media player for Windows and Linux Change 4201922 by Marcin.Undak Whitelisted WebMem plugin only for Windows and Linux Change 4202203 by Marcin.Undak WebM build fixes Change 4223102 by Marcin.Undak Vulkan: console commands for testing device lost #jira UE-61789 Change 4225028 by Marcin.Undak WebMMedia: disabled on Linux until fixed compilation issues Change 4231444 by David.Harvey UI - Fixing where the virtual cursor renders. It doesn't correctly take into account DPI scale, which isn't apparent except on the Xbox One. Integrate as edit from CL 4166648. #jira UE-62115 Change 4233057 by Marcin.Undak TestPAL: added new test for string allocation size Change 4234649 by Marcin.Undak Linux: switched linux plaform to 16bit wide strings Change 4235253 by Marcin.Undak TestPAL: compilation fix for platforms that don't use DirectoryWatcher Change 4235477 by Marcin.Undak Linux: re-enabled WebMMedia plugin Change 4242242 by Marcin.Undak WebMMediaPlayer: implemented proper format retrieving. MediaFrameworkTest now works. Change 4243321 by Marcin.Undak WebMPlayer: static code analisys fix Change 4243505 by Marcin.Undak MediaFrameworkTest: added WebM video for testing Change 4244646 by Marcin.Undak WebMMedia: improved concurrency Change 4244735 by Arciel.Rekman Vulkan: skip unnecessary transitions properly (UE-62348, merge). (Edigrating CL 4244274 from Release-4.20) Change 4246685 by Arciel.Rekman PhysX: remove Cygwin from %PATH% on Windows as it confuses CMake (UE-62326). Change 4247808 by Marcin.Undak WebMMediaPlayer: added support for seeking Change 4254841 by Marcin.Undak WebM: module dependencies fix Change 4255124 by laz.matech Updated UMG_AllPaletterWidgets' combo box to include options so that when selected, the dropdown presents 2 options instead of it appearing like it is broken #jira none Change 4256415 by Marcin.Undak WebM: added missing editor module Change 4256716 by Arciel.Rekman Make SetReuseAddr() also set SO_REUSEPORT where available (UE-57076). - Pull request #4617 by malavon. #jira UE-57076 Change 4266049 by Marcin.Undak Linux: UnrealLightmass and CrashReportClient compilation fixes #jira UE-62521 #jira UE-62522 Change 4266678 by Arciel.Rekman Merge speculative commit to get aligned pointer on mmap(). (Edigrating CL 4225330) Change 4267998 by Anthony.Bills Fix DBufferC clear color due to bad merge. #jira UE-62649 Change 4269441 by Marcin.Undak GenericPlatformStrings::VarArgs() implemented %-*s, %lu, %z, %h formatting #jira UE-62582 Change 4269712 by Marcin.Undak WebMMediaPlayer: removed LibSimpleWebM Change 4272849 by Marcin.Undak WebMMediaPlayer: fixed re-initialisation Change 4277931 by Arciel.Rekman Linux: switch to Vulkan by default (UE-62807). - Default behavior: attempt Vulkan first, but in case of failure instead of quitting silently fall back to GL, unless -vulkan is passed. - Forcing GL is still possible. Change 4277965 by Arciel.Rekman Fix standalone applications after the Vulkan switch. Change 4277968 by Arciel.Rekman Linux: make CrashReportClient headful (UE-14089). - The -unattended flags keep even a headful CRC usable on the servers. - ldd did not change. Need to check Localization stuff to see if there are any deployment concerns. #jira UE-14089 Change 4279402 by Arciel.Rekman Merge from 4.20.1: Vulkan: log validation errors. Also fix handling of some message types (UE-62628). (Edigrating 4273516 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4279992 by Marcin.Undak Linux: fix SlateViewer compilation #jira UE-62831 Change 4285613 by Arciel.Rekman Vulkan: fix mismatched layout. - I tested with RecordPerformance on InfiltratorDemo and haven't found any impact. Change 4285622 by Arciel.Rekman Merged from 4.20.2: Linux: do not refuse to start if system limits cannot be raised (UE-62515). - Too aggressive behavior, which can break cooking for no valid reason. - If a commandline argument is used, the engine will still treat inability to raise the limits as an error. (Edigrating 4273547 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4293083 by Arciel.Rekman Merging //UE4/Main@4291654 to //UE4/Dev-Console Change 4295297 by Marcin.Undak Vulkan: temporary disable generic pipeline cache saving to prevent crashes #jira UE-62848 Change 4300191 by Arciel.Rekman Delete files added under lowercase directories. Change 4300211 by Arciel.Rekman Re-add files deleted in previous commit under camel-cased paths. Change 4300895 by Arciel.Rekman Linux: fix editor build Change 4303543 by Ben.Marsh Fix compile error for FortGPUTestBed. Change 4305659 by Marcin.Undak [Vulkan][Engine] Update the Vulkan RHI to obey r.VSync (and the vsync and novsync command-line arguments). Change 4222769 by Jason.Stewart@Jason.Stewart_AMD_Dev_Rendering_threadripper-win10 on 2018/07/19 10:55:48 The original implementation ran into a latent thread hazard between the RHI thread and the rendering thread, where the rendering thread would try to use the backbuffer of the swap chain while the swap chain was being recreated (specifically after the swap chain recreation code had released and nulled out the back buffer, but before swap chain creation had actually happened to get a new back buffer). This implementation addresses that issue. This is Tim's code. I'm just submitting it as Tim is currently out of office. Change 4305661 by Marcin.Undak Moved libwebm and libvpx inside WebMMediaPlayer directory Change 4308659 by Marcin.Undak Linux: fixed LLDB visualizers #jira UE-52619 Change 4313650 by Marcin.Undak WebMMediaPlayer: implemented looping Change 4321713 by David.Harvey removed hard-coded platform labels from device output log window in favour of ITargetPlatform::SupportsFeature + updated editor tooltip with correct platform list. https://ec-01.epicgames.net/commander/link/jobDetails/jobs/8641984? Change 4321942 by Brandon.Schaefer Linux: Use the Target RHI list as the default ordering for which RHI is prefered Also update the RHI list in the project settings for our default list #jira UE-59487 #review-4316134 @Arciel.Rekman Change 4322230 by Brandon.Schaefer Treat %lf as %f in GenericWidePlatformString #jira UE-62582 Change 4322392 by Brandon.Schaefer Make sure our fmt size is large enough to check indexes #jira none Change 4322895 by Brandon.Schaefer Actually get the current size of Src as it could have been moved down #jira none Change 4327866 by Brandon.Schaefer Linux: Tell the platform misc what RHI we are using #jira none Change 4328926 by Brandon.Schaefer Linux: Add haptic support for controllers Github PR #4167 (thanks maiself!) #jira UE-51681 Change 4328963 by Arciel.Rekman TestPAL: improve the test by randomizing allocation size. - The range will no longer be constrained to <=128KB at once, allocations can be as big as 16MB but they will unevenly distributed, with smaller sizes being more frequent. Change 4329208 by Arciel.Rekman hlslcc: suppressed benign compiler warning during the Linux build (UE-43988). Change 4329283 by Arciel.Rekman Linux: replace CachedOSPageAllocator with PooledVirtualMemoryAllocator for Linux. For the explanation of FPooledVirtualMemoryAllocator, see PooledVirtualMemoryAllocator.h For the details, test data and comparisons, message Arciel Rekman. Relevant command line args added: -vmapoolscale=<float> (defaults to 1.4) -vmapoolevict -novmapoolevict By default, freed memory will not be evicted from RAM (unless running on a server) Also changed: - Removed the fixed-size pool previously used by Linux (and supporting machinery like scaling it on start) - Replaced the way we manage free blocks from pointers to a bitmap to reduce memory footprint. Change 4331946 by Luke.Thatcher [CONSOLE] [^] (merging CL 4162064) Implement new thread heart beat clock to solve the suspend/resume problem across all platforms. - The hang and hitch detectors now maintain their own clocks which are ticked by their respective threads. - If the title is suspended, the ticking thread will stop and the clock will stop advancing. On resume, the maximum delta in the clock is clamped to a small value, so we ignore all the time the thread was not ticking for (i.e. the duration of the title being suspended). - As such, we don't need any logic for handling PLM suspend/resume in the hang and hitch detectors, so this change removes that too. #jira FORT-96886 Change 4331973 by Luke.Thatcher [CONSOLE] [^] (merging CL 4183499) Add frame-present-based hang detection. - RHIs call FThreadHeartBeat::PresentFrame() whenever they present a frame to the swap chain. - These calls form a separate heartbeat from the thread-based ones, allowing the hang detector to fire if, for example, the game thread is stuck in an async loading loop and is ticking the game thread heartbeat, but making no progress. - Also refactored ThreadHeartBeat.cpp to move hang detection logging into a FORCENOINLINE function. This will put OnHang and OnPresentHang at the top of the callstack in retail crash dumps, making the bucketing easier to recognise. Change 4332200 by Luke.Thatcher [CONSOLE] [+] (merging CL 4227517) Add PlatformDebugData to FShaderResource. - We can use this to store platform specific shader symbols etc. The data gets serialized to the DDC and can be retrieved during a cook. - Data is entirely discarded in cooked builds, and is a no-op on platforms which don't implement support for shader debug data. - Bumped shader version to invalidate DDC keys. Change 4332407 by Luke.Thatcher [CONSOLE] [CORE] [!] (merging CL 4279686) Fixed unaligned integer load macro inconsistencies. - Renamed PLATFORM_SUPPORTS_UNALIGNED_INT_LOADS to PLATFORM_SUPPORTS_UNALIGNED_LOADS - Merged it with REQUIRES_ALIGNED_ACCESS and REQUIRES_ALIGNED_INT_ACCESS - Fixed Linux platform which had both the old macros defined to 1, which is wrong because they are mutually exclusive. Change 4333386 by Luke.Thatcher [CONSOLE] [!] (merging CL 4317367) Fix compile error in AnimationCompression.h Change 4334395 by Arciel.Rekman Corrected PLATFORM_DESKTOP definition. Change 4336190 by Anthony.Bills (Original CL4314280) Use the debug file writer when using framepro. This buffers more data which should reduce stalls when writing out on certain platforms. #jira none Change 4336291 by Anthony.Bills Use a clamped local clock when timing out the renderthread. - This prevents suspend and resume issues on platforms where suspend events may not occur or the system clock is not set to the process time. #jira none Change 4336292 by Anthony.Bills (Orignal CL 4195778) Fix printing of the hang detector multiplier and other logging. "f" is the correct format specifier for a double. #jira none Change 4336307 by Anthony.Bills (Orignal CL 4257875) Use the correct clock when printing the scoped hitch stat. - Needs to be the internal FGameThreadHitchHeartBeat clock incase FPlatformTime::Seconds becomes out of sync with FrameStartTime. #jira none Change 4336321 by Anthony.Bills (Original CL 4258186) Add GetNoInit function to FGameThreadHitchHeartBeat. #jira none Change 4336397 by Anthony.Bills Fix redefinition of macro. #jira none Change 4336738 by Brandon.Schaefer Linux: Add options for ASan, TSan, and UBSan #jira UE-62784 UE-62803 UE-62804 Change 4336791 by Brandon.Schaefer Linux: Add missing xml comments #jira none Change 4336957 by Joe.Barnes Integrate as edit CL#4218145: Convert some of our Vector macros to inline functions as thier names class with 3rd party functions. #jira ue-61733 Change 4338228 by Arciel.Rekman Switch to v12 Linux cross-toolchain (UE-63589). #jira UE-63589 Change 4339195 by Ben.Woodhouse Integrate-as-edit latest CSV profiler changes up to CL 4292187 Change 4339237 by Ben.Woodhouse Integrate-as-edit CL 4226269 Add support for extern GPU stats, so we can use one stat across multiple CPPs Fix the Forward rendering GPUProjection stat Change 4339239 by Ben.Woodhouse Integrate-as-edit CL 4292520 Support different sized buffers for FArchiveFileWriterGeneric per-platform so we can tune per-platform as needed. No changes to existing defaults values of 1KB for read, 4KB for write: #define PLATFORM_FILE_READER_BUFFER_SIZE 1024 #define PLATFORM_FILE_WRITER_BUFFER_SIZE 4096 #define PLATFORM_DEBUG_FILE_WRITER_BUFFER_SIZE 4096 Change 4339241 by Ben.Woodhouse Integrate-as-edit CL 4210462 Comment out an assert while I investigate properly (doesn't appear to be fatal) Change 4339265 by Anthony.Bills [Linux] Fix ContainerBuildThirdParty.sh to pick the first default interface. #jira none Change 4339274 by Anthony.Bills [Linux] Cache the bundled toolchain when using git builds. - Also will not attempt to download the toolchain if AutoSDK or Multiarch root are specified. #jira UE-63394 Change 4339623 by Anthony.Bills [Linux] Update native toolchain buildscript to support clang 6.0.1 - Main issue was due to libxml2 as an extra dependency of some test libraries, so needs to be disabled via DLLVM_ENABLE_LIBXML2. #jira UE-63588 Change 4339685 by Anthony.Bills [Linux] Update toolchain setup script to download v12 when it is available. #jira UE-63588 Change 4339833 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4339548 to //UE4/Dev-Console/... Change 4339843 by Ben.Woodhouse Attempt to fix a weird possible bad merge issue Change 4339890 by Ben.Woodhouse Fix a build issue #jira nojira Change 4340314 by Anthony.Bills Fix mesh decal rendering when write mask is enabled and no deferred decals are in the scene. #jira UE-55159 Change 4341099 by Marcin.Undak Mediashader fix #jira UE-63650 Change 4341106 by Marcin.Undak QAGame: added MediaPlayer for Linux test #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341107 by Marcin.Undak WebMMediaPlayer: blacklist all not supported platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341110 by Marcin.Undak WebMMediaPlayer: enable for Unix platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341804 by Luke.Thatcher [CONSOLE] [!] Fix memory scribble in black depth texture cube on platforms with 16-bit depth. - Original code was writing a FColor into the locked texture data, which causes a 2 byte scribble if the PF_ShadowDepth format is 16-bits. [!] Also fixed GWhiteTextureCube being black. FColor::White is not a compile-time constant, so an initialization order problem meant the value of FColor::White is actually black when the GWhiteTextureCube constructor runs. #jira none Change 4342244 by Anthony.Bills [Linux] Allow restarting the crashed application from the crash report client #jira UE-62903 Change 4342636 by Brandon.Schaefer Linux: Update LLVM libc++.a libc++abi.a with version 6.0.1 #jira UE-63587 Change 4343420 by Marcin.Undak Fixed assert in console #jira UE-63643 Change 4345166 by Luke.Thatcher [CONSOLE] [!] (merging CL 4345072) Fix initialization order bug with FColor and FLinearColor constants. - The original constants were dynamically initialized during startup. Using these constants from other global constructors may result in getting the wrong value (transparent black) if a given constructor runs before FColor/FLinearColor's constructor. - Adding constexpr to the FColor/FLinearColor constructor makes these constants known at compile-time, and included in the readonly data section, so they don't require dynamic initialization. [~] Also restores the original constant color values in RenderUtils.cpp #jira none Change 4345860 by Arciel.Rekman Make StompMalloc return 16-byte aligned memory on 64 bit platforms (UE-63743). #jira UE-63743 (Edigrating 4345734 from Release-4.20) Change 4345950 by Brandon.Schaefer Linux: Remove libelf/libdwarf fallback for symbolicating symbols during a crash #jira UE-63103 Change 4350249 by David.Harvey helper function to retrieve an LLM tag's name, including platform tags. Change 4351184 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4348973 to //UE4/Dev-Console/... Change 4351593 by Ben.Woodhouse Clean up aggressive batching (remove xbox specific #if and //TODO) #jira UE-46780 Change 4351734 by James.Cobbett Setting TM-ShaderModels_Niagara to always load Change 4351984 by Marcin.Undak QAGame: restored platform media source in TM-ShaderModels map Change 4353508 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4353110 to //UE4/Dev-Console/... Change 4354237 by Anthony.Bills [Linux] Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4354334 by Anthony.Bills [Linux] (Missing file from CL 4354237) Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4355994 by Brandon.Schaefer Linux: Agree not Agreed #jira UE-63937 Change 4356068 by Joe.Barnes Replace a duplicate DEFINE_EXPRESSION_NODE_TYPE(bool,...) causing errors with iOS unity build compiles. Remove version in ExpressionParser.cpp and include TextFilterExpressionEvaluator.h. #jira ue-63877 Change 4357726 by David.Harvey [iOS] add clean support for device output log, after catchup. #jira none Change 4357724 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4357176 to //UE4/Dev-Console/... Change 4359634 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4359072 to //UE4/Dev-Console/... Change 4359958 by Ben.Woodhouse Fix FortGPUTestbed merge issues via p4 copy (content files didn't get moved before for some reason) Change 4361108 by Anthony.Bills Fix webm deprecation issues with DrawPrimitiveUp. #jira UE-64012 Change 4361896 by James.Cobbett Re-saving materials so that they render correctly outside of the editor. Change 4362262 by Anthony.Bills Fix for WebM video decoder crash. #jira UE-64025 [CL 4362700 by Joe Barnes in Main branch]
2018-09-12 15:59:49 -04:00
Args.Add(TEXT("ErrorText"), FText::FromString(WCHAR_TO_TCHAR(ErrorText.ToWString().c_str())));
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
Args.Add(TEXT("ErrorCode"), FText::AsNumber((int)InErrorCode));
}
FText ErrorMsg = FText::Format(NSLOCTEXT("WebBrowserHandler", "WebBrowserLoadError", "Failed to load URL {FailedUrl} with error {ErrorText} ({ErrorCode})."), Args);
FString ErrorHTML = TEXT("<html><body bgcolor=\"white\"><h2>") + ErrorMsg.ToString() + TEXT("</h2></body></html>");
LoadString(ErrorHTML, Url);
}
NotifyDocumentError((int)InErrorCode);
}
void FCEFWebBrowserWindow::NotifyDocumentError(int InErrorCode)
{
ErrorCode = InErrorCode;
DocumentState = EWebBrowserDocumentState::Error;
DocumentStateChangedEvent.Broadcast(DocumentState);
}
void FCEFWebBrowserWindow::NotifyDocumentLoadingStateChange(bool IsLoading)
{
if (! IsLoading)
{
bIsInitialized = true;
if (bRecoverFromRenderProcessCrash)
{
bRecoverFromRenderProcessCrash = false;
// Toggle hidden/visible state to get OnPaint calls from CEF.
SetIsHidden(true);
SetIsHidden(false);
}
// Compatibility with Android script bindings: dispatch a custom ue:ready event when the document is fully loaded
ExecuteJavascript(TEXT("document.dispatchEvent(new CustomEvent('ue:ready', {details: window.ue}));"));
}
// Ignore a load completed notification if there was an error.
// For load started, reset any errors from previous page load.
if (IsLoading || DocumentState != EWebBrowserDocumentState::Error)
{
ErrorCode = 0;
DocumentState = IsLoading
? EWebBrowserDocumentState::Loading
: EWebBrowserDocumentState::Completed;
DocumentStateChangedEvent.Broadcast(DocumentState);
}
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
}
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
FSlateRenderer* const FCEFWebBrowserWindow::GetRenderer()
{
if (FSlateApplication::IsInitialized())
{
if (FSlateRenderer* Renderer = FSlateApplication::Get().GetRenderer())
{
if (!Renderer->HasLostDevice())
{
return Renderer;
}
}
}
ReleaseTextures();
return nullptr;
}
void FCEFWebBrowserWindow::HandleRenderingError()
{
// GetRenderer handles errors already
GetRenderer();
}
void FCEFWebBrowserWindow::OnPaint(CefRenderHandler::PaintElementType Type, const CefRenderHandler::RectList& DirtyRects, const void* Buffer, int Width, int Height)
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
bool bNeedsRedraw = false;
if (bUsingAcceleratedPaint)
{
UE_LOG(LogWebBrowser, Error, TEXT("Accelerated CEF rendering selected but OnPaint called. Disabling accelerated rendering for this browser window."));
bUsingAcceleratedPaint = false;
if (UpdatableTextures[Type] != nullptr)
{
if (FSlateRenderer* const Renderer = GetRenderer())
{
Renderer->ReleaseUpdatableTexture(UpdatableTextures[Type]);
HandleRenderingError();
UpdatableTextures[Type] = nullptr;
}
}
}
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
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
if (UpdatableTextures[Type] == nullptr)
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
{
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
if (FSlateRenderer* const Renderer = GetRenderer())
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3497164) #lockdown Nick.Penwarden #rb none ===================================== MAJOR FEATURES + CHANGES ===================================== Change 3433074 by Matt.Kuhlenschmidt Fix crash when clicking on certian tutorial blueprints. #jira UE-44593 Change 3433075 by Matt.Kuhlenschmidt Remove hittest grid log spam. The underlying problem causing this has been fixed Change 3433077 by Matt.Kuhlenschmidt Fix lighting becoming unbuilt when mesh painting #jira UE-44837 Change 3433081 by Matt.Kuhlenschmidt PR #3553: Crashfix for static array properties (Contributed by Pierdek) Change 3433104 by Alexis.Matte Make sure re-import skeletal mesh follow the import morph option #jira UE-42846 Change 3434825 by Matt.Kuhlenschmidt Fix crash when GC happens while the vr editor radial menu is open. Change 3434831 by Matt.Kuhlenschmidt Added missing file Change 3434868 by Shaun.Kime If you have a reroute node between a Material Function texture input and its usage, the parent material will fail to resolve the reroute node. #jira ue-44670 Change 3434998 by Alexis.Matte Meshes editors material/section panel are now fully transactional - Staticmesh editor: section material slot, section cast shadow, section collision, material slot instance, material slot name - Skeletal mesh editor: material slot instance, material slot name Also fix some transaction description #jira UE-44462 Change 3435195 by Jamie.Dale Fixed incorrect handling of some LTR scripts that require shaping These scripts need to go through HarfBuzz, and this also fixes a case where HarfBuzz wasn't applying font scale correctly. #jira UE-44767 Change 3435199 by Jamie.Dale Fixed some crashes/artifacts with bidirectional text It was possible for a line to compute an incorrect range, which could cause crashes or other highlighting issues. The highlighting logic has also been updated as the old code didn't handle all bidirectional cases correctly. Change 3435200 by Jamie.Dale Fixed a grapheme cluster metrics issue in the font editor viewport The viewport also now respects the default shaping method CVar. Change 3435771 by Alexis.Matte Fix degenerated bounds calculation for skeletalmesh when the skeleton is remove from a re-import (PhysicAsset API change, adding 1 function) #jira UE-44609 Change 3436856 by Jamie.Dale Added some missing Unicode block ranges Change 3436914 by Jamie.Dale Adding some missing combining character ranges to the text shaper Change 3436923 by Alexis.Matte PR #3463: Get bounds for all triangles, not just the first one. WedgeIndex was . (Contributed by DaveC79) #jira UE-43764 Change 3436948 by Jamie.Dale Updated the Portal to use the predefined Unicode block ranges Change 3436961 by Max.Chen Sequencer: Show camera shake/anim track menus even if there aren't any assets. Change 3437244 by Max.Chen Sequencer: Clear locked cameras when releasing Sequencer. #jira UE-44967 Change 3437515 by Arciel.Rekman UBT: improvements for LocalExecutor. - Larger number of parallel jobs on 16GB+ machines. - Use WaitForExit() instead of polling. - Tested on Linux and Mac. Change 3437629 by Matt.Kuhlenschmidt Improve asset import data display in static and skeletal meshes Change 3438047 by Arciel.Rekman Fix overlapping ranges being passed to memcpy(). Change 3438822 by Yannick.Lange ViewportInteraction: Move gizmo handle files to make them private. Change 3438906 by Matt.Kuhlenschmidt PR #3556: Git Plugin: fix new option "init Git LFS" that make assets read-only (master/UE4.17) (Contributed by SRombauts) Change 3438907 by Matt.Kuhlenschmidt PR #3565: add -quality option to buildlighing commandlet (Contributed by kayama-shift) Change 3438908 by Matt.Kuhlenschmidt PR #3558: UE-44862: Always update SColorPicker color on OK button (Contributed by projectgheist) Change 3439393 by Matt.Kuhlenschmidt Force highest LOD for highres screenshots Change 3439819 by Matt.Kuhlenschmidt Turned FAssetData into a struct for some upcoming script exposure of FAssetData Change 3439949 by Arciel.Rekman Fixed selection logic for the UE4_LINUX_USE_LIBCXX environment variable. - Allows disabling libc++ by setting the variable to 0. - Pull request #3576 contributed by jared-improbable. Change 3441078 by Jamie.Dale The culture/language/locale console commands are now available in all build configs Change 3441109 by Jamie.Dale Text containing surrogate pairs now runs through HarfBuzz when shaping in Auto mode This is needed as the kerning-only shaping code assumes that everything is within the BMP Change 3441275 by Matt.Kuhlenschmidt Disable spinning on location and scale. These dont work because we have no notion of infinite spinning Change 3442748 by Yannick.Lange ViewportInteraction: Remove unused console variables. Change 3442775 by James.Golding Add support for editing MaterialFunctions to MaterialEditingLibrary Pull Material recompile/update code into UMaterialEditingLibrary::RecompileMaterial Pull MaterialFunction update code into UMaterialEditingLibrary::UpdateMaterialFunction util Move RebuildMaterialInstanceEditors to UMaterialEditingLibrary Added test content for Material/MaterialFunction editing Add needed BlueprintReadWrite to expressions (constants, function input/output) Expose UMaterialExpressionMaterialFunctionCall::SetMaterialFunction to BP, rename old func (which takes old function) to SetMaterialFunctionEx, also expose GetInputNameWithType Change 3442779 by James.Golding Fix header order Change 3442817 by Yannick.Lange ViewportInteraction: Add can execute checks for level editor commands. Change 3443038 by Michael.Dupuis #jira UE-43377: When you select a foliage actor we will move all instance contained in it to the new level as we can't move a foliage actor Only permit moving foliage instance if there is some selected Change 3443855 by Michael.Dupuis #jira UE-44885: Unregister from PerModuleDataObjects when the object is destroyed Change 3446096 by Max.Chen Sequencer: Add OnFinished() event when a level sequence completes playback #jira UE-45173 Change 3446097 by Max.Chen Sequencer: Evaluate one last time before the sequence is torn down and reset #jira UE-45174 Change 3446242 by Jamie.Dale Fixed caret not appearing in empty text layouts Caret selections have no range, and therefore have no width Change 3446361 by Matt.Kuhlenschmidt Fix WITH_EDITOR only functions causing generated code compile errors when the all functions on the class are WITH_EDITOR Change 3446457 by Alexis.Matte Polish the speed tree import dialog #jira UE-44963 Change 3446946 by Michael.Trepka Modified FWindowsWindow::GetRestoredDimensions to return correct window position for normal windows for which GetWindowPlacement returns position in workspace coordinates #jira UE-37934 Change 3447543 by Arciel.Rekman Reduce VMAs on Linux. - Trades off increased address space (VIRT in terms of ps/htop) for smaller number of distinct mappings (VMAs, virtual memory areas). This decreases possibility to run into vm.max_map_count limit on Linux. - Tested on Linux and Mac. Change 3448468 by Arciel.Rekman Fix race condition during creation of GMalloc. - On Mac GMalloc can be created on two different thread that are racing with each other - app's main thread and a system thread. Change 3449012 by Max.Chen Sequencer: Add time to transform, color and vector key structs so that key times are editable from the key editors. #jira UE-45089 Change 3449018 by Max.Chen Sequencer: Add OnCameraCut event that fires when there is a camera cut. #jira UE-45137 Change 3449195 by Max.Chen Sequencer: Add setting for limit scrubbing to playback range. #jira UE-43502 Change 3449198 by Max.Chen Sequencer: Reorder hierarchical bias so that group priority takes precedence. Change 3449217 by Max.Chen Sequencer: Add setting to activate realtime viewports when in sequencer. Change 3449219 by Max.Chen Sequencer: Focus on search boxes when opened. Change 3449238 by Max.Chen Sequencer: Assign actor should replace the actor itself after it has updated all the components. Also, replace components be fullname rather than by class. Change 3449239 by Max.Chen Sequencer: Fix offsets when moving multiple sections. Dragging should be clamped to the bounds that any of the selected sections hits against the unselected sections. Change 3449241 by Max.Chen Sequencer: Restore section selection after full tree rebuild. Change 3449279 by Max.Chen Sequencer: Set movie scene capture frames only when not using custom frames. This allows the user entered frame numbers to persist in config, rather than overwriting them when doing a "Render Shot" Change 3449280 by Max.Chen Sequencer: Spawn in the persistent level. Otherwise, they get spawned into whatever sublevel is current. #jira UE-44552 Change 3449294 by Max.Chen Sequencer: Null check for sequencer ed mode crash. Change 3449297 by Max.Chen Sequencer: Fix delay in sliding values. Mark changed when sliding values. Mark refresh immediately when committing values since OnValueChanged will be called and needs to have the correct value that was refreshed immediately. #jira UE-42866 Change 3449542 by Max.Chen Sequencer: Fix scrubber hit testing so that the time scrubber is really favored over the playback ranges. #jira UE-44569 Change 3451507 by Matt.Kuhlenschmidt Fix extra slate uv coords not functioning on ES2 Change 3451510 by Matt.Kuhlenschmidt PR #3595: Fixed wrong colour for level status (Contributed by ronve) Change 3451529 by Alexis.Matte fbx scene importer: Make sure we set INVALID_UNIQUE_ID to node that has no attribute. #jira UE-34410 Change 3451611 by Yannick.Lange ViewportInteraction: Dragging gizmo without second pass for snapped calculations. Change 3452134 by Jamie.Dale Fixed constant font cache flushing if a widget had no font set Change 3452239 by Jamie.Dale Fixed constant font measure flushing if a widget had no font set Change 3452243 by Jamie.Dale Removed deprecated code for creating fonts from bulk data Change 3452277 by Jamie.Dale The concept of "stale" composite fonts is now editor-only Change 3452358 by Alexis.Matte Fbx scene importer: Do not remove existing attribute reference from the blueprint if the reimport of the associate mesh attribute is not tick. #jira UE-45232 Change 3452678 by Max.Chen Sequencer: Fix crash on export if there's no shot data. Change 3453057 by Matt.Kuhlenschmidt Exposed asset exporting to script Change 3453782 by Andrew.Rodham Sequencer: Fixed deterministic cooking issues with movie scene data - Movie scene signatures are now initialized in PostInitProperties - A warning is now presented when attempting to cook old data that was never serialized with a signature. - Removed redundant legacy data upgrade logic that could dirty level sequences on load. #jira UE-44912 Change 3453788 by Yannick.Lange ViewportInteraction: Custom scene proxy for gizmo handles. Change 3453938 by Max.Chen Sequencer: Hotkeys (shift , and shift .) to step to next/previous shot #jira UE-45119 Change 3454058 by Michael.Dupuis Fixed StaticAnalysis Change 3454077 by Max.Chen Sequencer: Fix not saving the pre-animated track value when creating a track/key. On pre object change, broadcast property change so that a track or key can be created. That track/key needs to be evaluated immediately so that the pre-animated state can be saved properly. This is done now with RefreshAllImmediately and is only called when a track has been created. Also, added a return value for OnKeyProperty, so that it's known what changed in particular (ie. track created, track modified, etc) Also, fixed transform keying so that if a transform track already exists for the object or the scene component, the existing track is used. #jira UE-45130 Change 3454108 by Nick.Darnell UMG - Fixing the WIC to properly record cursor delta so that scrollbars work. Change 3454109 by Jamie.Dale Cache the text layout source info in non-shipping builds so you can inspect it in the debugger Change 3454202 by Matt.Kuhlenschmidt Fix bogus error message about the number of usable texture coordinates on ES2 when compiling a UI domain material Change 3454390 by Yannick.Lange Fix creating a plugin in a C++ project opens a second instance of Visual Studio. Use SourceCodeAccessor to open solution when necessary. #jira UE-45035 Change 3454564 by Matt.Kuhlenschmidt #rnx Fix deprecation warnings Change 3455471 by Yannick.Lange ViewportInteraction: Fix entering and exiting VR Mode disables gizmo in desktop editor viewport. #jira UE-44965 Change 3456183 by Max.Chen Sequencer: Auto key, auto track refactor. Auto key - create a key when the property changes and there's an existing track. Auto track - create a track when the property changes. This is only exposed in the level sequence editor. All - create a key and a track when the property changes. This is only exposed in VR Editor. None - do nothing. #jira UE-43469 Change 3456349 by Andrew.Rodham Sequencer: Only perform legacy signature checks on instances, and only where signatures match the CDO Change 3456678 by Alexis.Matte Allow to add null level instance override material via the advance material array. But still limit the override material number to the mesh material number. #jira UE-45306 Change 3456945 by Max.Chen UMG: Add restore state to 2d transform section. #jira UE-45372 Change 3457196 by Arciel.Rekman Linux: serialize allocations from the memory pool. Change 3458434 by Max.Chen Sequencer: Remove obsolete set tick prerequites functions. Change 3458671 by James.Golding Added MIC editing support to MaterialEditingLibrary Fix static analysis warning Change 3458888 by Matt.Kuhlenschmidt PR #3615: More detailed log messages for debugging warnings/errors (Contributed by projectgheist) Change 3458893 by Matt.Kuhlenschmidt PR #3583: UE-44960: Delta value wasn't being used (Contributed by projectgheist) Change 3458895 by Matt.Kuhlenschmidt Fix typo Change 3458902 by Matt.Kuhlenschmidt PR #3607: Improved InputKeySelector functionality (Contributed by projectgheist) Change 3458917 by Matt.Kuhlenschmidt Fix crash with invalid object properties in the class picker #jira UE-39000 Change 3458939 by Matt.Kuhlenschmidt Fix compile error Change 3458984 by andrew.porter QAGame: Initial check in of sequencer smoke test map Change 3459510 by Matt.Kuhlenschmidt Fixed ensure when deleting a map that contains build data which also happens to be the currently loaded map. #jira UE-45052 Change 3460985 by Max.Chen Sequencer: Snap play time to keys now allows scrubbing between keys and snaps to key times within a certain screenspace tolerance. #jira UE-45090 Change 3461698 by Arciel.Rekman Avoid using ARRAY_COUNT in Vulkan. - Sometimes those arrays can have no extensions whatsoever, and it is illegal to declare a 0 element C array. Change 3462053 by Max.Chen Sequencer: Show sequencer spawnables in the world outliner and add the icon overlay for spawnables. #jira UE-43470 Change 3462139 by Max.Chen Property Editor: Add objects to FPropertyAndParent Change 3462202 by Arciel.Rekman Fix FSocket::Recv() blocking with Peek when there's no data. Change 3462253 by Nick.Darnell Slate - New Clipping System Clipping is now a stateful choice made during composition of the slate hierarchy. Previously every widget got to respect or modify the clipping rect on an as needed basis. The problem was that clipping was only allowed in the layout space of the widget, and it wasn't possible to properly clip elements with render transforms. The new system permits all kinds of transforms on any widget, and they will all be clipped correctly. It tries to use Scissor Rects as they are much cheaper, but will switch over to stenciling if need be to represent a complicated masking structure with several rotated clipping rects all needed to be combined together. Here are the new clipping states a widget can have, almost all widgets are set to No. Only change it from No if your widget actually needs to clip, generally speaking most widgets don't need to clip. /** * This widget does not clip children, it and all children inherit the clipping area of the last widget that clipped. */ Inherit, /** * This widget clips content the bounds of this widget. It intersects those bounds with any previous clipping area. */ ClipToBounds, /** * This widget clips to its bounds. It does NOT intersect with any existing clipping geometry, it pushes a new clipping * state. Effectively allowing it to render outside the bounds of hierarchy that does clip. * * NOTE: This will NOT allow you ignore the clipping zone that is set to [Yes - Always]. */ ClipToBoundsWithoutIntersecting UMETA(DisplayName = "Yes - Without Intersecting (Advanced)"), /** * This widget clips to its bounds. It intersects those bounds with any previous clipping area. * * NOTE: This clipping area can NOT be ignored, it will always clip children. Useful for hard barriers * in the UI where you never want animations or other effects to break this region. */ ClipToBoundsAlways UMETA(DisplayName = "Yes - Always (Advanced)"), /** * This widget clips to its bounds when it's Desired Size is larger than the allocated geometry * the widget is given. If that occurs, it behaves like [Yes]. * * NOTE: This mode was primarily added for Text, which is often placed into containers that eventually * are resized to not be able to support the length of the text. So rather than needing to tag every * container that could contain text with [Yes], which would result in almost no batching, this mode * was added to dynamically adjust the clipping if needed. The reason not every panel is set to OnDemand, * is because not every panel returns a Desired Size that matches what it plans to render at. */ OnDemand UMETA(DisplayName = "On Demand (Advanced)") - Large API Change - All FSlateDrawElement::Make_____ calls have been deprecated that involved passing in a clipping rect. You no longer should are passed a Clipping rect via OnPaint. You are still passed a rect, but this rect represents a Culling Rect, which is valuable if you need to just out right not paint things the user can't possibly see. If you were previously trying to determine if you should cull widgets, by doing something like this, if ( FSlateRect::DoRectanglesIntersect(MyClippingRect, CurWidget.Geometry.GetRenderBoundingRect()) ) That's no longer a good option since there are ways for widgets to ignore the culling bounds. You should convert anything like above to the one below, if (!SWidget::IsWidgetCulled(MyCullingRect, CurWidget)) To assist in debugging efforts, there are several new debugging console flags in Slate, Slate.ShowClipping 1 - Controls whether we should render a clipping zone outline. Yellow = Axis Scissor Rect Clipping (cheap). Red = Stencil Clipping (expensive). Slate.DebugCulling 1 - Disables pushing clipping or stencil rects to the GPU, but continues to intersect culling rects, so that you can tell if a widget is properly culling children it can't possibly draw. Slate.ShowTextDebugging 1 - Show debugging painting for text rendering. I've added a new Experimental Feathering Option, it adds AA geometry around the outside of Box and Image brushes. Slate.Feathering 1 If you're using RenderDoc or something similar, you can now enable render events for slate, so that you can better grok how we're batching and changing states for each UI render pass. Slate.EnableDrawEvents 1 #jira UE-4659 #rn Change 3462714 by Nick.Darnell Fixing a few more compiler issues with the clipping changes. Change 3462726 by Max.Chen Switch OnEditStructChildContentsChanged to use FObjectWriter instead of FMemoryWriter which supports serializeing UObjects. This fixes a crash when adding actor array elements to a user defined event struct. #jira UE-45431 Change 3462801 by Nick.Darnell Adding a UMG dependency to EngineTestBuild. Change 3462914 by Max.Chen Sequencer: Fix regression where spawnables aren't getting saved. Caused by 3407138 #jira UE-30007 #jira UE-39003 Change 3462946 by Nick.Darnell Automation - Tweaking the UI automation tests converting them over to use the new UI Screenshot automation test. Automation - Adding a blur widget test. Change 3462987 by Matt.Kuhlenschmidt Back out changelist 3458893 Change 3464774 by Matt.Kuhlenschmidt PR #3629: Bugfix: Missing small icon in Project Launcher profile editor (Contributed by aarmbruster) Change 3464785 by Nick.Darnell Fixing some clipping stuff in the editor. Change 3464830 by andrew.porter QAGame: Second pass on sequencer smoke test map Change 3464902 by Nick.Darnell Loading - Adding some additional checks to the the loading code to ensure we're on the main thread. Additionally adding a fix from UDN that prevents deadlocks in the rare case a user hits Alt+Tab in a fullscreen game while in a hard loading screen. Change 3464988 by Max.Chen Sequencer: Add attenuation settings for attached audio components. #jira UE-33080 Change 3465024 by Nick.Darnell MoviePlayer - Impoving the playback mode displaynames. Change 3465074 by Arciel.Rekman Fix shadowing issues of GraphicsPSOInit. Change 3465097 by Matt.Kuhlenschmidt Some refactoring of the details panel Exposed new methods of adding a struct on scope to a details panel and have it work properly with customizations. The scruct on scope has a "fake" ustructproperty that allows the details panel to show the whole struct not just an individual property. Refactored the API for adding rows to details panels to make it more consistent\ AddChildCustomBuilder->AddCustomBuilder AddChildGroup->AddGroup AddChildContent->AddCustomRow AddChildPropert->AddProperty AddChildStructure->AddExternalStructureProperty AddStructure->AddAllExternalStructureProperties AddExternalProperty->AddExternalObjectProperty or AddExternalStructureProperty Change 3465186 by Max.Chen Sequencer: Save the BindingID in the pre animated token producer so that it can be destroyed properly. This fixes a bug where the default state of a spawnable isn't saved. #jira UE-43780 Change 3465315 by Matt.Kuhlenschmidt Fix Fortnite and Orion details panel customization warnings Change 3465424 by Nick.Darnell Automation - Moving the step for setting the link to the automation reports to be set before we start the engine. Change 3465488 by Nick.Darnell Automation - Forcing textures to load before taking screenshot, so that the scene gets another opportunity to render before we render with Slate. This should fix the Blur UI Test. Change 3466277 by Arciel.Rekman Linux: fix window drift when dragging (UE-40380). - Change by Cengiz Terzibas. Change 3466370 by Nick.Darnell UMG - Fixing the colors for the resize handle in the designer. Change 3466372 by Nick.Darnell UMG - Fixing the ruler ticks sometimes not being drawn. Change 3466374 by Nick.Darnell UMG - Fixing the designer showing multiple options for sequencer. Change 3466377 by Nick.Darnell UMG - Cleaning up some clipping bits. Change 3467025 by Andrew.Rodham Re-saving assets that contain legacy (<4.15) movie scene data to remove deterministic cook warning. If conflicts arise during merging of these assets, please ignore the changes made in dev-editor, and accept game-side changes. (CIS step 62283298, jobId 7773146) (CIS step 62283297, jobId 7773146) Change 3467099 by Max.Chen Fix GetObjectPropertyClass ensure logic. This was returning UObject::StaticClass when valid. Change 3467172 by Max.Chen Sequencer: Evaluation optimizations. Also, fixes subsequences not getting expired, leaving dangling spawnables. #jira UE-43690 Change 3467192 by Matt.Kuhlenschmidt Fix transactions getting stuck in the color grading controls. This prevents PIE from working properly and causes shutdown crashes #jira UE-45527 Change 3467251 by Yannick.Lange ViewportInteraction: Fix scale and rotation snap while dragging with two lasers. #jira UE-43489 Change 3467331 by Matt.Kuhlenschmidt Fix D3D shader compiler hard coding shader path and not giving proper warnings when it cannot find the shaders Change 3467335 by Matt.Kuhlenschmidt Remove DarkStyle attribute from SNumericEntryBox and allow a spin box style to be passed to it. Change 3467558 by Max.Chen Scene Outliner: Generic support to add default columns to a scene outliner. Change 3467565 by Jamie.Dale Removing old screenshot data for test Change 3467589 by Nick.Darnell Editor - Random cleanup. Change 3467596 by Nick.Darnell Progress Bar - Exposing Border Padding to UMG. Change 3467600 by Nick.Darnell Slate - Adjusting the rendering of the splitter, previously it could be off by a pixel or two, which becomes more apparent now with the clipping changes. Change 3467601 by Max.Chen Property Editor: Fix static analysis warning Change 3467662 by Nick.Darnell Automation - Fixing a bug with the screenshot comparison tool not replacing (removing) the old screenshot data. Change 3467674 by Max.Chen Property Editor: Fix static analysis warning Change 3467737 by Max.Chen Sequencer: Added OnMovieSceneBindingsChanged delegate Change 3468053 by tim.gautier QAGame: Updating Editor Smoke Map - Updated landscapes into Stations for testing - Added Foliage Sublevel Change 3468194 by Arciel.Rekman Linux: fix problems communicating with various STL-using libs. - Stop hiding global new/delete signatures. - Disable CEF3 since this change uncovers the problem with libcef.so not built to use bundled libpng. Change 3468678 by Max.Chen Sequencer: Set "Sequencer Actor" tag before setting the actor label so that the outliner refreshes after the actor has the tag. Change 3469314 by tim.gautier QAGame: Added Painted Foliage / Spline section to EditorSmoke map Change 3469377 by Nick.Darnell Slate - Fixing some warnings in a couple of sample games due to the clipping changes. #rnx Change 3469767 by Max.Chen Sequencer: Outliner column and sequencer binding data #jira UE-43470 Change 3469974 by Arciel.Rekman Fix code projects not working in Linux installed build. Change 3470082 by Nick.Darnell Slate - The GetRenderer() call on SlateApplication no longer returns a SharedPtr, rather than convert it to a thread safe ptr, going to just make accessing it a raw ptr return, so it can be safely referenced on the game thread while being used on the slate loading thread. Change 3470174 by Nick.Darnell Slate - Get the last widget in a widget path utility. Change 3470176 by Nick.Darnell UMG - User Widgets now have an easy way to know if they're part of or have been removed from the focused widget path, which is handy for doing effects. Change 3470261 by Nick.Darnell Slate - The GetRenderer() call on SlateApplication no longer returns a SharedPtr, rather than convert it to a thread safe ptr, going to just make accessing it a raw ptr return, so it can be safely referenced on the game thread while being used on the slate loading thread. Change 3470286 by Max.Chen Sequencer: Scene Component's HiddenInGame now goes through the VisibilityTrack and the visibility template. Change 3470366 by Nick.Darnell Slate - We now version focus per user, that way during focus events, we can safely abort focus events and state transitions if someone interrrupts the active focus event with something new. Change 3470649 by Matt.Kuhlenschmidt Fix deprecation warnings Change 3470695 by Matt.Kuhlenschmidt Fixed typo #jira UE-45580 Change 3470721 by Matt.Kuhlenschmidt Fix static analysis Change 3471254 by Michael.Dupuis #jira UE-42952: Keep occlusion result per view Change 3471287 by Nick.Darnell UMG - Render Focus Rule now defaults to never. Change 3471291 by Nick.Darnell Slate - Fixing FSlateRenderer* change fallout. Change 3471299 by Nick.Darnell Slate - Fixing FSlateRenderer* change. Change 3471323 by Nick.Darnell Automation - Fixing automation and Static Analysis warning. Change 3471413 by andrew.porter QAGame: Added test content for anim blending and material parameteres to sequencer smoke level Change 3471649 by Max.Chen Sequencer: Modify the track when adding animation #jira UE-45618 Change 3471659 by Matt.Kuhlenschmidt Added a way to check if a movie is playing from the engine. Prevented viewport redraws for canvas loading screens if a slate based loading movie is playing Change 3471734 by Matt.Kuhlenschmidt Added basic material hookup to USD. Similar to FBX it will find materials based on rules specified by the user in the import settings Change 3472176 by Nick.Darnell UMG - Improving the display of the +Track menu in sequencer for UMG. Renamed it from +Add, which is repetitve to +Track. Additionally, the dropdown now shows the currently selected widgets, as well as a submenu containing all the 'important' widgets, so we no longer populate that list with a ton of irrelevant widgets that are just Buton_1 - N, which is pointless in showing people, they'll never guess which is the right button. Change 3472740 by Max.Chen Sequencer: Add GetThisFrameMetaData accessor Change 3472748 by Max.Chen Sequencer: Added OnBeginScrubbing and OnEndScrubbing event delegates Change 3472753 by Max.Chen Sequencer: Add EMovieSceneDataChangeType parameter to OnMovieSceneDataChanged delegate Change 3472870 by Nick.Darnell Clipping - Fixing the deprecated tip for scissor rect boxes to be correct. Removing it's usage from UT. Change 3473340 by Max.Chen Scene Outliner: Add ability to register additional filters Change 3473348 by Max.Chen Details View: Make ForceRefresh virtual. Added accessors to delegates (ie. GetIsPropertyReadOnlyDelegate) Change 3473441 by Max.Chen Sequencer: Autokey Refactor Part 2. Autokey is now a single toggleable state. Allow Edits Mode has 3 states: Allow All Edits - Allow any edits to occur, some of which may produce tracks/keys or modify default properties. Allow Sequencer Edits Only - All edits will produce either a track or a key. Allow Level Edits Only - Properties in the details panel will be disabled if they have a track. #jira UE-45229 Change 3473670 by Nick.Darnell Modules - The module manager no longer returns sharedptrs to IModuleInterfaces, this was the source of rare hard to track down crashes due to a shared ptr reference leak when GetModule was called on non-main threads. We now store a TUniquePtr internally, and only lease out raw pointers. #rn Change 3473711 by Nick.Darnell Disabling the ensure in the module manager. Change 3473747 by Max.Chen Sequencer: Fix tooltip Change 3474091 by Jamie.Dale Added a warning when cooking a UFontFace that is outered to a UFont asset These cause issues with iterative COTF, and should be split off into their own assets (as the UI has been asking people to do for several versions) Change 3475052 by Yannick.Lange VR Editor: Fix Crash when quitting the editor with VR Mode enabled. VR Editor was being enabled when saving the map on closing the editor. #jira UE-45415 Change 3475054 by Yannick.Lange Fix crash when adding a camera to the world in VR Mode the second time. The slate application did not reset when stop dragging in VR Mode, so the second time when starting to drag a camera out of the UI it would already by in a dragging state. #jira UE-45574 Change 3475263 by Nick.Darnell Fixing some additional cases of IModuleInteface SharedPtr usage. Change 3475268 by Max.Chen Sequencer: Set jumped state when looping playback. This fixes an issue where audio doesn't stop and restart when looped. #jira UE-45654 Change 3475269 by Max.Chen Scene Outliner: Additional filters should only apply to actor browsing mode Change 3475407 by Nick.Darnell Fixing some clipping / module shared ptr changes in the launcher code. Change 3475542 by Max.Chen Sequencer: Update thumbnail and section highlighting to use new clipping behavior. #jira UE-45692 #jira UE-45689 Change 3475743 by Michael.Dupuis #jira UE-45183: When updating phyx region take into account simple collision mip Change 3475949 by Arciel.Rekman Remove PhysX deoptimization (no longer needed). - OR-24947 has been closed three months ago. Change 3476022 by Michael.Dupuis #jira UE-45560: Make sure we're not going out of range Change 3476063 by Michael.Dupuis #jira UE-45562: Do not try to unregister from static mesh if no static mesh is specified for the component Change 3476168 by Michael.Trepka Added handling of directory symlinks to FApplePlatformFile::IterateDirectory #jira UE-43704 Change 3476172 by Nick.Darnell Fixing a Imoduleinterface change. Change 3476183 by Jamie.Dale Exposing GoTo/ScrollTo to single-line editable text for API parity with multi-line editable text Change 3476385 by Arciel.Rekman Linux: handle symlinks when iterating directories. Change 3476522 by Michael.Trepka Solved a problem with Mac FMallocTBB::Malloc() returning nullptr for 0 bytes allocations, which is inconsistent with other platforms. On Mac we always scalable_aligned_malloc, which behaves differently than scalable_malloc, so for 0 bytes requests we allocate sizeof(size_t), which is exactly what scalable_malloc does internally in such case. Change 3476806 by Nick.Darnell UMG - Focus the designer after dropping a widget onto the surface. Change 3476809 by Nick.Darnell Curve Editor - Enable Clipping on the curve editor. Change 3477475 by Nick.Darnell Fixing a module interface shared ptr usage in UT. Change 3477553 by Yannick.Lange VR Editor: Removed AssetEditorPanelID and replaced it with TabManagerPanelID. A panel for AssetEditorPanelID was never created making it impossible to open an asset editor. Change 3477734 by Yannick.Lange VR Editor: Fix Warning: SetRelativeScale3D : Invalid Scale entered (X=inf Y=inf Z=inf). Resetting to 1.f. warning when adding CineCameraActor to World from Modes Panel. Make sure to not divide by zero when there is no boundary scale. #jira UE-44933 Change 3477761 by Jamie.Dale Some improvements to avoid loading the native .locres files twice when we don't need to Change 3477780 by Nick.Darnell PR #3250: Return correct VirtualUserIndex (Contributed by projectgheist) Change 3477786 by Nick.Darnell PR #3650: Changed TestNull to accept const pointers. (Contributed by e-agaubatz) Change 3477795 by Nick.Darnell PR #2844: UE-36936: Don't stretch container for Plugin Image (Contributed by projectgheist) Change 3478092 by Nick.Darnell PR #2341: Optional Middle Mouse Button panning in Graph Editor (Contributed by flipswitchingmonkey) Engine Edit - Made some small changes to the enum type, and some naming. Change 3478450 by Nick.Darnell Fixing some uninitialized variable errors. Change 3479827 by Andrew.Rodham Sequencer: Addressed serialization issues with some struct types Change 3479874 by Jamie.Dale Fixed "NativeGameLanguage" not being used correctly during localization initialization Change 3480012 by Andrew.Rodham Sequencer: Fixed loading tagged properties as native for track identifiers #jira UE-45823 Change 3480337 by Alexis.Matte Fix morph target crash missing some valid index check Change 3480804 by Alexis.Matte Fix crash with ColorGradingMode custom detail #jira UE-45638 Change 3480892 by Andrew.Rodham Sequencer: Ensure that movie scene sequences know about the editor object version #jira UE-45842 Change 3481073 by Nick.Darnell Fix the shader compiler error from main in Slate. Change 3481303 by Nick.Darnell UMG - Fixing a bug with the drag handle not working correctly in HDPI mode. Change 3481308 by Nick.Darnell Slate - Tweaking the IsWidgetCulled logic to consider both the layout and rendering bounds. If we do this, we get a much more desireable outcome for people that want to animate widgets and such and plan to have temporary animations to move the widget offscreen, but want the layout bounds to anchor that widget in the visible frame so that it animates even when normally it would be culled b/c the render transform and therefore the renderbounds moved it completely outside the culling rect. Change 3481629 by Max.Chen Sequencer: Add Level Sequence Actor as an output for CreateLevelSequencePlayer() #jira UE-45785 Change 3481899 by Yannick.Lange VR Editor: Added debug modetoggle command with an event that is broadcasted whenever this happens. Currently this is used to show all the floating UIs of the UI system to debug without HMD using VREd.ForceVRMode. Change 3481984 by Michael.Dupuis #jira UE-45845: always validate if we have a static mesh before trying to access it as user can decide to not assign one and use the tools Change 3482047 by Nick.Darnell Slate - Adding some comments to IsWidgetCulled. Change 3482110 by Nick.Darnell Slate - IsWidgetCulled is no longer static and is now called IsChildWidgetCulled. Change 3482136 by Jamie.Dale The CamelCase break iterator now treats digits around character tokens as part of the identifier Change 3482138 by Michael.Dupuis #jira UE-45854: Properly unregister during undo operation Change 3482150 by Michael.Dupuis #jira UE-45845 : Add missing nullcheck for GetStaticMesh Change 3482153 by Nick.Darnell Slate - IsWidgetCulled is no longer static and is now called IsChildWidgetCulled. Change 3482180 by Nick.Darnell UMG - Widget Components do not need to define a widget class to be rendererd, they can have native slate widgets only. This was a regression from main. Change 3482273 by Nick.Darnell UMG - Tweaking some more things about the widget component box outline. Change 3482308 by Alexis.Matte Fixing morph target smooth group support. Do not call FillSkeletalMeshImportData more then once on FbxNode since this fonction is doing some conversion and change the FbxNode, applying those conversion twice do not return the same faces smooth group. #jira UE-45696 Change 3482327 by Nick.Darnell UMG - More tweaks to the WidgetComponent so both shows the box outline, but works in game and VR editor. Change 3482705 by Andrew.Rodham Resaving assets that contain legacy data to suppress CIS warnings. - If conflicts arise in these assets, please take game-side changes and ignore these. Change 3484245 by Max.Chen Sequencer: Evaluate on end scrub. This fixes a bug where audio doesn't evaluate in a stopped position at the end of scrubbing, causing it to not stop all sounds. This fixes a bug introduced from 3365018 where evaluate on end scrub was removed. #jira UE-45905 Change 3484263 by Max.Chen Sequencer: Fix crash on forcing refresh of details panel on release. #jira UE-45911 Change 3484431 by Andrew.Rodham Resaving assets that contain legacy data to suppress CIS warnings. - If conflicts arise in these assets, please take game-side changes and ignore these. Change 3484474 by Alexis.Matte Fix the morph target animation curve name matching. #jira UE-20294 Change 3484475 by Alexis.Matte When removing a LOD, make sure we remove all morph target data associate to the LOD. Change 3484489 by Nick.Darnell PR #3668: UE-45908: Cache debug line locations when performing a LineTraceMulti (Contributed by projectgheist) #jira UE-45908 Change 3484692 by Nick.Darnell Slate - Reverting a change from a game stream. All Arranged Children don't need to allocated 42 to begin with. Do need to initialize WidgetPaths better. Change 3484703 by Nick.Darnell Player Input - Making the input event loop for players obey EKeys::NUM_TOUCH_KEYS, rather than being set to Touch10, as the maximum touch input amount, to make supporting greater than 10 touches easier. Also making the seeding of keys use EKeys::NUM_TOUCH_KEYS. #jira UE-43213 Change 3484918 by Jamie.Dale Fixed font measuring regression with RTL text RTL applies the character count to the next glyph, so it shouldn't process the end of the loop (this was how the older code used to work). Change 3485718 by Nick.Darnell Editor - Removing Super Search & User Feedback button. Change 3485719 by Nick.Darnell Portal - Removing SuperSearch. Change 3485751 by Matt.Kuhlenschmidt Fix crash accessing platformer game menu if the menu is open during a console based load #jira UE-45950 Change 3486047 by Arciel.Rekman Linux: add OpenEXR implementation (UE-40270). #jira UE-40270 Change 3486467 by Max.Chen Sequencer: Reset max tick rate when destroyed. #jira UE-45956 Change 3486477 by Max.Chen Sequencer: Refresh outliner when column is removed. #jira UE-45891 Change 3486667 by Andrew.Rodham Added missing include Change 3486724 by Andrew.Rodham Sequencer: Fixed curves with no default value, and no keys being evaluated and applied to properties - Also fixed an edge case where a zero (but non-animated) channel could be applied to a final transform Change 3486730 by Alexis.Matte In the Auto-Reimport options, hide the mout point only for the default /Game/ folder #UE-45684 Change 3486749 by Alexis.Matte Make sure the parent window of the monitor directory browse folder is set properly #jira UE-45682 Change 3486805 by Matt.Kuhlenschmidt Additional safety against invalid objects being accessed by slate Change 3486848 by Alexis.Matte Make sure Monitor folder feature support root mount point map folder During auto import, give priority to asset import factory over the scene import factory #jira UE-45691 Change 3486879 by Andrew.Rodham Removing obsolete QA assets Change 3486950 by Nick.Darnell PR #2281: Scrollbar missing features and SScrollbar fixes (Contributed by SNikon) Review - made some adjustments from the original. Change 3486954 by Nick.Darnell Slate - Moving the STableViewBase over to the FOverscroll class, rather than it's own clone. Change 3486967 by Nick.Darnell Slate - Fixing some HDPI calculations for fitting new windows on screen, it was using the unscaled size of the widgets for fitting, when it needed to scale them up. Change 3486970 by Andrew.Rodham Sequencer: Delay mouse capture until drag for sequencer time slider - Fixes context menus not opening as a result of mouse capture being taken on mouse down #jira UE-45937 Change 3486984 by Andrew.Rodham Sequencer: Improved blending type iconography Change 3486996 by Nick.Darnell UMG - Adding a way for games to opt-out of the slow widget path, to completely prevent them from being cooked. UMG - The movie data is no longer cloned for each new instance that inhabits. It now keeps a reference to the now publically accessible movie scene data on the class instead. Change 3487070 by Andrew.Rodham Sequencer: Added graphics for key areas that represent empty space Change 3487195 by Andrew.Rodham Sequencer: Changed evaluation groups to always flush implicitly - Due to the latent nature of blended token types, it's no longer safe to rely solely on execution token order between tracks - This fixes an issue where events set in the PostEvaluation stage were executed before blended token actuation Change 3487322 by Nick.Darnell PR #2457: Add .gitdeps.xml-files for plugins support (Contributed by bozaro) Change 3487363 by Nick.Darnell PR #2481: Fix for packing of a project with users plugins (Contributed by yatagarasu25) Change 3487439 by Nick.Darnell PR #2642: Changed private to protected in SVirtualJoystick.h (Contributed by Skylonxe) Change 3487500 by Arciel.Rekman Removed LinuxNativeDialogs. - No longer used; has been superceded by SlateDialogs since UE 4.8 (2 years ago). Change 3487630 by Lauren.Ridge Don't create Landscape Info Maps for Editor Preview Worlds or thumbnail worlds #jira UE-44885 Change 3487864 by Matt.Kuhlenschmidt Exposed the asset registry to blueprints and script. Works in editor scripts and runtime scripts AssetRegistry is now a UInterface object. Blueprint users can access various asset registry methods using the asset registry interface (via GetAssetRegistry) and various static helpers in the AssetRegistryHelpers object C++ users should still continue to use IAssetRegistry. Change 3487879 by Matt.Kuhlenschmidt Renamed asset tools uobject helper to UAssetToolsHelpers Change 3487926 by Lauren.Ridge Fixing reset to default not showing up for custom widgets #jira UE-44164 Change 3488184 by Matt.Kuhlenschmidt PR #3656: Make References/Referencers List copyable (Contributed by user37337) #jira UE-45763 Change 3488240 by Matt.Kuhlenschmidt Fix compiler issue Change 3488350 by Lauren.Ridge Landscape info map transactional state is based on its world's transactional state #jira UE-44885 #jira UE-46019 Change 3488412 by Matt.Kuhlenschmidt Fix reset to default showing up in two different places for some customizations Change 3488413 by Matt.Kuhlenschmidt Fix slate font customization Change 3488414 by Matt.Kuhlenschmidt Fix slate font customization Change 3488415 by Matt.Kuhlenschmidt Missed file Change 3488565 by Arciel.Rekman Add pretty printers for gdb (UETOOL-1171). - Committing shelf by Cengiz.Terzibas, with some modifications. #jira UETOOL-1171 Change 3489094 by Nick.Darnell Slate - The Slate RHI Renderer now caches the TextureLODGroups so that it can properly lookup the filtering of different texture groups that are set to Default, instead of a particular filter override on a texture. Engine/Rendering - Simplifying some of the setup logic in TextureLODSettings so that code is shared for setting them up properly after loading from a config file. Change 3489095 by Nick.Darnell PR #2699: GameViewportClient - Added a method to allow setting the viewport cur. (Contributed by rfenner) Review - Fixed spacing. Change 3489108 by Matt.Kuhlenschmidt Fix deprecation warning Change 3489120 by Nick.Darnell PR #3478: Fix possible UComboBoxString crash (Contributed by nakosung) Change 3489147 by Andrew.Rodham Sequencer: Adding return value to function to appease static analysis - This function is never compiled, and if it is, it won't compile, but static analysis doesn't know that Change 3489264 by Nick.Darnell Testing - Finishing the thought behind an enum comment. Change 3489265 by Nick.Darnell PR #2750: UE-35164: Button padding (Contributed by projectgheist) Change 3489267 by Nick.Darnell PR #3645: UE-45464: Handle SSlider mouse interaction more accurately (Contributed by projectgheist) Change 3489632 by Arciel.Rekman Correctness changes to MallocPoisonProxy. - Missing forwarding functions added. Incorrect comment removed. - Change by Steve.Robb, doing here so it is in 4.17. Change 3489689 by Arciel.Rekman More MallocPoisonProxy changes I missed in previous CL. Change 3489751 by Matt.Kuhlenschmidt Moved editor performance settings out of per-project settings so they can be shared across projects Change 3489837 by Lauren.Ridge Keyboard shortcut for entering/leaving VR Mode is now Alt+V Change 3491082 by Arciel.Rekman Linux: better fix for the crash due to name collision (UE-46040). - Put classes in Sequencer module into Sequencer namespace instead of SceneOutliner namespace. - Undid change in the SceneOutliner module. #jira UE-46040 Change 3491096 by Arciel.Rekman Fix UAT compilation on the newest mono. Change 3491240 by Max.Chen Sequencer: Disable key button when allow level edits only is on. #jira UE-46060 Change 3491406 by Yannick.Lange Fix editor crashes when opening a project that includes a plugin with more than two custom Volume classes. This issue was caused because registering show volume commands is based on finding volume classes. Finding these classes at multiple times resulted in a mismatch of the returned array of volume classes because modules/plugins were still being loaded. #jira UE-45806 Change 3491559 by Alexis.Matte Make sure we use the good preview mesh when doing a preview #jira UE-45963 Change 3491563 by Alexis.Matte Fix crash with staticmesh editor LodLevel selection Change 3491564 by Nick.Darnell UMG - Fixing an offset with the grab handles in HDPI mode. Change 3491595 by Nick.Darnell Editor - Fixing a clipping artifact in the pin type dropdown in the blueprint editor. Change 3491604 by Nick.Darnell Back out changelist 3489265 Change 3491615 by Arciel.Rekman Added malloc replay proxy (Linux only for now). - Allows to dump malloc callstream (without regard to threads) and replay later to study the behavior of different mallocs and/or repro problems. Change 3491684 by Arciel.Rekman Added FMalloc functions I missed. - Also moved function bodies into the .cpp file, this does not make a difference in performance in this case. Change 3491692 by Matt.Kuhlenschmidt Some minor fixes to the static mesh editor - Fix UV combo button looking non-standard on the toolbar - Fix a few combo buttons in the details panel looking too big. Change 3491702 by Arciel.Rekman Do not compile replay proxy-specific code when not used. Change 3491717 by Michael.Dupuis #jira UE-35083: The component is now the owner of the PerInstanceRenderData instead of the proxy Add an Update path to only update specified instances range Always call BuildTreeIfOutdated so we have a standard code path to make sure static mesh are fully loaded before trying to build the tree Moved the Instance Buffer aysnc to the base class, as it's not related to UHierarchicalInstancedStaticMeshComponent Expose a new property to decide if we require dynamic instance buffer Change 3491758 by Matt.Kuhlenschmidt Fix crash on static mesh editor shutdown Change 3491873 by Cody.Albert Fixed clipping issue in Sequencer curve editor #rnx Change 3491956 by Matt.Kuhlenschmidt Fix crash opening the Previewing sub-menu in the level editor settings menu #jira UE-46095 Change 3492046 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492076 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492165 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492222 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492274 by Michael.Dupuis #jira UE-46105: Fixed Clang warning Change 3492338 by andrew.porter QAGame: Testing ensure when submitting Change 3492371 by Nick.Darnell UMG - Reverting the animation sharing, cossed GLEO regressions in cooking. Will look for a better solution. Change 3492462 by Matt.Kuhlenschmidt Fix ensure checking in files through perforce Change 3492491 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492505 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492517 by Jamie.Dale The package localization ID is no longer used at all at runtime, and is now truly editor-only This should have always been the case, but it was leaked into manifest/archives/PO files in 4.14, and while 4.15 removed it from PO files it was still present in the manifest/archives. This change removes it entirely (unless gathering editor-only data, and even then the PO file will still collapse the entries together for translation), and the deprecated 4.14 export behavior will now produce an error if you attempt to use it. After taking this change you'll need to run a gather, import, and compile of your LocRes files to update your game localization to use the new localization IDs. Change 3492630 by Nick.Darnell UMG - Removing some extra cleanup code that's probably overkill and is causing a crash for uses of "Within" in class meta. #jira UE-46124 Change 3492692 by Matt.Kuhlenschmidt Fix drop shadows inheriting the outline color of the font. The outline should still appear but not have a different outline color from fill color Change 3492714 by Matt.Kuhlenschmidt Added outline with drop shadow to font automation test Change 3492737 by Matt.Kuhlenschmidt Fix linux Change 3492992 by tim.gautier Resaving Ocean Widget Blueprints / Sequences to resolve Legacy Sequence Data warnings #jira UE-46132 Change 3493089 by Jamie.Dale Ensure that the composite font of a font asset is flushed when the font object is GC'd Change 3493322 by Jamie.Dale Fixing null crash #jira UE-45758 Change 3494467 by Andrew.Rodham Fix Xbox warning Change 3494852 by tim.gautier QAGame: Changed streaming method of QA-EditorSmoke-Landscape to Always Loaded Change 3494853 by Nick.Darnell Another attempt at fixing the automation blueprint SA warning. Change 3494896 by Arciel.Rekman Fix possible null pointer access during Vulkan init. - May fix static analysis warnings in UE-46142, although warnings seem to be referring to something else. #jira UE-46142 Change 3494987 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3495010 by Matt.Kuhlenschmidt Adding additional logging to track down html5 issue Change 3495212 by Michael.Dupuis #jira UE-46143: Properly init the InstanceRenderData during the cooking phase (required by fortnite) Change 3495536 by Jamie.Dale Updating UGameEngine to call its Super::PreExit after performing its own teardown This prevents UEngine cleaning up resources that UGameEngine still needs. #jira UE-46159 Change 3495551 by Arciel.Rekman Another attempt to fix analyzer problem (UE-46142). Change 3495794 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3495905 by Matt.Kuhlenschmidt Fix USD crash when importing a meshwith no material [CL 3499771 by Matt Kuhlenschmidt in Main branch]
2017-06-19 20:27:30 -04:00
{
UpdatableTextures[Type] = Renderer->CreateUpdatableTexture(Width, Height);
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
HandleRenderingError();
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3497164) #lockdown Nick.Penwarden #rb none ===================================== MAJOR FEATURES + CHANGES ===================================== Change 3433074 by Matt.Kuhlenschmidt Fix crash when clicking on certian tutorial blueprints. #jira UE-44593 Change 3433075 by Matt.Kuhlenschmidt Remove hittest grid log spam. The underlying problem causing this has been fixed Change 3433077 by Matt.Kuhlenschmidt Fix lighting becoming unbuilt when mesh painting #jira UE-44837 Change 3433081 by Matt.Kuhlenschmidt PR #3553: Crashfix for static array properties (Contributed by Pierdek) Change 3433104 by Alexis.Matte Make sure re-import skeletal mesh follow the import morph option #jira UE-42846 Change 3434825 by Matt.Kuhlenschmidt Fix crash when GC happens while the vr editor radial menu is open. Change 3434831 by Matt.Kuhlenschmidt Added missing file Change 3434868 by Shaun.Kime If you have a reroute node between a Material Function texture input and its usage, the parent material will fail to resolve the reroute node. #jira ue-44670 Change 3434998 by Alexis.Matte Meshes editors material/section panel are now fully transactional - Staticmesh editor: section material slot, section cast shadow, section collision, material slot instance, material slot name - Skeletal mesh editor: material slot instance, material slot name Also fix some transaction description #jira UE-44462 Change 3435195 by Jamie.Dale Fixed incorrect handling of some LTR scripts that require shaping These scripts need to go through HarfBuzz, and this also fixes a case where HarfBuzz wasn't applying font scale correctly. #jira UE-44767 Change 3435199 by Jamie.Dale Fixed some crashes/artifacts with bidirectional text It was possible for a line to compute an incorrect range, which could cause crashes or other highlighting issues. The highlighting logic has also been updated as the old code didn't handle all bidirectional cases correctly. Change 3435200 by Jamie.Dale Fixed a grapheme cluster metrics issue in the font editor viewport The viewport also now respects the default shaping method CVar. Change 3435771 by Alexis.Matte Fix degenerated bounds calculation for skeletalmesh when the skeleton is remove from a re-import (PhysicAsset API change, adding 1 function) #jira UE-44609 Change 3436856 by Jamie.Dale Added some missing Unicode block ranges Change 3436914 by Jamie.Dale Adding some missing combining character ranges to the text shaper Change 3436923 by Alexis.Matte PR #3463: Get bounds for all triangles, not just the first one. WedgeIndex was . (Contributed by DaveC79) #jira UE-43764 Change 3436948 by Jamie.Dale Updated the Portal to use the predefined Unicode block ranges Change 3436961 by Max.Chen Sequencer: Show camera shake/anim track menus even if there aren't any assets. Change 3437244 by Max.Chen Sequencer: Clear locked cameras when releasing Sequencer. #jira UE-44967 Change 3437515 by Arciel.Rekman UBT: improvements for LocalExecutor. - Larger number of parallel jobs on 16GB+ machines. - Use WaitForExit() instead of polling. - Tested on Linux and Mac. Change 3437629 by Matt.Kuhlenschmidt Improve asset import data display in static and skeletal meshes Change 3438047 by Arciel.Rekman Fix overlapping ranges being passed to memcpy(). Change 3438822 by Yannick.Lange ViewportInteraction: Move gizmo handle files to make them private. Change 3438906 by Matt.Kuhlenschmidt PR #3556: Git Plugin: fix new option "init Git LFS" that make assets read-only (master/UE4.17) (Contributed by SRombauts) Change 3438907 by Matt.Kuhlenschmidt PR #3565: add -quality option to buildlighing commandlet (Contributed by kayama-shift) Change 3438908 by Matt.Kuhlenschmidt PR #3558: UE-44862: Always update SColorPicker color on OK button (Contributed by projectgheist) Change 3439393 by Matt.Kuhlenschmidt Force highest LOD for highres screenshots Change 3439819 by Matt.Kuhlenschmidt Turned FAssetData into a struct for some upcoming script exposure of FAssetData Change 3439949 by Arciel.Rekman Fixed selection logic for the UE4_LINUX_USE_LIBCXX environment variable. - Allows disabling libc++ by setting the variable to 0. - Pull request #3576 contributed by jared-improbable. Change 3441078 by Jamie.Dale The culture/language/locale console commands are now available in all build configs Change 3441109 by Jamie.Dale Text containing surrogate pairs now runs through HarfBuzz when shaping in Auto mode This is needed as the kerning-only shaping code assumes that everything is within the BMP Change 3441275 by Matt.Kuhlenschmidt Disable spinning on location and scale. These dont work because we have no notion of infinite spinning Change 3442748 by Yannick.Lange ViewportInteraction: Remove unused console variables. Change 3442775 by James.Golding Add support for editing MaterialFunctions to MaterialEditingLibrary Pull Material recompile/update code into UMaterialEditingLibrary::RecompileMaterial Pull MaterialFunction update code into UMaterialEditingLibrary::UpdateMaterialFunction util Move RebuildMaterialInstanceEditors to UMaterialEditingLibrary Added test content for Material/MaterialFunction editing Add needed BlueprintReadWrite to expressions (constants, function input/output) Expose UMaterialExpressionMaterialFunctionCall::SetMaterialFunction to BP, rename old func (which takes old function) to SetMaterialFunctionEx, also expose GetInputNameWithType Change 3442779 by James.Golding Fix header order Change 3442817 by Yannick.Lange ViewportInteraction: Add can execute checks for level editor commands. Change 3443038 by Michael.Dupuis #jira UE-43377: When you select a foliage actor we will move all instance contained in it to the new level as we can't move a foliage actor Only permit moving foliage instance if there is some selected Change 3443855 by Michael.Dupuis #jira UE-44885: Unregister from PerModuleDataObjects when the object is destroyed Change 3446096 by Max.Chen Sequencer: Add OnFinished() event when a level sequence completes playback #jira UE-45173 Change 3446097 by Max.Chen Sequencer: Evaluate one last time before the sequence is torn down and reset #jira UE-45174 Change 3446242 by Jamie.Dale Fixed caret not appearing in empty text layouts Caret selections have no range, and therefore have no width Change 3446361 by Matt.Kuhlenschmidt Fix WITH_EDITOR only functions causing generated code compile errors when the all functions on the class are WITH_EDITOR Change 3446457 by Alexis.Matte Polish the speed tree import dialog #jira UE-44963 Change 3446946 by Michael.Trepka Modified FWindowsWindow::GetRestoredDimensions to return correct window position for normal windows for which GetWindowPlacement returns position in workspace coordinates #jira UE-37934 Change 3447543 by Arciel.Rekman Reduce VMAs on Linux. - Trades off increased address space (VIRT in terms of ps/htop) for smaller number of distinct mappings (VMAs, virtual memory areas). This decreases possibility to run into vm.max_map_count limit on Linux. - Tested on Linux and Mac. Change 3448468 by Arciel.Rekman Fix race condition during creation of GMalloc. - On Mac GMalloc can be created on two different thread that are racing with each other - app's main thread and a system thread. Change 3449012 by Max.Chen Sequencer: Add time to transform, color and vector key structs so that key times are editable from the key editors. #jira UE-45089 Change 3449018 by Max.Chen Sequencer: Add OnCameraCut event that fires when there is a camera cut. #jira UE-45137 Change 3449195 by Max.Chen Sequencer: Add setting for limit scrubbing to playback range. #jira UE-43502 Change 3449198 by Max.Chen Sequencer: Reorder hierarchical bias so that group priority takes precedence. Change 3449217 by Max.Chen Sequencer: Add setting to activate realtime viewports when in sequencer. Change 3449219 by Max.Chen Sequencer: Focus on search boxes when opened. Change 3449238 by Max.Chen Sequencer: Assign actor should replace the actor itself after it has updated all the components. Also, replace components be fullname rather than by class. Change 3449239 by Max.Chen Sequencer: Fix offsets when moving multiple sections. Dragging should be clamped to the bounds that any of the selected sections hits against the unselected sections. Change 3449241 by Max.Chen Sequencer: Restore section selection after full tree rebuild. Change 3449279 by Max.Chen Sequencer: Set movie scene capture frames only when not using custom frames. This allows the user entered frame numbers to persist in config, rather than overwriting them when doing a "Render Shot" Change 3449280 by Max.Chen Sequencer: Spawn in the persistent level. Otherwise, they get spawned into whatever sublevel is current. #jira UE-44552 Change 3449294 by Max.Chen Sequencer: Null check for sequencer ed mode crash. Change 3449297 by Max.Chen Sequencer: Fix delay in sliding values. Mark changed when sliding values. Mark refresh immediately when committing values since OnValueChanged will be called and needs to have the correct value that was refreshed immediately. #jira UE-42866 Change 3449542 by Max.Chen Sequencer: Fix scrubber hit testing so that the time scrubber is really favored over the playback ranges. #jira UE-44569 Change 3451507 by Matt.Kuhlenschmidt Fix extra slate uv coords not functioning on ES2 Change 3451510 by Matt.Kuhlenschmidt PR #3595: Fixed wrong colour for level status (Contributed by ronve) Change 3451529 by Alexis.Matte fbx scene importer: Make sure we set INVALID_UNIQUE_ID to node that has no attribute. #jira UE-34410 Change 3451611 by Yannick.Lange ViewportInteraction: Dragging gizmo without second pass for snapped calculations. Change 3452134 by Jamie.Dale Fixed constant font cache flushing if a widget had no font set Change 3452239 by Jamie.Dale Fixed constant font measure flushing if a widget had no font set Change 3452243 by Jamie.Dale Removed deprecated code for creating fonts from bulk data Change 3452277 by Jamie.Dale The concept of "stale" composite fonts is now editor-only Change 3452358 by Alexis.Matte Fbx scene importer: Do not remove existing attribute reference from the blueprint if the reimport of the associate mesh attribute is not tick. #jira UE-45232 Change 3452678 by Max.Chen Sequencer: Fix crash on export if there's no shot data. Change 3453057 by Matt.Kuhlenschmidt Exposed asset exporting to script Change 3453782 by Andrew.Rodham Sequencer: Fixed deterministic cooking issues with movie scene data - Movie scene signatures are now initialized in PostInitProperties - A warning is now presented when attempting to cook old data that was never serialized with a signature. - Removed redundant legacy data upgrade logic that could dirty level sequences on load. #jira UE-44912 Change 3453788 by Yannick.Lange ViewportInteraction: Custom scene proxy for gizmo handles. Change 3453938 by Max.Chen Sequencer: Hotkeys (shift , and shift .) to step to next/previous shot #jira UE-45119 Change 3454058 by Michael.Dupuis Fixed StaticAnalysis Change 3454077 by Max.Chen Sequencer: Fix not saving the pre-animated track value when creating a track/key. On pre object change, broadcast property change so that a track or key can be created. That track/key needs to be evaluated immediately so that the pre-animated state can be saved properly. This is done now with RefreshAllImmediately and is only called when a track has been created. Also, added a return value for OnKeyProperty, so that it's known what changed in particular (ie. track created, track modified, etc) Also, fixed transform keying so that if a transform track already exists for the object or the scene component, the existing track is used. #jira UE-45130 Change 3454108 by Nick.Darnell UMG - Fixing the WIC to properly record cursor delta so that scrollbars work. Change 3454109 by Jamie.Dale Cache the text layout source info in non-shipping builds so you can inspect it in the debugger Change 3454202 by Matt.Kuhlenschmidt Fix bogus error message about the number of usable texture coordinates on ES2 when compiling a UI domain material Change 3454390 by Yannick.Lange Fix creating a plugin in a C++ project opens a second instance of Visual Studio. Use SourceCodeAccessor to open solution when necessary. #jira UE-45035 Change 3454564 by Matt.Kuhlenschmidt #rnx Fix deprecation warnings Change 3455471 by Yannick.Lange ViewportInteraction: Fix entering and exiting VR Mode disables gizmo in desktop editor viewport. #jira UE-44965 Change 3456183 by Max.Chen Sequencer: Auto key, auto track refactor. Auto key - create a key when the property changes and there's an existing track. Auto track - create a track when the property changes. This is only exposed in the level sequence editor. All - create a key and a track when the property changes. This is only exposed in VR Editor. None - do nothing. #jira UE-43469 Change 3456349 by Andrew.Rodham Sequencer: Only perform legacy signature checks on instances, and only where signatures match the CDO Change 3456678 by Alexis.Matte Allow to add null level instance override material via the advance material array. But still limit the override material number to the mesh material number. #jira UE-45306 Change 3456945 by Max.Chen UMG: Add restore state to 2d transform section. #jira UE-45372 Change 3457196 by Arciel.Rekman Linux: serialize allocations from the memory pool. Change 3458434 by Max.Chen Sequencer: Remove obsolete set tick prerequites functions. Change 3458671 by James.Golding Added MIC editing support to MaterialEditingLibrary Fix static analysis warning Change 3458888 by Matt.Kuhlenschmidt PR #3615: More detailed log messages for debugging warnings/errors (Contributed by projectgheist) Change 3458893 by Matt.Kuhlenschmidt PR #3583: UE-44960: Delta value wasn't being used (Contributed by projectgheist) Change 3458895 by Matt.Kuhlenschmidt Fix typo Change 3458902 by Matt.Kuhlenschmidt PR #3607: Improved InputKeySelector functionality (Contributed by projectgheist) Change 3458917 by Matt.Kuhlenschmidt Fix crash with invalid object properties in the class picker #jira UE-39000 Change 3458939 by Matt.Kuhlenschmidt Fix compile error Change 3458984 by andrew.porter QAGame: Initial check in of sequencer smoke test map Change 3459510 by Matt.Kuhlenschmidt Fixed ensure when deleting a map that contains build data which also happens to be the currently loaded map. #jira UE-45052 Change 3460985 by Max.Chen Sequencer: Snap play time to keys now allows scrubbing between keys and snaps to key times within a certain screenspace tolerance. #jira UE-45090 Change 3461698 by Arciel.Rekman Avoid using ARRAY_COUNT in Vulkan. - Sometimes those arrays can have no extensions whatsoever, and it is illegal to declare a 0 element C array. Change 3462053 by Max.Chen Sequencer: Show sequencer spawnables in the world outliner and add the icon overlay for spawnables. #jira UE-43470 Change 3462139 by Max.Chen Property Editor: Add objects to FPropertyAndParent Change 3462202 by Arciel.Rekman Fix FSocket::Recv() blocking with Peek when there's no data. Change 3462253 by Nick.Darnell Slate - New Clipping System Clipping is now a stateful choice made during composition of the slate hierarchy. Previously every widget got to respect or modify the clipping rect on an as needed basis. The problem was that clipping was only allowed in the layout space of the widget, and it wasn't possible to properly clip elements with render transforms. The new system permits all kinds of transforms on any widget, and they will all be clipped correctly. It tries to use Scissor Rects as they are much cheaper, but will switch over to stenciling if need be to represent a complicated masking structure with several rotated clipping rects all needed to be combined together. Here are the new clipping states a widget can have, almost all widgets are set to No. Only change it from No if your widget actually needs to clip, generally speaking most widgets don't need to clip. /** * This widget does not clip children, it and all children inherit the clipping area of the last widget that clipped. */ Inherit, /** * This widget clips content the bounds of this widget. It intersects those bounds with any previous clipping area. */ ClipToBounds, /** * This widget clips to its bounds. It does NOT intersect with any existing clipping geometry, it pushes a new clipping * state. Effectively allowing it to render outside the bounds of hierarchy that does clip. * * NOTE: This will NOT allow you ignore the clipping zone that is set to [Yes - Always]. */ ClipToBoundsWithoutIntersecting UMETA(DisplayName = "Yes - Without Intersecting (Advanced)"), /** * This widget clips to its bounds. It intersects those bounds with any previous clipping area. * * NOTE: This clipping area can NOT be ignored, it will always clip children. Useful for hard barriers * in the UI where you never want animations or other effects to break this region. */ ClipToBoundsAlways UMETA(DisplayName = "Yes - Always (Advanced)"), /** * This widget clips to its bounds when it's Desired Size is larger than the allocated geometry * the widget is given. If that occurs, it behaves like [Yes]. * * NOTE: This mode was primarily added for Text, which is often placed into containers that eventually * are resized to not be able to support the length of the text. So rather than needing to tag every * container that could contain text with [Yes], which would result in almost no batching, this mode * was added to dynamically adjust the clipping if needed. The reason not every panel is set to OnDemand, * is because not every panel returns a Desired Size that matches what it plans to render at. */ OnDemand UMETA(DisplayName = "On Demand (Advanced)") - Large API Change - All FSlateDrawElement::Make_____ calls have been deprecated that involved passing in a clipping rect. You no longer should are passed a Clipping rect via OnPaint. You are still passed a rect, but this rect represents a Culling Rect, which is valuable if you need to just out right not paint things the user can't possibly see. If you were previously trying to determine if you should cull widgets, by doing something like this, if ( FSlateRect::DoRectanglesIntersect(MyClippingRect, CurWidget.Geometry.GetRenderBoundingRect()) ) That's no longer a good option since there are ways for widgets to ignore the culling bounds. You should convert anything like above to the one below, if (!SWidget::IsWidgetCulled(MyCullingRect, CurWidget)) To assist in debugging efforts, there are several new debugging console flags in Slate, Slate.ShowClipping 1 - Controls whether we should render a clipping zone outline. Yellow = Axis Scissor Rect Clipping (cheap). Red = Stencil Clipping (expensive). Slate.DebugCulling 1 - Disables pushing clipping or stencil rects to the GPU, but continues to intersect culling rects, so that you can tell if a widget is properly culling children it can't possibly draw. Slate.ShowTextDebugging 1 - Show debugging painting for text rendering. I've added a new Experimental Feathering Option, it adds AA geometry around the outside of Box and Image brushes. Slate.Feathering 1 If you're using RenderDoc or something similar, you can now enable render events for slate, so that you can better grok how we're batching and changing states for each UI render pass. Slate.EnableDrawEvents 1 #jira UE-4659 #rn Change 3462714 by Nick.Darnell Fixing a few more compiler issues with the clipping changes. Change 3462726 by Max.Chen Switch OnEditStructChildContentsChanged to use FObjectWriter instead of FMemoryWriter which supports serializeing UObjects. This fixes a crash when adding actor array elements to a user defined event struct. #jira UE-45431 Change 3462801 by Nick.Darnell Adding a UMG dependency to EngineTestBuild. Change 3462914 by Max.Chen Sequencer: Fix regression where spawnables aren't getting saved. Caused by 3407138 #jira UE-30007 #jira UE-39003 Change 3462946 by Nick.Darnell Automation - Tweaking the UI automation tests converting them over to use the new UI Screenshot automation test. Automation - Adding a blur widget test. Change 3462987 by Matt.Kuhlenschmidt Back out changelist 3458893 Change 3464774 by Matt.Kuhlenschmidt PR #3629: Bugfix: Missing small icon in Project Launcher profile editor (Contributed by aarmbruster) Change 3464785 by Nick.Darnell Fixing some clipping stuff in the editor. Change 3464830 by andrew.porter QAGame: Second pass on sequencer smoke test map Change 3464902 by Nick.Darnell Loading - Adding some additional checks to the the loading code to ensure we're on the main thread. Additionally adding a fix from UDN that prevents deadlocks in the rare case a user hits Alt+Tab in a fullscreen game while in a hard loading screen. Change 3464988 by Max.Chen Sequencer: Add attenuation settings for attached audio components. #jira UE-33080 Change 3465024 by Nick.Darnell MoviePlayer - Impoving the playback mode displaynames. Change 3465074 by Arciel.Rekman Fix shadowing issues of GraphicsPSOInit. Change 3465097 by Matt.Kuhlenschmidt Some refactoring of the details panel Exposed new methods of adding a struct on scope to a details panel and have it work properly with customizations. The scruct on scope has a "fake" ustructproperty that allows the details panel to show the whole struct not just an individual property. Refactored the API for adding rows to details panels to make it more consistent\ AddChildCustomBuilder->AddCustomBuilder AddChildGroup->AddGroup AddChildContent->AddCustomRow AddChildPropert->AddProperty AddChildStructure->AddExternalStructureProperty AddStructure->AddAllExternalStructureProperties AddExternalProperty->AddExternalObjectProperty or AddExternalStructureProperty Change 3465186 by Max.Chen Sequencer: Save the BindingID in the pre animated token producer so that it can be destroyed properly. This fixes a bug where the default state of a spawnable isn't saved. #jira UE-43780 Change 3465315 by Matt.Kuhlenschmidt Fix Fortnite and Orion details panel customization warnings Change 3465424 by Nick.Darnell Automation - Moving the step for setting the link to the automation reports to be set before we start the engine. Change 3465488 by Nick.Darnell Automation - Forcing textures to load before taking screenshot, so that the scene gets another opportunity to render before we render with Slate. This should fix the Blur UI Test. Change 3466277 by Arciel.Rekman Linux: fix window drift when dragging (UE-40380). - Change by Cengiz Terzibas. Change 3466370 by Nick.Darnell UMG - Fixing the colors for the resize handle in the designer. Change 3466372 by Nick.Darnell UMG - Fixing the ruler ticks sometimes not being drawn. Change 3466374 by Nick.Darnell UMG - Fixing the designer showing multiple options for sequencer. Change 3466377 by Nick.Darnell UMG - Cleaning up some clipping bits. Change 3467025 by Andrew.Rodham Re-saving assets that contain legacy (<4.15) movie scene data to remove deterministic cook warning. If conflicts arise during merging of these assets, please ignore the changes made in dev-editor, and accept game-side changes. (CIS step 62283298, jobId 7773146) (CIS step 62283297, jobId 7773146) Change 3467099 by Max.Chen Fix GetObjectPropertyClass ensure logic. This was returning UObject::StaticClass when valid. Change 3467172 by Max.Chen Sequencer: Evaluation optimizations. Also, fixes subsequences not getting expired, leaving dangling spawnables. #jira UE-43690 Change 3467192 by Matt.Kuhlenschmidt Fix transactions getting stuck in the color grading controls. This prevents PIE from working properly and causes shutdown crashes #jira UE-45527 Change 3467251 by Yannick.Lange ViewportInteraction: Fix scale and rotation snap while dragging with two lasers. #jira UE-43489 Change 3467331 by Matt.Kuhlenschmidt Fix D3D shader compiler hard coding shader path and not giving proper warnings when it cannot find the shaders Change 3467335 by Matt.Kuhlenschmidt Remove DarkStyle attribute from SNumericEntryBox and allow a spin box style to be passed to it. Change 3467558 by Max.Chen Scene Outliner: Generic support to add default columns to a scene outliner. Change 3467565 by Jamie.Dale Removing old screenshot data for test Change 3467589 by Nick.Darnell Editor - Random cleanup. Change 3467596 by Nick.Darnell Progress Bar - Exposing Border Padding to UMG. Change 3467600 by Nick.Darnell Slate - Adjusting the rendering of the splitter, previously it could be off by a pixel or two, which becomes more apparent now with the clipping changes. Change 3467601 by Max.Chen Property Editor: Fix static analysis warning Change 3467662 by Nick.Darnell Automation - Fixing a bug with the screenshot comparison tool not replacing (removing) the old screenshot data. Change 3467674 by Max.Chen Property Editor: Fix static analysis warning Change 3467737 by Max.Chen Sequencer: Added OnMovieSceneBindingsChanged delegate Change 3468053 by tim.gautier QAGame: Updating Editor Smoke Map - Updated landscapes into Stations for testing - Added Foliage Sublevel Change 3468194 by Arciel.Rekman Linux: fix problems communicating with various STL-using libs. - Stop hiding global new/delete signatures. - Disable CEF3 since this change uncovers the problem with libcef.so not built to use bundled libpng. Change 3468678 by Max.Chen Sequencer: Set "Sequencer Actor" tag before setting the actor label so that the outliner refreshes after the actor has the tag. Change 3469314 by tim.gautier QAGame: Added Painted Foliage / Spline section to EditorSmoke map Change 3469377 by Nick.Darnell Slate - Fixing some warnings in a couple of sample games due to the clipping changes. #rnx Change 3469767 by Max.Chen Sequencer: Outliner column and sequencer binding data #jira UE-43470 Change 3469974 by Arciel.Rekman Fix code projects not working in Linux installed build. Change 3470082 by Nick.Darnell Slate - The GetRenderer() call on SlateApplication no longer returns a SharedPtr, rather than convert it to a thread safe ptr, going to just make accessing it a raw ptr return, so it can be safely referenced on the game thread while being used on the slate loading thread. Change 3470174 by Nick.Darnell Slate - Get the last widget in a widget path utility. Change 3470176 by Nick.Darnell UMG - User Widgets now have an easy way to know if they're part of or have been removed from the focused widget path, which is handy for doing effects. Change 3470261 by Nick.Darnell Slate - The GetRenderer() call on SlateApplication no longer returns a SharedPtr, rather than convert it to a thread safe ptr, going to just make accessing it a raw ptr return, so it can be safely referenced on the game thread while being used on the slate loading thread. Change 3470286 by Max.Chen Sequencer: Scene Component's HiddenInGame now goes through the VisibilityTrack and the visibility template. Change 3470366 by Nick.Darnell Slate - We now version focus per user, that way during focus events, we can safely abort focus events and state transitions if someone interrrupts the active focus event with something new. Change 3470649 by Matt.Kuhlenschmidt Fix deprecation warnings Change 3470695 by Matt.Kuhlenschmidt Fixed typo #jira UE-45580 Change 3470721 by Matt.Kuhlenschmidt Fix static analysis Change 3471254 by Michael.Dupuis #jira UE-42952: Keep occlusion result per view Change 3471287 by Nick.Darnell UMG - Render Focus Rule now defaults to never. Change 3471291 by Nick.Darnell Slate - Fixing FSlateRenderer* change fallout. Change 3471299 by Nick.Darnell Slate - Fixing FSlateRenderer* change. Change 3471323 by Nick.Darnell Automation - Fixing automation and Static Analysis warning. Change 3471413 by andrew.porter QAGame: Added test content for anim blending and material parameteres to sequencer smoke level Change 3471649 by Max.Chen Sequencer: Modify the track when adding animation #jira UE-45618 Change 3471659 by Matt.Kuhlenschmidt Added a way to check if a movie is playing from the engine. Prevented viewport redraws for canvas loading screens if a slate based loading movie is playing Change 3471734 by Matt.Kuhlenschmidt Added basic material hookup to USD. Similar to FBX it will find materials based on rules specified by the user in the import settings Change 3472176 by Nick.Darnell UMG - Improving the display of the +Track menu in sequencer for UMG. Renamed it from +Add, which is repetitve to +Track. Additionally, the dropdown now shows the currently selected widgets, as well as a submenu containing all the 'important' widgets, so we no longer populate that list with a ton of irrelevant widgets that are just Buton_1 - N, which is pointless in showing people, they'll never guess which is the right button. Change 3472740 by Max.Chen Sequencer: Add GetThisFrameMetaData accessor Change 3472748 by Max.Chen Sequencer: Added OnBeginScrubbing and OnEndScrubbing event delegates Change 3472753 by Max.Chen Sequencer: Add EMovieSceneDataChangeType parameter to OnMovieSceneDataChanged delegate Change 3472870 by Nick.Darnell Clipping - Fixing the deprecated tip for scissor rect boxes to be correct. Removing it's usage from UT. Change 3473340 by Max.Chen Scene Outliner: Add ability to register additional filters Change 3473348 by Max.Chen Details View: Make ForceRefresh virtual. Added accessors to delegates (ie. GetIsPropertyReadOnlyDelegate) Change 3473441 by Max.Chen Sequencer: Autokey Refactor Part 2. Autokey is now a single toggleable state. Allow Edits Mode has 3 states: Allow All Edits - Allow any edits to occur, some of which may produce tracks/keys or modify default properties. Allow Sequencer Edits Only - All edits will produce either a track or a key. Allow Level Edits Only - Properties in the details panel will be disabled if they have a track. #jira UE-45229 Change 3473670 by Nick.Darnell Modules - The module manager no longer returns sharedptrs to IModuleInterfaces, this was the source of rare hard to track down crashes due to a shared ptr reference leak when GetModule was called on non-main threads. We now store a TUniquePtr internally, and only lease out raw pointers. #rn Change 3473711 by Nick.Darnell Disabling the ensure in the module manager. Change 3473747 by Max.Chen Sequencer: Fix tooltip Change 3474091 by Jamie.Dale Added a warning when cooking a UFontFace that is outered to a UFont asset These cause issues with iterative COTF, and should be split off into their own assets (as the UI has been asking people to do for several versions) Change 3475052 by Yannick.Lange VR Editor: Fix Crash when quitting the editor with VR Mode enabled. VR Editor was being enabled when saving the map on closing the editor. #jira UE-45415 Change 3475054 by Yannick.Lange Fix crash when adding a camera to the world in VR Mode the second time. The slate application did not reset when stop dragging in VR Mode, so the second time when starting to drag a camera out of the UI it would already by in a dragging state. #jira UE-45574 Change 3475263 by Nick.Darnell Fixing some additional cases of IModuleInteface SharedPtr usage. Change 3475268 by Max.Chen Sequencer: Set jumped state when looping playback. This fixes an issue where audio doesn't stop and restart when looped. #jira UE-45654 Change 3475269 by Max.Chen Scene Outliner: Additional filters should only apply to actor browsing mode Change 3475407 by Nick.Darnell Fixing some clipping / module shared ptr changes in the launcher code. Change 3475542 by Max.Chen Sequencer: Update thumbnail and section highlighting to use new clipping behavior. #jira UE-45692 #jira UE-45689 Change 3475743 by Michael.Dupuis #jira UE-45183: When updating phyx region take into account simple collision mip Change 3475949 by Arciel.Rekman Remove PhysX deoptimization (no longer needed). - OR-24947 has been closed three months ago. Change 3476022 by Michael.Dupuis #jira UE-45560: Make sure we're not going out of range Change 3476063 by Michael.Dupuis #jira UE-45562: Do not try to unregister from static mesh if no static mesh is specified for the component Change 3476168 by Michael.Trepka Added handling of directory symlinks to FApplePlatformFile::IterateDirectory #jira UE-43704 Change 3476172 by Nick.Darnell Fixing a Imoduleinterface change. Change 3476183 by Jamie.Dale Exposing GoTo/ScrollTo to single-line editable text for API parity with multi-line editable text Change 3476385 by Arciel.Rekman Linux: handle symlinks when iterating directories. Change 3476522 by Michael.Trepka Solved a problem with Mac FMallocTBB::Malloc() returning nullptr for 0 bytes allocations, which is inconsistent with other platforms. On Mac we always scalable_aligned_malloc, which behaves differently than scalable_malloc, so for 0 bytes requests we allocate sizeof(size_t), which is exactly what scalable_malloc does internally in such case. Change 3476806 by Nick.Darnell UMG - Focus the designer after dropping a widget onto the surface. Change 3476809 by Nick.Darnell Curve Editor - Enable Clipping on the curve editor. Change 3477475 by Nick.Darnell Fixing a module interface shared ptr usage in UT. Change 3477553 by Yannick.Lange VR Editor: Removed AssetEditorPanelID and replaced it with TabManagerPanelID. A panel for AssetEditorPanelID was never created making it impossible to open an asset editor. Change 3477734 by Yannick.Lange VR Editor: Fix Warning: SetRelativeScale3D : Invalid Scale entered (X=inf Y=inf Z=inf). Resetting to 1.f. warning when adding CineCameraActor to World from Modes Panel. Make sure to not divide by zero when there is no boundary scale. #jira UE-44933 Change 3477761 by Jamie.Dale Some improvements to avoid loading the native .locres files twice when we don't need to Change 3477780 by Nick.Darnell PR #3250: Return correct VirtualUserIndex (Contributed by projectgheist) Change 3477786 by Nick.Darnell PR #3650: Changed TestNull to accept const pointers. (Contributed by e-agaubatz) Change 3477795 by Nick.Darnell PR #2844: UE-36936: Don't stretch container for Plugin Image (Contributed by projectgheist) Change 3478092 by Nick.Darnell PR #2341: Optional Middle Mouse Button panning in Graph Editor (Contributed by flipswitchingmonkey) Engine Edit - Made some small changes to the enum type, and some naming. Change 3478450 by Nick.Darnell Fixing some uninitialized variable errors. Change 3479827 by Andrew.Rodham Sequencer: Addressed serialization issues with some struct types Change 3479874 by Jamie.Dale Fixed "NativeGameLanguage" not being used correctly during localization initialization Change 3480012 by Andrew.Rodham Sequencer: Fixed loading tagged properties as native for track identifiers #jira UE-45823 Change 3480337 by Alexis.Matte Fix morph target crash missing some valid index check Change 3480804 by Alexis.Matte Fix crash with ColorGradingMode custom detail #jira UE-45638 Change 3480892 by Andrew.Rodham Sequencer: Ensure that movie scene sequences know about the editor object version #jira UE-45842 Change 3481073 by Nick.Darnell Fix the shader compiler error from main in Slate. Change 3481303 by Nick.Darnell UMG - Fixing a bug with the drag handle not working correctly in HDPI mode. Change 3481308 by Nick.Darnell Slate - Tweaking the IsWidgetCulled logic to consider both the layout and rendering bounds. If we do this, we get a much more desireable outcome for people that want to animate widgets and such and plan to have temporary animations to move the widget offscreen, but want the layout bounds to anchor that widget in the visible frame so that it animates even when normally it would be culled b/c the render transform and therefore the renderbounds moved it completely outside the culling rect. Change 3481629 by Max.Chen Sequencer: Add Level Sequence Actor as an output for CreateLevelSequencePlayer() #jira UE-45785 Change 3481899 by Yannick.Lange VR Editor: Added debug modetoggle command with an event that is broadcasted whenever this happens. Currently this is used to show all the floating UIs of the UI system to debug without HMD using VREd.ForceVRMode. Change 3481984 by Michael.Dupuis #jira UE-45845: always validate if we have a static mesh before trying to access it as user can decide to not assign one and use the tools Change 3482047 by Nick.Darnell Slate - Adding some comments to IsWidgetCulled. Change 3482110 by Nick.Darnell Slate - IsWidgetCulled is no longer static and is now called IsChildWidgetCulled. Change 3482136 by Jamie.Dale The CamelCase break iterator now treats digits around character tokens as part of the identifier Change 3482138 by Michael.Dupuis #jira UE-45854: Properly unregister during undo operation Change 3482150 by Michael.Dupuis #jira UE-45845 : Add missing nullcheck for GetStaticMesh Change 3482153 by Nick.Darnell Slate - IsWidgetCulled is no longer static and is now called IsChildWidgetCulled. Change 3482180 by Nick.Darnell UMG - Widget Components do not need to define a widget class to be rendererd, they can have native slate widgets only. This was a regression from main. Change 3482273 by Nick.Darnell UMG - Tweaking some more things about the widget component box outline. Change 3482308 by Alexis.Matte Fixing morph target smooth group support. Do not call FillSkeletalMeshImportData more then once on FbxNode since this fonction is doing some conversion and change the FbxNode, applying those conversion twice do not return the same faces smooth group. #jira UE-45696 Change 3482327 by Nick.Darnell UMG - More tweaks to the WidgetComponent so both shows the box outline, but works in game and VR editor. Change 3482705 by Andrew.Rodham Resaving assets that contain legacy data to suppress CIS warnings. - If conflicts arise in these assets, please take game-side changes and ignore these. Change 3484245 by Max.Chen Sequencer: Evaluate on end scrub. This fixes a bug where audio doesn't evaluate in a stopped position at the end of scrubbing, causing it to not stop all sounds. This fixes a bug introduced from 3365018 where evaluate on end scrub was removed. #jira UE-45905 Change 3484263 by Max.Chen Sequencer: Fix crash on forcing refresh of details panel on release. #jira UE-45911 Change 3484431 by Andrew.Rodham Resaving assets that contain legacy data to suppress CIS warnings. - If conflicts arise in these assets, please take game-side changes and ignore these. Change 3484474 by Alexis.Matte Fix the morph target animation curve name matching. #jira UE-20294 Change 3484475 by Alexis.Matte When removing a LOD, make sure we remove all morph target data associate to the LOD. Change 3484489 by Nick.Darnell PR #3668: UE-45908: Cache debug line locations when performing a LineTraceMulti (Contributed by projectgheist) #jira UE-45908 Change 3484692 by Nick.Darnell Slate - Reverting a change from a game stream. All Arranged Children don't need to allocated 42 to begin with. Do need to initialize WidgetPaths better. Change 3484703 by Nick.Darnell Player Input - Making the input event loop for players obey EKeys::NUM_TOUCH_KEYS, rather than being set to Touch10, as the maximum touch input amount, to make supporting greater than 10 touches easier. Also making the seeding of keys use EKeys::NUM_TOUCH_KEYS. #jira UE-43213 Change 3484918 by Jamie.Dale Fixed font measuring regression with RTL text RTL applies the character count to the next glyph, so it shouldn't process the end of the loop (this was how the older code used to work). Change 3485718 by Nick.Darnell Editor - Removing Super Search & User Feedback button. Change 3485719 by Nick.Darnell Portal - Removing SuperSearch. Change 3485751 by Matt.Kuhlenschmidt Fix crash accessing platformer game menu if the menu is open during a console based load #jira UE-45950 Change 3486047 by Arciel.Rekman Linux: add OpenEXR implementation (UE-40270). #jira UE-40270 Change 3486467 by Max.Chen Sequencer: Reset max tick rate when destroyed. #jira UE-45956 Change 3486477 by Max.Chen Sequencer: Refresh outliner when column is removed. #jira UE-45891 Change 3486667 by Andrew.Rodham Added missing include Change 3486724 by Andrew.Rodham Sequencer: Fixed curves with no default value, and no keys being evaluated and applied to properties - Also fixed an edge case where a zero (but non-animated) channel could be applied to a final transform Change 3486730 by Alexis.Matte In the Auto-Reimport options, hide the mout point only for the default /Game/ folder #UE-45684 Change 3486749 by Alexis.Matte Make sure the parent window of the monitor directory browse folder is set properly #jira UE-45682 Change 3486805 by Matt.Kuhlenschmidt Additional safety against invalid objects being accessed by slate Change 3486848 by Alexis.Matte Make sure Monitor folder feature support root mount point map folder During auto import, give priority to asset import factory over the scene import factory #jira UE-45691 Change 3486879 by Andrew.Rodham Removing obsolete QA assets Change 3486950 by Nick.Darnell PR #2281: Scrollbar missing features and SScrollbar fixes (Contributed by SNikon) Review - made some adjustments from the original. Change 3486954 by Nick.Darnell Slate - Moving the STableViewBase over to the FOverscroll class, rather than it's own clone. Change 3486967 by Nick.Darnell Slate - Fixing some HDPI calculations for fitting new windows on screen, it was using the unscaled size of the widgets for fitting, when it needed to scale them up. Change 3486970 by Andrew.Rodham Sequencer: Delay mouse capture until drag for sequencer time slider - Fixes context menus not opening as a result of mouse capture being taken on mouse down #jira UE-45937 Change 3486984 by Andrew.Rodham Sequencer: Improved blending type iconography Change 3486996 by Nick.Darnell UMG - Adding a way for games to opt-out of the slow widget path, to completely prevent them from being cooked. UMG - The movie data is no longer cloned for each new instance that inhabits. It now keeps a reference to the now publically accessible movie scene data on the class instead. Change 3487070 by Andrew.Rodham Sequencer: Added graphics for key areas that represent empty space Change 3487195 by Andrew.Rodham Sequencer: Changed evaluation groups to always flush implicitly - Due to the latent nature of blended token types, it's no longer safe to rely solely on execution token order between tracks - This fixes an issue where events set in the PostEvaluation stage were executed before blended token actuation Change 3487322 by Nick.Darnell PR #2457: Add .gitdeps.xml-files for plugins support (Contributed by bozaro) Change 3487363 by Nick.Darnell PR #2481: Fix for packing of a project with users plugins (Contributed by yatagarasu25) Change 3487439 by Nick.Darnell PR #2642: Changed private to protected in SVirtualJoystick.h (Contributed by Skylonxe) Change 3487500 by Arciel.Rekman Removed LinuxNativeDialogs. - No longer used; has been superceded by SlateDialogs since UE 4.8 (2 years ago). Change 3487630 by Lauren.Ridge Don't create Landscape Info Maps for Editor Preview Worlds or thumbnail worlds #jira UE-44885 Change 3487864 by Matt.Kuhlenschmidt Exposed the asset registry to blueprints and script. Works in editor scripts and runtime scripts AssetRegistry is now a UInterface object. Blueprint users can access various asset registry methods using the asset registry interface (via GetAssetRegistry) and various static helpers in the AssetRegistryHelpers object C++ users should still continue to use IAssetRegistry. Change 3487879 by Matt.Kuhlenschmidt Renamed asset tools uobject helper to UAssetToolsHelpers Change 3487926 by Lauren.Ridge Fixing reset to default not showing up for custom widgets #jira UE-44164 Change 3488184 by Matt.Kuhlenschmidt PR #3656: Make References/Referencers List copyable (Contributed by user37337) #jira UE-45763 Change 3488240 by Matt.Kuhlenschmidt Fix compiler issue Change 3488350 by Lauren.Ridge Landscape info map transactional state is based on its world's transactional state #jira UE-44885 #jira UE-46019 Change 3488412 by Matt.Kuhlenschmidt Fix reset to default showing up in two different places for some customizations Change 3488413 by Matt.Kuhlenschmidt Fix slate font customization Change 3488414 by Matt.Kuhlenschmidt Fix slate font customization Change 3488415 by Matt.Kuhlenschmidt Missed file Change 3488565 by Arciel.Rekman Add pretty printers for gdb (UETOOL-1171). - Committing shelf by Cengiz.Terzibas, with some modifications. #jira UETOOL-1171 Change 3489094 by Nick.Darnell Slate - The Slate RHI Renderer now caches the TextureLODGroups so that it can properly lookup the filtering of different texture groups that are set to Default, instead of a particular filter override on a texture. Engine/Rendering - Simplifying some of the setup logic in TextureLODSettings so that code is shared for setting them up properly after loading from a config file. Change 3489095 by Nick.Darnell PR #2699: GameViewportClient - Added a method to allow setting the viewport cur. (Contributed by rfenner) Review - Fixed spacing. Change 3489108 by Matt.Kuhlenschmidt Fix deprecation warning Change 3489120 by Nick.Darnell PR #3478: Fix possible UComboBoxString crash (Contributed by nakosung) Change 3489147 by Andrew.Rodham Sequencer: Adding return value to function to appease static analysis - This function is never compiled, and if it is, it won't compile, but static analysis doesn't know that Change 3489264 by Nick.Darnell Testing - Finishing the thought behind an enum comment. Change 3489265 by Nick.Darnell PR #2750: UE-35164: Button padding (Contributed by projectgheist) Change 3489267 by Nick.Darnell PR #3645: UE-45464: Handle SSlider mouse interaction more accurately (Contributed by projectgheist) Change 3489632 by Arciel.Rekman Correctness changes to MallocPoisonProxy. - Missing forwarding functions added. Incorrect comment removed. - Change by Steve.Robb, doing here so it is in 4.17. Change 3489689 by Arciel.Rekman More MallocPoisonProxy changes I missed in previous CL. Change 3489751 by Matt.Kuhlenschmidt Moved editor performance settings out of per-project settings so they can be shared across projects Change 3489837 by Lauren.Ridge Keyboard shortcut for entering/leaving VR Mode is now Alt+V Change 3491082 by Arciel.Rekman Linux: better fix for the crash due to name collision (UE-46040). - Put classes in Sequencer module into Sequencer namespace instead of SceneOutliner namespace. - Undid change in the SceneOutliner module. #jira UE-46040 Change 3491096 by Arciel.Rekman Fix UAT compilation on the newest mono. Change 3491240 by Max.Chen Sequencer: Disable key button when allow level edits only is on. #jira UE-46060 Change 3491406 by Yannick.Lange Fix editor crashes when opening a project that includes a plugin with more than two custom Volume classes. This issue was caused because registering show volume commands is based on finding volume classes. Finding these classes at multiple times resulted in a mismatch of the returned array of volume classes because modules/plugins were still being loaded. #jira UE-45806 Change 3491559 by Alexis.Matte Make sure we use the good preview mesh when doing a preview #jira UE-45963 Change 3491563 by Alexis.Matte Fix crash with staticmesh editor LodLevel selection Change 3491564 by Nick.Darnell UMG - Fixing an offset with the grab handles in HDPI mode. Change 3491595 by Nick.Darnell Editor - Fixing a clipping artifact in the pin type dropdown in the blueprint editor. Change 3491604 by Nick.Darnell Back out changelist 3489265 Change 3491615 by Arciel.Rekman Added malloc replay proxy (Linux only for now). - Allows to dump malloc callstream (without regard to threads) and replay later to study the behavior of different mallocs and/or repro problems. Change 3491684 by Arciel.Rekman Added FMalloc functions I missed. - Also moved function bodies into the .cpp file, this does not make a difference in performance in this case. Change 3491692 by Matt.Kuhlenschmidt Some minor fixes to the static mesh editor - Fix UV combo button looking non-standard on the toolbar - Fix a few combo buttons in the details panel looking too big. Change 3491702 by Arciel.Rekman Do not compile replay proxy-specific code when not used. Change 3491717 by Michael.Dupuis #jira UE-35083: The component is now the owner of the PerInstanceRenderData instead of the proxy Add an Update path to only update specified instances range Always call BuildTreeIfOutdated so we have a standard code path to make sure static mesh are fully loaded before trying to build the tree Moved the Instance Buffer aysnc to the base class, as it's not related to UHierarchicalInstancedStaticMeshComponent Expose a new property to decide if we require dynamic instance buffer Change 3491758 by Matt.Kuhlenschmidt Fix crash on static mesh editor shutdown Change 3491873 by Cody.Albert Fixed clipping issue in Sequencer curve editor #rnx Change 3491956 by Matt.Kuhlenschmidt Fix crash opening the Previewing sub-menu in the level editor settings menu #jira UE-46095 Change 3492046 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492076 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492165 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492222 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492274 by Michael.Dupuis #jira UE-46105: Fixed Clang warning Change 3492338 by andrew.porter QAGame: Testing ensure when submitting Change 3492371 by Nick.Darnell UMG - Reverting the animation sharing, cossed GLEO regressions in cooking. Will look for a better solution. Change 3492462 by Matt.Kuhlenschmidt Fix ensure checking in files through perforce Change 3492491 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492505 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3492517 by Jamie.Dale The package localization ID is no longer used at all at runtime, and is now truly editor-only This should have always been the case, but it was leaked into manifest/archives/PO files in 4.14, and while 4.15 removed it from PO files it was still present in the manifest/archives. This change removes it entirely (unless gathering editor-only data, and even then the PO file will still collapse the entries together for translation), and the deprecated 4.14 export behavior will now produce an error if you attempt to use it. After taking this change you'll need to run a gather, import, and compile of your LocRes files to update your game localization to use the new localization IDs. Change 3492630 by Nick.Darnell UMG - Removing some extra cleanup code that's probably overkill and is causing a crash for uses of "Within" in class meta. #jira UE-46124 Change 3492692 by Matt.Kuhlenschmidt Fix drop shadows inheriting the outline color of the font. The outline should still appear but not have a different outline color from fill color Change 3492714 by Matt.Kuhlenschmidt Added outline with drop shadow to font automation test Change 3492737 by Matt.Kuhlenschmidt Fix linux Change 3492992 by tim.gautier Resaving Ocean Widget Blueprints / Sequences to resolve Legacy Sequence Data warnings #jira UE-46132 Change 3493089 by Jamie.Dale Ensure that the composite font of a font asset is flushed when the font object is GC'd Change 3493322 by Jamie.Dale Fixing null crash #jira UE-45758 Change 3494467 by Andrew.Rodham Fix Xbox warning Change 3494852 by tim.gautier QAGame: Changed streaming method of QA-EditorSmoke-Landscape to Always Loaded Change 3494853 by Nick.Darnell Another attempt at fixing the automation blueprint SA warning. Change 3494896 by Arciel.Rekman Fix possible null pointer access during Vulkan init. - May fix static analysis warnings in UE-46142, although warnings seem to be referring to something else. #jira UE-46142 Change 3494987 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3495010 by Matt.Kuhlenschmidt Adding additional logging to track down html5 issue Change 3495212 by Michael.Dupuis #jira UE-46143: Properly init the InstanceRenderData during the cooking phase (required by fortnite) Change 3495536 by Jamie.Dale Updating UGameEngine to call its Super::PreExit after performing its own teardown This prevents UEngine cleaning up resources that UGameEngine still needs. #jira UE-46159 Change 3495551 by Arciel.Rekman Another attempt to fix analyzer problem (UE-46142). Change 3495794 by Jamie.Dale Fixing some font cooking warnings by splitting out font faces from their font assets #jira UE-45843 Change 3495905 by Matt.Kuhlenschmidt Fix USD crash when importing a meshwith no material [CL 3499771 by Matt Kuhlenschmidt in Main branch]
2017-06-19 20:27:30 -04:00
}
}
if (UpdatableTextures[Type] != nullptr)
{
// Note that with more recent versions of CEF, the DirtyRects will always contain a single element, as it merges all dirty areas into a single rectangle before calling OnPaint
// In case that should change in the future, we'll simply update the entire area if DirtyRects is not a single element.
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
FIntRect Dirty = (DirtyRects.size() == 1) ? FIntRect(DirtyRects[0].x, DirtyRects[0].y, DirtyRects[0].x + DirtyRects[0].width, DirtyRects[0].y + DirtyRects[0].height) : FIntRect();
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
if (Type == PET_VIEW && BufferedVideo.IsValid() )
{
// If we're using bufferedVideo, submit the frame to it
bNeedsRedraw = BufferedVideo->SubmitFrame(Width, Height, Buffer, Dirty);
}
else
{
UpdatableTextures[Type]->UpdateTextureThreadSafeRaw(Width, Height, Buffer, Dirty);
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
HandleRenderingError();
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
if (Type == PET_POPUP && bShowPopupRequested)
{
bShowPopupRequested = false;
bPopupHasFocus = true;
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
const float DPIScale = FPlatformApplicationMisc::GetDPIScaleFactorAtPoint(PopupPosition.X, PopupPosition.Y);
FIntPoint PopupSize = FIntPoint(Width / DPIScale, Height / DPIScale);
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
FIntRect PopupRect = FIntRect(PopupPosition, PopupPosition + PopupSize);
OnShowPopup().Broadcast(PopupRect);
}
bNeedsRedraw = true;
}
}
bIsInitialized = true;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
if (bNeedsRedraw)
{
NeedsRedrawEvent.Broadcast();
}
}
void FCEFWebBrowserWindow::OnAcceleratedPaint(CefRenderHandler::PaintElementType Type, const CefRenderHandler::RectList& DirtyRects, void* SharedHandle)
{
bool bNeedsRedraw = false;
if (!bUsingAcceleratedPaint)
{
UE_LOG(LogWebBrowser, Error, TEXT("Accelerated CEF rendering NOT selected but OnAcceleratedPaint called. Enabling accelerated rendering for this browser window."));
bUsingAcceleratedPaint = true;
if (UpdatableTextures[Type] != nullptr)
{
if (FSlateRenderer* const Renderer = GetRenderer())
{
Renderer->ReleaseUpdatableTexture(UpdatableTextures[Type]);
HandleRenderingError();
UpdatableTextures[Type] = nullptr;
}
}
}
#if PLATFORM_MAC
// an IOSurface backs the handle here and its texture is automatically updated if changed, so we only need to
// update our texture if the backing handle itself changed
if (LastPaintedSharedHandle == SharedHandle)
return;
LastPaintedSharedHandle = SharedHandle;
#endif
FIntRect Dirty = (DirtyRects.size() == 1) ? FIntRect(DirtyRects[0].x, DirtyRects[0].y, DirtyRects[0].x + DirtyRects[0].width, DirtyRects[0].y + DirtyRects[0].height) : FIntRect();
if (UpdatableTextures[Type] == nullptr)
{
if (FSlateRenderer* const Renderer = GetRenderer())
{
if (RHIRenderHelper)
{
UpdatableTextures[Type] = RHIRenderHelper->CreateTexture(SharedHandle);
}
else
{
UpdatableTextures[Type] = Renderer->CreateSharedHandleTexture(SharedHandle);
}
Dirty = FIntRect(); // force a fully copy when we make a new texture
HandleRenderingError();
}
}
if (UpdatableTextures[Type] != nullptr)
{
#if PLATFORM_WINDOWS
if (RHIRenderHelper)
{
RHIRenderHelper->UpdateSharedHandleTexture(SharedHandle, UpdatableTextures[Type], Dirty.Scale(ViewportDPIScaleFactor));
}
else
{
UpdatableTextures[Type]->UpdateTextureThreadSafeWithKeyedTextureHandle(SharedHandle, 1, 0, Dirty.Scale(ViewportDPIScaleFactor));
}
#else
UpdatableTextures[Type]->UpdateTextureThreadSafeWithKeyedTextureHandle(SharedHandle, 1, 0, Dirty.Scale(ViewportDPIScaleFactor));
#endif
bNeedsRedraw = true;
if (Type == PET_POPUP && bShowPopupRequested)
{
bShowPopupRequested = false;
bPopupHasFocus = true;
const float DPIScale = FPlatformApplicationMisc::GetDPIScaleFactorAtPoint(PopupPosition.X, PopupPosition.Y);
FIntPoint PopupSize = FIntPoint(UpdatableTextures[Type]->GetSlateResource()->GetWidth() / DPIScale, UpdatableTextures[Type]->GetSlateResource()->GetHeight() / DPIScale);
FIntRect PopupRect = FIntRect(PopupPosition, PopupPosition + PopupSize);
OnShowPopup().Broadcast(PopupRect);
}
}
bIsInitialized = true;
if (bNeedsRedraw)
{
NeedsRedrawEvent.Broadcast();
}
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
void FCEFWebBrowserWindow::UpdateVideoBuffering()
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
{
if (BufferedVideo.IsValid() && UpdatableTextures[PET_VIEW] != nullptr )
{
FSlateTextureData* SlateTextureData = BufferedVideo->GetNextFrameTextureData();
if (SlateTextureData != nullptr )
{
UpdatableTextures[PET_VIEW]->UpdateTextureThreadSafeWithTextureData(SlateTextureData);
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
HandleRenderingError();
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916) #lockdown nick.penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3006483 on 2016/06/08 by Simon.Tovey Fix for UE-31653 Instance params from the Spawn, Required and TypeData modules were not being autopopulated. Change 3006514 on 2016/06/08 by Zabir.Hoque MIGRATING FIX @ Request Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction. #CodeReview: Marcus.Wassmer, Daniel.Wright Change 3006605 on 2016/06/08 by Rolando.Caloca DR - vk - Remove a bunch of unused code, clean up some todos Change 3006969 on 2016/06/08 by HaarmPieter.Duiker Add #ifdefs around inverse tonemapping to avoid performance hit in normal use Change 3007240 on 2016/06/09 by Chris.Bunner Made a pass at fixing global shader compile warnings and errors. Change 3007242 on 2016/06/09 by Chris.Bunner Don't force unlit mode when re-loading a map. #jira UE-31247 Change 3007243 on 2016/06/09 by Chris.Bunner Cache InvalidLightmapSettings material for instanced meshes. #jira UE-31182 Change 3007258 on 2016/06/09 by Chris.Bunner Fixed refractive depth bias material parameter. Change 3007466 on 2016/06/09 by Rolando.Caloca DR - Use vulkan debug marker extension directly from header Change 3007504 on 2016/06/09 by Martin.Mittring added refresh button to ImageVerifier Change 3007528 on 2016/06/09 by Martin.Mittring ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end make render more deterministic Change 3007551 on 2016/06/09 by Chris.Bunner Reverted constant type change in previous commit. Change 3007559 on 2016/06/09 by Martin.Mittring updated ImageValidator Change 3007584 on 2016/06/09 by Rolando.Caloca DR - Fix case when not running under RD Change 3007668 on 2016/06/09 by Rolando.Caloca DR - vk - Split layers/extensions by required/optional Change 3007820 on 2016/06/09 by Rolando.Caloca DR - Android compile fix Change 3007926 on 2016/06/09 by Martin.Mittring fixed UI scaling in ImageVerifyer Change 3007931 on 2016/06/09 by John.Billon -Fixed cutouts not working for certain sized texture/subUV size combinations. -Also fixed issue with subUV module not being postloaded consistently on startup. #Jira UE-31583 Change 3008023 on 2016/06/09 by Martin.Mittring refactor noise code in shaders Change 3008127 on 2016/06/09 by Zabir.Hoque Merging back hot fixes: 1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS. 2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself. Change 3008129 on 2016/06/09 by Daniel.Wright Disabled r.ProfileGPU.PrintAssetSummary by default due to spam Change 3008169 on 2016/06/09 by Rolando.Caloca DR - Fix mobile rendering not freeing resource when using RHI thread Change 3008429 on 2016/06/09 by Uriel.Doyon Enabled texture streaming new metrics. Added progress bar while texture streaming is being built. Added debug shader validation to prevent crashes when there are uniform expression set mismatches. Added texture streaming build to "Build All" Change 3008436 on 2016/06/09 by Uriel.Doyon Fixed shipping build Change 3008833 on 2016/06/10 by Rolando.Caloca DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications Submitted by Allar PR #1864 #jira UE-24545 Change 3008842 on 2016/06/10 by Rolando.Caloca DR - Remove vertex densities view mode Change 3008857 on 2016/06/10 by John.Billon Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching. Change 3008870 on 2016/06/10 by Rolando.Caloca DR - Rebuild hlslcc libs (missing from last merge) Change 3008925 on 2016/06/10 by John.Billon Fixed r.ScreenPercentage.Editor #Jira UE-31549 Change 3009028 on 2016/06/10 by Daniel.Wright Shadow depth refactor * Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame * This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading * The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed * A large amount of duplicated code to handle each shadow type has been combined * Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency * 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures Change 3009032 on 2016/06/10 by Daniel.Wright Fixed crash with simple forward shading in the material editor Change 3009178 on 2016/06/10 by Rolando.Caloca DR - Add support for multi callbacks on HlslParser, added a write to string callback Change 3009268 on 2016/06/10 by Daniel.Wright Warning fixes Change 3009416 on 2016/06/10 by Martin.Mittring moved decal rendering code in common spot for upcoming MeshDecal rendering Change 3009433 on 2016/06/10 by John.Billon Adding ensures for translucency lighting volume render target acesses. #Jira UE-31578 Change 3009449 on 2016/06/10 by Daniel.Wright Fixed whole scene point light shadow depths getting rendered redundantly Change 3009675 on 2016/06/10 by Martin.Mittring fixed Clang compiling Change 3009815 on 2016/06/10 by Martin.Mittring renamed IsUsedWithDeferredDecal to IsDeferredDecal to be more correct Change 3009946 on 2016/06/10 by Martin.Mittring minor optimization Change 3010270 on 2016/06/11 by HaarmPieter.Duiker Update gamut transformations used when dumping EXRs to account for bug UE-29935 Change 3011423 on 2016/06/13 by Martin.Mittring fixed default of bOutputsVelocityInBasePass #code_review:Rolando.Caloca #test:PC Change 3011448 on 2016/06/13 by Martin.Mittring minor engine code cleanup #code_review:Olaf.Piesche #test:PC Change 3011991 on 2016/06/13 by Daniel.Wright Fixed downsampled translucency crash in VR Change 3011993 on 2016/06/13 by Daniel.Wright Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely' Mobility tooltips now reflect whether a primitive component or light component is being inspected Change 3012096 on 2016/06/13 by Daniel.Wright Missing file from cl 3011993 Change 3012546 on 2016/06/14 by John.Billon Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled #Jira OR-23282 Change 3012706 on 2016/06/14 by John.Billon Renamed r.ContactShadows.Enable to r.ContactShadows Change 3012992 on 2016/06/14 by Rolando.Caloca DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled - Added support for CustomPresent Change 3013030 on 2016/06/14 by Rolando.Caloca DR - vk - Fix dev issue Change 3013423 on 2016/06/14 by Martin.Mittring removed code redundancy for easier upcoming changes #test:PC Change 3013451 on 2016/06/14 by Martin.Mittring removed no longer needed debug cvar #test:PC Change 3013643 on 2016/06/14 by Zabir.Hoque Fix API only being inlined in the cpp and not avaialble in the .h Change 3013696 on 2016/06/14 by Olaf.Piesche Adding missing quality level spawn rate scaling on GPU emitters Change 3013736 on 2016/06/14 by Daniel.Wright Cached shadowmaps for whole scene point and spot light shadows * Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights) * Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving * Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached * Cached shadowmaps are copied each frame and then movable primitive depths composited * Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap) * 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness) * 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights) Change 3014103 on 2016/06/15 by Daniel.Wright Compile fix Change 3014507 on 2016/06/15 by Simon.Tovey Resurrected Niagara playground and moved to Samples/NotForLicencees Change 3014931 on 2016/06/15 by Martin.Mittring moved r.RenderInternals code into renderer to be able to access more low level data #test:PC, paragon Change 3014933 on 2016/06/15 by Martin.Mittring nicer text Change 3014956 on 2016/06/15 by Daniel.Wright Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD) Change 3014985 on 2016/06/15 by Uriel.Doyon Enabled Texture Build shaders on Mac Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping. Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets #jira UE-30566 #jira UE-31098 Change 3014995 on 2016/06/15 by Rolando.Caloca DR - vk - Removed RHI thread wait on acquire image - Move Descriptor pool into context Change 3015002 on 2016/06/15 by Rolando.Caloca DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine Change 3015041 on 2016/06/15 by Martin.Mittring fixed ImageValidator crashing when using files that exist only in ref or test folder Change 3015309 on 2016/06/15 by Rolando.Caloca DR - vk - Enable fence re-use on SDKs >= 1.0.16.0 Change 3015356 on 2016/06/15 by Rolando.Caloca DR - vk - Prep for staging buffer refactor Change 3015430 on 2016/06/15 by Martin.Mittring minor optimization for subsurfacescatteringprofile Change 3016097 on 2016/06/16 by Simon.Tovey Enabling Niagara by default in the Niagara playground Change 3016098 on 2016/06/16 by Simon.Tovey Some misc fixup to get niagara working again Change 3016183 on 2016/06/16 by Rolando.Caloca DR - vk - Recreate buffer view for volatile buffers Change 3016225 on 2016/06/16 by Marcus.Wassmer Duplicate reflection fixes from 4.12 hotfixes. Change 3016289 on 2016/06/16 by Chris.Bunner Always gather MP_Normal definitions as they can be shared by other material properties. #jira UE-31792 Change 3016294 on 2016/06/16 by Daniel.Wright Fix for ensure accessing CVarCacheWPOPrimitives in game Change 3016305 on 2016/06/16 by Daniel.Wright Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been Change 3016330 on 2016/06/16 by Daniel.Wright Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light Stats for shadowmap memory used under 'stat shadowrendering' Change 3016506 on 2016/06/16 by Daniel.Wright Fixed crash building map in SunTemple due to null access Change 3016703 on 2016/06/16 by Uriel.Doyon Fixed warning due to floating point imprecision when building texture streaming Change 3016718 on 2016/06/16 by Daniel.Wright Volume lighting samples use adaptive sampling final gather * Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting) Change 3016871 on 2016/06/16 by Max.Chen Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation. Copy from Dev-Sequencer #jira UE-32093 Change 3017189 on 2016/06/16 by Zabir.Hoque Fix GBuffer format selection type-o. #CodeReview: Marcus.Wassmer Change 3017241 on 2016/06/16 by Martin.Mittring optimized and cleaned up rendering in transluceny, distortion, custom mesh drawing #code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden Change 3017856 on 2016/06/17 by Rolando.Caloca DR - Missing GL enum Change 3017910 on 2016/06/17 by Ben.Woodhouse - Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates - Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24) #RB:Keli.Hloedversson,Martin.Mittring Change 3018126 on 2016/06/17 by Ben.Woodhouse Fix build warning on Mac #RB:David.Hill Change 3018167 on 2016/06/17 by Chris.Bunner Handle case when float4 is passed to TransformPosition material node. #jira UE-24980 Change 3018246 on 2016/06/17 by Benjamin.Hyder Submitting Preliminary ShadowRefactor TestMap Change 3018330 on 2016/06/17 by Benjamin.Hyder labeled ShadowRefactor map Change 3018377 on 2016/06/17 by Chris.Bunner Removed additional node creation when initializing a RotateAboutAxis node. #jira UE-8034 Change 3018433 on 2016/06/17 by Rolando.Caloca DR - Fix some clang warnings on Vulkan Change 3018664 on 2016/06/17 by Martin.Mittring unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812) #test:PC #code_review:Marcus.Wassmer,Brian.Karis Change 3019023 on 2016/06/19 by Benjamin.Hyder Re-Labeled ShadowRefactor map Change 3019024 on 2016/06/19 by Benjamin.Hyder Correcting Translucent Volume (Non-Directional) settings Change 3019026 on 2016/06/19 by Benjamin.Hyder Correcting Lighting ShadowRefactor map Change 3019414 on 2016/06/20 by Allan.Bentham Refactor mobile shadows Change 3019494 on 2016/06/20 by Gil.Gribb Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering) Change 3019504 on 2016/06/20 by John.Billon -Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk. -Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints. -Created a small common interface for blueprints and the editor itself to use for exporting. #Jira UE-31429 Change 3019561 on 2016/06/20 by Gil.Gribb UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager. Change 3019616 on 2016/06/20 by Rolando.Caloca DR - Replicate change in DevRendering to fix splotches on characters with morph targets Change: 3019599 O - Fix flickering on heroes with morph targets Change 3019627 on 2016/06/20 by Rolando.Caloca DR - Doh! Compile fix Change 3019674 on 2016/06/20 by Simon.Tovey Ripped out the quick hacky VM debugger I wrote a while back. Over complicated the VM and didn't do enough work to justify it. Will revisit debugging and profiling of VM scripts in future. Change 3019691 on 2016/06/20 by Ben.Woodhouse Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed. This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs). #RB:Martin.Mittring, Daniel.Wright Change 3019741 on 2016/06/20 by John.Billon Fixed compile error on mac. Change 3019984 on 2016/06/20 by Martin.Mittring minor optimization Change 3020172 on 2016/06/20 by Zachary.Wilson Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none Change 3020195 on 2016/06/20 by Zachary.Wilson Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none Change 3020196 on 2016/06/20 by Rolando.Caloca DR - Appease static analysis Change 3020231 on 2016/06/20 by Zachary.Wilson Making basic shapes consistent distance field resolution scale. #rb: none Change 3020468 on 2016/06/20 by David.Hill CameraWS UE-29146 Change 3020502 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee Camera for RenderOutputValidation Change 3020508 on 2016/06/20 by Benjamin.Hyder Adding AutomationMatinee for RenderOutputValidation Change 3020514 on 2016/06/20 by Benjamin.Hyder Setting Autoplay for AutomationMatinee (sequence) Change 3020561 on 2016/06/20 by Daniel.Wright Removed outdated comment on uniform expression assert Change 3021268 on 2016/06/21 by Daniel.Wright Scaled sphere intersection for indirect capsule shadows * Fixes the discontinuity when capsule axis points close to the light direction * GPU cost is effectively the same (more expensive to compute, but tighter culling) Change 3021325 on 2016/06/21 by Daniel.Wright Split ShadowRendering.cpp into ShadowDepthRendering.cpp Change 3021355 on 2016/06/21 by Daniel.Wright Fixed RTDF shadows (broken by shadowmap caching) Change 3021444 on 2016/06/21 by Daniel.Wright Fixed crash due to Depth drawing policy not using the default material shader map properly Change 3021543 on 2016/06/21 by Daniel.Wright Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns Change 3021749 on 2016/06/21 by Daniel.Wright Moved RenderBasePass and dependencies into BasePassRendering.cpp Moved RenderPrePass and dependencies into DepthRendering.cpp Change 3021766 on 2016/06/21 by Benjamin.Hyder Adding 150dynamiclights level to Dev-Folder Change 3021971 on 2016/06/21 by Daniel.Wright Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation * TLM_SurfacePerPixelLighting now behaves like TLM_Surface Change 3022760 on 2016/06/22 by Chris.Bunner Merge fixup. Change 3022911 on 2016/06/22 by Rolando.Caloca DR - Added r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders Change 3023037 on 2016/06/22 by Rolando.Caloca DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed Change 3023139 on 2016/06/22 by Daniel.Wright Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled Change 3023231 on 2016/06/22 by Daniel.Wright Only allowing opaque per-object shadows or CSM in the mobile renderer Change 3023415 on 2016/06/22 by Daniel.Wright Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target Change 3024888 on 2016/06/23 by Daniel.Wright Fixed preshadows being rendered redundantly with multiple lights Change 3025119 on 2016/06/23 by Martin.Mittring added MeshDecal content to RenderTest Change 3025122 on 2016/06/23 by Martin.Mittring enabled DBuffer for RenderTest Change 3025153 on 2016/06/23 by Marc.Olano Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10. Needed to use world space without shader offsets, not absolute world space. Change 3025180 on 2016/06/23 by Marc.Olano Use translated world space for particle centers. Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables. Change 3025265 on 2016/06/23 by David.Hill Bilbords translucent during PIE - lighting model was incorrectly set in gbuffer #jira UE-26165 Change 3025269 on 2016/06/23 by Ryan.Brucks Adding new Testmap for Pixel Depth Offset velocities with Temporal AA Change 3025345 on 2016/06/23 by Benjamin.Hyder Submitting MeshDecal Content Change 3025444 on 2016/06/23 by Benjamin.Hyder updating content for MeshDecal Change 3025491 on 2016/06/23 by Benjamin.Hyder Updating DecalMesh Textures Change 3025802 on 2016/06/23 by Martin.Mittring added to readme Change 3026475 on 2016/06/24 by Rolando.Caloca DR - Show current state of r.RHIThread.Enable when not using param Change 3026479 on 2016/06/24 by Rolando.Caloca DR - Upgrade glslang to 1.0.17.0 Change 3026480 on 2016/06/24 by Rolando.Caloca DR - Vulkan headers to 1.0.17.0 Change 3026481 on 2016/06/24 by Rolando.Caloca DR - Vulkan wrapper for extra logging Change 3026491 on 2016/06/24 by Rolando.Caloca DR - Missed file Change 3026574 on 2016/06/24 by Rolando.Caloca DR - vk - Enabled fence reuse on 1.0.17.0 - Added more logging info Change 3026656 on 2016/06/24 by Frank.Fella Niagara - Prevent sequencer uobjects from being garbage collected. Change 3026657 on 2016/06/24 by Benjamin.Hyder Updating Rendertestmap to latest Change 3026723 on 2016/06/24 by Rolando.Caloca DR - Fix for ES3.1 RHIs Change 3026784 on 2016/06/24 by Martin.Mittring New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on) Change 3026866 on 2016/06/24 by Olaf.Piesche #jira OR-18363 #jira UE-27780 fix distortion in particle macro uvs [CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00
}
}
}
#if PLATFORM_WINDOWS
bool FCEFWebBrowserWindow::LoadCustomCEF3Cursor(cef_cursor_type_t Type)
{
// generated from the ui_unscaled_resources.h file in a CEF build
#define IDC_PAN_EAST 25846
#define IDC_PAN_MIDDLE 25847
#define IDC_PAN_MIDDLE_HORIZONTAL 25848
#define IDC_PAN_MIDDLE_VERTICAL 25849
#define IDC_PAN_NORTH 25850
#define IDC_PAN_NORTH_EAST 25851
#define IDC_PAN_NORTH_WEST 25852
#define IDC_PAN_SOUTH 25853
#define IDC_PAN_SOUTH_EAST 25854
#define IDC_PAN_SOUTH_WEST 25855
#define IDC_PAN_WEST 25856
HINSTANCE CEF3ModuleHandle = (HINSTANCE)CEF3Utils::GetCEF3ModuleHandle();
if (CEF3ModuleHandle != nullptr)
{
HCURSOR customCursor = 0;
switch (Type) {
case CT_MIDDLE_PANNING_HORIZONTAL:
customCursor = LoadCursor(CEF3ModuleHandle, MAKEINTRESOURCE(IDC_PAN_MIDDLE_HORIZONTAL));
break;
case CT_MIDDLE_PANNING_VERTICAL:
customCursor = LoadCursor(CEF3ModuleHandle, MAKEINTRESOURCE(IDC_PAN_MIDDLE_VERTICAL));
break;
case CT_MIDDLEPANNING:
customCursor = LoadCursor(CEF3ModuleHandle, MAKEINTRESOURCE(IDC_PAN_MIDDLE));
break;
case CT_SOUTHPANNING:
customCursor = LoadCursor(CEF3ModuleHandle, MAKEINTRESOURCE(IDC_PAN_SOUTH));
break;
case CT_NORTHPANNING:
customCursor = LoadCursor(CEF3ModuleHandle, MAKEINTRESOURCE(IDC_PAN_NORTH));
break;
case CT_EASTPANNING:
customCursor = LoadCursor(CEF3ModuleHandle, MAKEINTRESOURCE(IDC_PAN_EAST));
break;
case CT_WESTPANNING:
customCursor = LoadCursor(CEF3ModuleHandle, MAKEINTRESOURCE(IDC_PAN_WEST));
break;
case CT_NORTHEASTPANNING:
customCursor = LoadCursor(CEF3ModuleHandle, MAKEINTRESOURCE(IDC_PAN_NORTH_EAST));
break;
case CT_NORTHWESTPANNING:
customCursor = LoadCursor(CEF3ModuleHandle, MAKEINTRESOURCE(IDC_PAN_NORTH_WEST));
break;
case CT_SOUTHEASTPANNING:
customCursor = LoadCursor(CEF3ModuleHandle, MAKEINTRESOURCE(IDC_PAN_SOUTH_EAST));
break;
case CT_SOUTHWESTPANNING:
customCursor = LoadCursor(CEF3ModuleHandle, MAKEINTRESOURCE(IDC_PAN_SOUTH_WEST));
break;
}
if (customCursor)
{
TSharedPtr<ICursor> PlatformCursor = FSlateApplication::Get().GetPlatformCursor();
if (PlatformCursor.IsValid())
{
PlatformCursor->SetTypeShape(EMouseCursor::Custom, (void*)customCursor);
Cursor = EMouseCursor::Custom;
::SetCursor(customCursor);
}
return true;
}
}
return false;
}
#endif
bool FCEFWebBrowserWindow::OnCursorChange(CefCursorHandle CefCursor, cef_cursor_type_t Type, const CefCursorInfo& CustomCursorInfo)
{
switch (Type) {
// Map the basic 3 cursor types directly to Slate types on all platforms
case CT_NONE:
Cursor = EMouseCursor::None;
break;
case CT_POINTER:
Cursor = EMouseCursor::Default;
break;
case CT_IBEAM:
Cursor = EMouseCursor::TextEditBeam;
break;
#if PLATFORM_WINDOWS || PLATFORM_MAC
default:
// Platform specific support for native cursor types
{
#if PLATFORM_WINDOWS
// check if we have a cursor in libcef.dll we can use
if (LoadCustomCEF3Cursor(Type))
return true;
#endif
Copying //UE4/Portal-Staging to //UE4/Dev-Main (Source: //Portal/Main @ 3216504) #lockdown Nick.Penwarden #rb no one ========================== MAJOR FEATURES + CHANGES ========================== Change 3216141 on 2016/11/30 by Justin.Sargent Completed first ready to use pass of the new AutomationDriver module and new Spec test type. Change 3213288 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Removing deprecation of IWebBrowserSingleton::SetJSBindingToLoweringEnabled for now. Change 3212796 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Added SetJSBindingToLoweringEnabled to IWebBrowserSingleton so that the to-lowering of binding names can be disabled. Deprecated SetJSBindingToLoweringEnabled since 4.15. In future the to-lowering will always occurr. Adding GetBindingName helper to FWebJSScripting, which returns a to-lowered name for a UField, unless disabled. Updated all current binding code to use GetBindingName when building from UObjects/UStructs. This affects Windows, Mac, Linux, and Android. Portal currently disables to-lowering unless a commandline -LowercaseJS is provided. Change 3200370 on 2016/11/16 by Richard.Fawcett Ensure we always get the latest version of the user content catalog when promoting marketplace items. Change 3192974 on 2016/11/10 by Leigh.Swift #jira OPP-6365: Crash during shutdown if a manifest is still being downloaded This is because of the OnPreExit core delegate being used to null out the Data uobject member on a manifest, also being the only sensible way to ensure threads complete in a safe and clean manner. Refactoring BuildPatchServices manifest class to not permanently hold any UObject and simply just use one while serialising. This removes the reliance on the OnPreExit delegate from manifest class, making it generally safer behaviour for shutdown. Change 3187028 on 2016/11/04 by Leigh.Swift PortalPublishingTool: Adding UE_Main app to UnrealEngine project Change 3186788 on 2016/11/04 by Richard.Fawcett Change C# wrapper for BuildPatchTool patch generation to prevent clobbering manifest files by default, unless we specifically pass in an optional flag to allow this. #jira OPP-6355 Change 3186779 on 2016/11/04 by Richard.Fawcett Add support to automation tool testing framework for the following assertions: Assert.AreNotEqual(a, b, optionalFailureMessage) Assert.ThrowsError(actionToCarryOut, expectedExceptionType, optionalExceptionMessageContainsString) Moved attribute-based expected exception declarations to their own attribute, TestThrowsExceptionAttribute, which can now accept an optional parameter for a string which should be contained within the exception message. Fixed a bug where a test method with an attribute-based expected exception would not count towards the success total if the exception was encountered as expected. Fixed a bug where NOT throwing an exception when we were expecting one would count as a success. Added an internal property bDoNotLogTestFailsAsError which we can set to true to suppress logging of UAT errors when a test fails (but still count them in our failure results), to allow us to deliberately cause test failures to test the test framework! Added a suite of unit tests for the test framework itself, in TestRunner.Automation.Tests.cs. Change 3185411 on 2016/11/03 by Richard.Fawcett Allow Rocket_PromoteBuild changelist to be overridden by a changelist read from a file. Change 3184843 on 2016/11/03 by Richard.Fawcett Ensure catalog file synced during user content generation is always the latest one. Change 3184752 on 2016/11/03 by Richard.Fawcett Ensure we log reading changelist from specified file. Change 3184744 on 2016/11/03 by Richard.Fawcett Ensure directory is created for Changelist file if it doesn't already exist. Change 3184738 on 2016/11/03 by Richard.Fawcett Ensure we use latest CL from all of Perforce when generating build versions for user content Because of the nature of the build farm, where separate parts of the job are executed on different build agents at different times, this changelist is serialized to the filesystem during execution of a node dedicated to this task, and then made available to all future nodes, so that they're working with a consistent build version. In the case of an execution where we're updating Perforce with new content, this calculation of the changelist occurs AFTER we've updated Perforce with the new content. Have also optimized the build graph scripts to enable Mac and Windows user generated content to execute simultaneously. #jira OPP-6274 Change 3181456 on 2016/11/01 by Andrew.Brown SExpandable area has been modified as the Portal settings mocks weren't able to be achieved with default functionality. Added BodyBorderImage arguement and BodyBorderBackgroundColor attribute so we can specify a different brush/color to use for the expanded area compared with the title area. Additional care was made to ensure that rounded corners still appear correctly if the developer doesn't want to specify a different look to the body. Added AreaTitlePadding attribute, to be able to specify padding between the expand/collapse icon and the header content. Added MinWidth arguement, to ensure that the areas meet a minimum width requirement. Change 3181285 on 2016/11/01 by Richard.Fawcett Ensure user content generated using latest changelist submitted to Perforce, rather than using portal's latest changelist #jira OPP-6274 Change 3177758 on 2016/10/28 by Leigh.Swift #jira OPP-6247: Portal needs Social Plugin integration v1.2 Copying //Portal/Dev-Social to Dev-Main (//Portal/Dev-Main) Change 3175889 on 2016/10/26 by Wes.Fudala Web browser tooltips will no longer continue to appear when the mouse leaves the browser window. #jira: OPP-5895 The Mouseover info in Recent Additions (Marketplace) anchors itself to the mouse pointer over other Browser windows rb: Justin.Sargent Change 3171388 on 2016/10/22 by Leigh.Swift #jira OPP-6343: Launcher crashes patching from 2.12.13 Main to 2.12.13 Release-Live BPS: FBuildPatchAppManifest needs to listen for FCoreDelegates::OnPreExit in order to clean up references to it's UObject which is about to be destroyed. Change 3170373 on 2016/10/21 by Leigh.Swift #jira: OPP-6340: Portal builds fail on audit nodes. Reducing platform regex to only match pre-defined possibilities. [CL 3219291 by Justin Sargent in Main branch]
2016-12-02 13:27:02 -05:00
TSharedPtr<ICursor> PlatformCursor = FSlateApplication::Get().GetPlatformCursor();
if (PlatformCursor.IsValid())
{
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 3279756) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3229490 on 2016/12/09 by Cody.Albert Integrated fix to support named changelists in SVN Change 3229574 on 2016/12/09 by Simon.Tourangeau Fix actor mobility getting changed on scene reimport #jira UE-39102 Change 3229692 on 2016/12/09 by Cody.Albert Fixing an XML Parser assert when parsing a root tag that completes on the same line. #jira UE-30393 Change 3230582 on 2016/12/12 by Matt.Kuhlenschmidt PR #3024: Correct the outdated error message instructions for how to fix being unable to launch on an iOS device. (Contributed by CleanCut) Change 3231470 on 2016/12/12 by Matt.Kuhlenschmidt Eliminate editor sounds that play when you PIE, simulate or possess the player. They get in the way of game sounds, are annoying to hear when you are constantly starting and stopping pie, and flush async loading that the game might be doing when they load. Change 3231475 on 2016/12/12 by Alex.Delesky #jira UE-39023 - Using the High Resolution screenshot tool with the "custom depth as mask" option checked should no longer crash the editor or a PIE viewport when the screen percentage is not set to 100. Change 3231476 on 2016/12/12 by Alex.Delesky #jira UE-39380 - Thumbnails for static meshes in the foliage paint mode window should now update to show the correct mesh if the thumbnail pool has been exhausted. This also increases the number of foliage thumbnals that can exist onscreen at once. Change 3231477 on 2016/12/12 by Alex.Delesky #jira none - Extending the IPluginWizardDefinition interface to allow it to return the descriptor type of the plugin. This fixes a merge conflict from Odin where the new plugin wizard was modified to allow for multiple template selection. Change 3231479 on 2016/12/12 by Alex.Delesky #jira UE-39376 - Changing the number of players or changing the dedicated server options in PIE settings should now always persist on editor shutdown. Change 3231480 on 2016/12/12 by Alex.Delesky #jira UE-39417 - A texture will now match to update a dropped in file if the source path differs from that of the dropped in file Change 3231508 on 2016/12/12 by Alex.Delesky Removing todo comment #jira none Change 3231603 on 2016/12/12 by Matt.Kuhlenschmidt Exposed a 0-1 UV set and the scaled pixel size for Box and Border brushes Also added a material function that exposes all of the current UV sets with nice names instead of indexed coordinates Change 3231618 on 2016/12/12 by Alex.Delesky #jira UE-38732 - When editing a spin box with a delta value, committing the value with the Enter key and then clearing the focus from the spin box will no longer change the internal value to match the snapped value. Change 3231638 on 2016/12/12 by Matt.Kuhlenschmidt Add RF_Transactional to the list of default flags for creating or importing new assets. All should be transactional by default Change 3231642 on 2016/12/12 by Matt.Kuhlenschmidt Brighten up the output log by default Change 3231648 on 2016/12/12 by Alex.Delesky #jira UE-38033 - Selecting a Named Slot that's part of a widget in a Widget Switcher will now show that widget instead of the widget at index 0. This also applies to any content set inside the named slot. Change 3231666 on 2016/12/12 by Alex.Delesky #jira UE-38952 - Widgets that have been copied and pasted into the same hierarchy will now retain the same name in the hierarchy. This does not fix widgets that have been previously copied and pasted from other widgets, nor copies of those widgets. Change 3231674 on 2016/12/12 by Alex.Delesky #jira UE-37106 - When using or simulating touch for Widget Components, the hover/clicked state will now be accurately determined rather than showing hover on initial touch. Change 3231745 on 2016/12/12 by Alex.Delesky Back out changelist 3231477 to fix build error C2259 Change 3232417 on 2016/12/13 by Simon.Tourangeau Add the following attributes to the Editor.Usage.FBX.Import EngineAnalytics event - FBX Version - Filename Hash - Import Type #jira UE-37453 Change 3232477 on 2016/12/13 by Michael.Dupuis #jira UE-39675 : There was an issue when the Neutral Value == the Min or Max value, so we simply prevent using the concept of neutral value if min or max == neutral as it mean you only want a log on one side. Change 3232571 on 2016/12/13 by Alex.Delesky Back out changelist 3231745 #jira none - Extending the IPluginWizardDefinition interface to allow it to return the descriptor type of the plugin. This fixes a merge conflict from Odin where the new plugin wizard was modified to allow for multiple template selection. Change 3232675 on 2016/12/13 by Alexis.Matte Fix a crash when reordering material with a fbx containing unused materials, add a fbx automation test to prevent similar issue. #jira UE-39692 Change 3232975 on 2016/12/13 by Alex.Delesky Fix to build error C2259 for the IPluginWizardDefinition API change. Change 3233146 on 2016/12/13 by Michael.Dupuis #jira UE-38766 : Added eye dropper to select flatten height Fixed a rounding errors resulting in not flattening to the specified height Fixed a rounding error resulting in LandscapeDataAccess::GetTexHeight not always returning the appropriate value Change 3233153 on 2016/12/13 by Alexis.Matte We cannot anymore change the instance override materials array topology, the topology is limited by the mesh materials array #jira UE-38827 Change 3234406 on 2016/12/14 by Matt.Kuhlenschmidt Fix window handle and device context being accessed by scene viewports after the underlying window has been destroyed by the OS. This is an invalid state on linux and using some vr devices. #jira UE-7388 Change 3234485 on 2016/12/14 by Michael.Dupuis tentative build fix for Mac Change 3234495 on 2016/12/14 by Matt.Kuhlenschmidt Made a setting to control if PIE enter and exit sounds are played. Off by default Change 3236709 on 2016/12/15 by Simon.Tourangeau Fix camera export rotation offset #jira UE-34692 #jira UE-39740 Change 3236782 on 2016/12/15 by Jamie.Dale Fixed EmitTermExpr failing to use the correct package ID FBPTerminal::Source used to be set to the pin, however when pins were moved away from being UObjects, FBPTerminal::SourcePin was added and FBPTerminal::Source is typically null. Change 3236853 on 2016/12/15 by Alexis.Matte Fix the serialization of the staticmesh property FMeshSectionInfoMap Change 3236890 on 2016/12/15 by Matt.Kuhlenschmidt Remove old define Change 3239328 on 2016/12/18 by Richard.TalbotWatkin Fixed Focus Viewport action in Static Mesh Viewport. Problem was that the conversion to Orbit Camera for storing the camera position was trashing the desired position during cvamera transitions. Orbit camera position is now only stored at the end of a transition. #jira UE-39825 - Key "F" for Focus acts Sporadically in the Static Mesh Editor Viewport Change 3239660 on 2016/12/19 by Alex.Delesky #jira UE-38968, UE-36826 - Components attached to actors can now be directly scaled to negative values using the transform gizmo for that component. Change 3239662 on 2016/12/19 by Alex.Delesky #jira UE-39007 - The data table row editor now contains a Reset to Default control. Change 3239663 on 2016/12/19 by Alex.Delesky #jira UE-39698 - Importing CSV files will now show the name of the file in the import dialog. Change 3240696 on 2016/12/20 by Michael.Dupuis #jira UETOOL-1009: Added paddiing to columns view Added auto resize of column when double clicking on splitter handle in the header Remove right number alignment after discussion with Matt K. Change 3240758 on 2016/12/20 by Michael.Dupuis added missing non abstract implementation Change 3240782 on 2016/12/20 by Michael.Dupuis Added missing documentation for content browser column auto resizing Change 3240817 on 2016/12/20 by Alex.Delesky #jira UE-38940 - Copying a Material-Custom node with a tab character should now correctly render the tab. Change 3240834 on 2016/12/20 by Michael.Dupuis tentative fix for build error Change 3240984 on 2016/12/20 by Michael.Dupuis Removed unnecessary functions Change 3241174 on 2016/12/20 by Matt.Kuhlenschmidt Fix compile errors Change 3241966 on 2016/12/21 by Chris.Wood Fixed Typo and changed execution order in "ComboBoxString" Component [UE-38994] - GitHub 2971 : Fixed Typo and changed execution order in "ComboBoxString" Component PR #2971: Fixed Typo and changed execution order in "ComboBoxString" Component (Contributed by eXifreXi) #github https://github.com/EpicGames/UnrealEngine/pull/2971 Change 3242126 on 2016/12/21 by Alexis.Matte Back out changelist 3236853 We have to back out this change list because the change was implement in the 4.15 release branch and the EditorObjectVersion.h change is now implement in the ReleaseObjectVersion.h. Change 3244492 on 2017/01/02 by Jamie.Dale Improved error message Change 3244545 on 2017/01/02 by Nick.Darnell Navigation - Making it so we don't attempt to load HotReload during shutdown, we only access it if it's still loaded. Change 3244549 on 2017/01/02 by Nick.Darnell Slate - Implementing custom hardware cursor loading across Windows, Mac and Linux and supports loading cursors from PAK files. All platforms support loading PNGs through the FHardwareCursor interface. Some platforms support additional formats, for multiresolution support, but there's a naming convention that can be used on PNGs for the same capability. All of it is documented in the FHardwareCursor header. The platform layer for ICursor, now has support for replacing cursor shapes as an override, and can be reset safely. The FHardwareCursor supports loading cursors from raw pixel buffers as well, the plan is to allow for the option to UTextures to also be used for hardware cursors. Now users through C++ can load and replace the hardware cursors with custom ones of their own, e.g. FSlateApplication::Get().RegisterCursor(EMouseCursor::Default, MakeShareable(new FHardwareCursor(FPaths::GameContentDir() / "Slate/FancyPointer", FIntPoint(0,0)))); The next step is to expose a game friendly layer that supports caching cursors, and letting users change them out by name, without a bunch of destruction of OS resources. Change 3244845 on 2017/01/03 by Jamie.Dale Fixing typo #jira UE-39920 Change 3244903 on 2017/01/03 by Jamie.Dale PR #3044: fix link error when FAssetData::PrintAssetData() is used in project (Contributed by kayama-shift) Change 3245125 on 2017/01/03 by Alexis.Matte Put back the dev-editor version because there was some data create before we back it out Change 3246106 on 2017/01/04 by Chris.Wood Removed broken CrashReportReciever pre-upload phase from CrashReportClient. [UE-40153] - CrashReportClient fails when used in legacy mode with a CrashReportReciever Change 3246251 on 2017/01/04 by Alex.Delesky #jira UE-39869 - Moving an asset before saving it and then hitting Save All from the file menu will no longer save the asset in its original location. Change 3246252 on 2017/01/04 by Alex.Delesky #jira UE-39793 - Fixes an issue with the AutoReimporter where specifying a non-existent mount point (a directory in the content browser) would cause a crash when attempting to auto-import an asset from a monitored directory, as well as ensuring that valid mount points will be able to create new assets from auto-import. The "Map Directory To" field when setting directories to monitor for auto-reimport has also been changed to use the content browser path picker instead of relying on the user to manually enter a mount point. Change 3247620 on 2017/01/05 by Nick.Darnell Automation - Removing an adjustment to the number of shots we take for high res shots. Change 3247621 on 2017/01/05 by Nick.Darnell Automation - Adding a few more rendering tests to the cornell box. Change 3247629 on 2017/01/05 by Nick.Darnell Automation - Improving the comparison row display for screenshots so it's obvious what each image represents. Change 3248811 on 2017/01/05 by Matt.Kuhlenschmidt PR #3091: Removed unnecessary UPackage casts (Contributed by projectgheist) Change 3248860 on 2017/01/06 by Matt.Kuhlenschmidt Made the plugin browser select the "built in" category by default instead of the 2D category. There is no reason for a sub-category to be selected first as it makes searching for plugins globally an extra click because you have to click on the base category first Change 3249264 on 2017/01/06 by Matt.Kuhlenschmidt Fixed automation test warnings #jira UE-40198 Change 3249481 on 2017/01/06 by Michael.Dupuis #jira UE-37875 : Fill empty layers of components on assignation or creation Also fill new component added with the tool from neighbours predominance Change 3249505 on 2017/01/06 by Matt.Kuhlenschmidt PR #3093: Include guard cleanup (Contributed by projectgheist) Change 3249544 on 2017/01/06 by Michael.Dupuis #jira UE-40299: validate if UISettings is valid Change 3250738 on 2017/01/09 by Nick.Darnell UMG - The WIC now checks if the Widget is enabled before it claims that it's over an interactable or keyboard focusable widget. #jira UE-39845 Change 3250865 on 2017/01/09 by Nick.Darnell Slate - Updating EAutoCenter and ESizingRule to use the newer enum class style enums. Change 3250867 on 2017/01/09 by Nick.Darnell Slate - Adding more logging to the hardware cursor code so that it reports more information when it doesn't find an exact match when it comes to cursor size. Change 3250936 on 2017/01/09 by Nick.Darnell Automation - Refactoring the screenshot comparison tool to no longer require one one generated report. Doing screenshot comparions now generates individual reports for each failed comparison so that they can be evaluated in bits, and as changes occur as the user reviews aspects, we can remove the reports. There is now async image loading for the comparison view so that it doesn't hitch. Change 3250937 on 2017/01/09 by Nick.Darnell Automation - Adding another example to the CornellBox test. Change 3250958 on 2017/01/09 by Nick.Darnell Slate - Fixing some other cases where people were referring to ESizingRule::Type. Change 3251162 on 2017/01/09 by Nick.Darnell Slate - Fixing some other cases where people were referring to ESizingRule::Type. Change 3251254 on 2017/01/09 by Matt.Kuhlenschmidt Attempt to fix static analysis warnings Change 3251373 on 2017/01/09 by Nick.Darnell Core - Now writing a log warning instead of ensuring if calling LoadModule wouldn't have been safe to do here, depending on load order. Change 3251525 on 2017/01/09 by Nick.Darnell Automation - Fixing a build issue in ImageComparer. Change 3252321 on 2017/01/10 by Alex.Delesky #jira UE-40164 - Importing multiple files to overwrite existing assets such as sounds will now correctly persist the "Yes to All" / "No to All" dialog selections. Change 3252354 on 2017/01/10 by Nick.Darnell Image Compare - Fixing a potential threading hazard in the image comparer. Change 3252356 on 2017/01/10 by Nick.Darnell Automation - The screenshot metadata now captures the commit/CL that the screenshot was taken at and records it in the metadata. Change 3252601 on 2017/01/10 by Alexis.Matte Fbx automation test, reload feature implementation Change 3252761 on 2017/01/10 by Jamie.Dale Fixing some IWYU errors with PCH disabled Change 3252765 on 2017/01/10 by Jamie.Dale Fixing some static analysis warnings Change 3252793 on 2017/01/10 by Jamie.Dale Fixing FText natvis The text data visualizers have to be defined before the text visualizer Change 3253987 on 2017/01/11 by Matt.Kuhlenschmidt PR #3108: Git Plugin: use asynchronous "MarkForAdd" and "CheckIn" operations for the initial commit (Contributed by SRombauts) Change 3254378 on 2017/01/11 by Matt.Kuhlenschmidt Refactor scene importing to allow for plugins to make scene importers Change 3254679 on 2017/01/11 by Matt.Kuhlenschmidt Fix calling LoadModule in perforce source control off the main thread Change 3256472 on 2017/01/12 by Jamie.Dale Improved error reporting from IncludeTool - The error reporting was using zero-based line indices which was misleading. - The error reporting now includes the offending line to remove ambiguity. Change 3256725 on 2017/01/13 by Jamie.Dale IncludeTool can now parse typedef in Fwd headers Change 3256758 on 2017/01/13 by Jamie.Dale Added support for String Tables String Tables provide a way to centralize your localized text into one (or several) known locations, and then reference the entries within a string table from other assets or code in a robust way that allows for easy re-use of localized text. String Tables can be defined in C++ (using the LOCTABLE family of macros), loaded via CSV file, or created as an asset. They can be referenced in C++ using either the LOCTABLE macro, or the static FText::FromStringTable function. INI files can reference them using the LOCTABLE macro syntax, and FText properties in assets can reference them via the advanced settings combo. Change 3257018 on 2017/01/13 by Alexis.Matte FbxAutomationTest fix the import reload operation, it was calling garbagecollect with no keep flag Change 3257168 on 2017/01/13 by Jamie.Dale Removed code that was writing null into bytecode during save Change 3257344 on 2017/01/13 by Jamie.Dale Backing out changelist 3256725, and excluding my header from the scan instead Change 3257426 on 2017/01/13 by Nick.Darnell Slate - Adding the ability to invert alpha when drawing slate textures. Going to be used in the future for rendering render targets for the scene which have inverted alpha. Change 3257572 on 2017/01/13 by Nick.Darnell Slate - Fixing a build error. Change 3257970 on 2017/01/14 by Jamie.Dale Fixing exclude path Change 3258458 on 2017/01/16 by Matt.Kuhlenschmidt PR #3135: GameViewportClient: FOnCloseRequested is now a multicast delegate (Contributed by Nadrin) Change 3258472 on 2017/01/16 by Matt.Kuhlenschmidt PR #3126: Fix to load editor style assets (Contributed by projectgheist) Change 3258473 on 2017/01/16 by Matt.Kuhlenschmidt PR #3124: Fix wrong result with Image-DrawAsBox with PaperSprite. (Contributed by valval88) Change 3258539 on 2017/01/16 by Nick.Darnell Slate - Pixel Snapping has been moved to the GPU for the RHI rendering policy. Additionally, widgets with a render transform of Scale, Rotation or Sheer, and their children are no longer pixel snapped, this should reduce some of jittering seen by users when animations are applied to widgets. NOTE: This only affects render transforms, any transform in layout space is still subject to pixel snapping. Change 3258607 on 2017/01/16 by Nick.Darnell Fixing the mac build. Change 3258661 on 2017/01/16 by Matt.Kuhlenschmidt Actors with experimental components no longer say "Uses experimental class: Actor" when selecting the actor root in the details panel #jira UE-40535 Change 3258678 on 2017/01/16 by Nick.Darnell Platform - Introducing a way to get the mimetype for a file on Windows. Other platforms don't yet have an implementation outside of returning application/unknown. Change 3258924 on 2017/01/16 by Nick.Darnell Platform - Implementing a fallback for the generic platform http, that can do some basic mimetype lookups. Change 3258929 on 2017/01/16 by Nick.Darnell UMG - Fixing the animation to finish the evaluation before it notifies that the animation completed. Change 3259109 on 2017/01/16 by Nick.Darnell Platform - The GetMimeType function now only takes in FilePath, since some platforms will require that actually resolve to a file on disk in order to determine the true mimetype. Change 3259111 on 2017/01/16 by Alexis.Matte Avoid to move the camera when we re-import in the static mesh editor #jira UE-40613 Change 3259275 on 2017/01/16 by Matt.Kuhlenschmidt Fix crash when a slate window is resized and calls into a scene viewport during loading code when the scene viewport is not in a slate hierarchy and thus has no widget Change 3259300 on 2017/01/16 by Nick.Darnell UMG - Introducing PreConstruct and NativePreConstruct to the base UUserWidget. Users can now visualize non-binding based changes in the designer by evaluating a very limited amount of the blueprint code. In the event your user widget crashes on load, due to calling something unsafe, you can disable evaluation in the editor preferences under Widget Designer. Change 3259306 on 2017/01/16 by Nick.Darnell Games - Removing the Game Specific implementations of PreConstruct. Change 3260182 on 2017/01/17 by Matt.Kuhlenschmidt Fix static analysis Change 3261049 on 2017/01/17 by Nick.Darnell Slate - Putting in some fixes for the non-gpu pixel snapping mode, and disabling gpu snapping while we dig into why it looks weird. Change 3261434 on 2017/01/17 by Nick.Darnell Fixing the mac build. Change 3261435 on 2017/01/17 by Nick.Darnell Slate - Tweaking some aspects of the slate rounding code on the GPU. There's still some precision loss somewhere causing subtle differences in where the snap occurs, that's different from previously. Change 3261460 on 2017/01/17 by Nick.Darnell UMG - Tweaking the defintiions of NativePreConstruct, dropping passing in design time since that is readily available in native code. Change 3261833 on 2017/01/18 by Alexis.Matte Fix all warning for fbx automation tests #jira UE-40208 Change 3261874 on 2017/01/18 by Matt.Kuhlenschmidt PR #3136: Fix Submit to Source Control Window for Git plugin : use CanCheckIn() to filter out unmodified assets files (Contributed by SRombauts) Change 3262000 on 2017/01/18 by Jamie.Dale Updated Slate to allocate widgets using MakeShared This saves one allocation per-widget Change 3262003 on 2017/01/18 by Nick.Darnell UMG - Widget Interaction Components now ignore Visible(false) Widget Components when tracing. #jira UE-40523 Change 3262052 on 2017/01/18 by Alexis.Matte Put back the staticmesh skinxx workflow #jira UE-40782 Change 3262775 on 2017/01/18 by Nick.Darnell Slate - Ditching moving vertex rounding to the GPU, some precision issues could not be overcome. Ended up writing a clean way to implement it on the CPU. Change 3262818 on 2017/01/18 by Alex.Delesky #jira UE-40668 - Editor preferences will now save for data pin styles Change 3263679 on 2017/01/19 by Nick.Darnell Slate - Adding some comments to the Slate Vertex Rounder. Change 3265154 on 2017/01/19 by Nick.Darnell Slate/UMG - Putting in some more time into pixel snapping. I've re-introduced the old constructors, and decided to go with the templated approach, as to not break old code that relied on the FSlateVertex working a certain way. Change 3265478 on 2017/01/20 by Chris.Wood Added config support for hang detection time and switching hang detection on/off in UnrealWatchdog [UE-40838] - Make hang time configurable and increase default in UnrealWatchdog Change 3265600 on 2017/01/20 by Nick.Darnell Slate - Making some const local variables const. Change 3265714 on 2017/01/20 by Alex.Delesky #jira UE-40791 - The ForceFeedback thumbnail's Play and Stop icons will now render correctly, and will only be visible while an effect is playing or when the cursor hovers over the icon. Change 3265865 on 2017/01/20 by Alex.Delesky #jira UE-40511 - The Content Browser file path will now update when inside a folder that is deleted from the Sources Panel. Change 3267989 on 2017/01/23 by Jamie.Dale Exposed String Tables to Blueprints Change 3268018 on 2017/01/23 by Jamie.Dale Small API clean-up for string tables Change 3268455 on 2017/01/23 by Matt.Kuhlenschmidt Fix SaveAs (Which says SaveCurrentAs) not saving the current level and only saving the persistent level and then reloading everything thus causing work to be lost if editing a sub-level #jira UE-40930 Change 3269388 on 2017/01/24 by Chris.Wood Refactored tick timing in UnrealWatchdog to stop bug where it doesn't close. [UE-40839] - UnrealWatchdog running and blocking use of Unreal Game Sync for internal users Standalone tool code only - doesn't touch engine Change 3270205 on 2017/01/24 by Cody.Albert Updated FUnrealEdMisc::OnMessageTokenActivated to properly traverse up the outer hierarchy of an object. Change 3270231 on 2017/01/24 by Cody.Albert Renamed and exposed GetFullScreenAlignment and GetViewportAnchors for consistency with the setters Change 3271734 on 2017/01/25 by Michael.Dupuis #jira UE-38631 Add sorting for landscape target layer, user can now sort alphabetical, material based or custom Added a new vertical box SDragNDropVerticalBox to handle drag & drop of FSlot Fixed SDropTarget to only consider the drop action if it was started by it Added visibility toggle to only show used layers in the currently loaded data Change 3271797 on 2017/01/25 by Jamie.Dale Renamed HasBeenAlreadyMadeSharable to DoesSharedInstanceExist as the old name was nonsense Change 3271813 on 2017/01/25 by Jamie.Dale Fixed bad access of a shared this during widget destruction when a context menu was open Change 3271988 on 2017/01/25 by Nick.Darnell Slate - Removing some old checkbox deprecated code from the 4.3 and 4.6 days. Change 3271992 on 2017/01/25 by Nick.Darnell Blueprints - Making the checked call better to log out more information when dragging and dropping a missing property. Change 3272134 on 2017/01/25 by Jamie.Dale Updated the GatherText commandlet to no longer hold a ConfigFile pointer while it runs This pointer is internal to GConfig, and may be updated (or invalidated) when other config files are loaded (as can happen via game code while gathering text). Change 3272301 on 2017/01/25 by Nick.Darnell Slate - More cleanup from the removal of a old legacy enum that people were still using. Change 3273070 on 2017/01/26 by Chris.Wood Fix CIS errors in landscape code from CL 3271734 Change 3273123 on 2017/01/26 by Chris.Wood Fix crash during init of CRC when running packaged without access to main engine config hierarchy. Change 3273194 on 2017/01/26 by Nick.Darnell Fixing some build warnings. Change 3273242 on 2017/01/26 by Michael.Dupuis #jira UE-39948 : if we detect there is multiple levels in the current persistent when we add a new foliage asset we ask to save the foliage as an asset to permit paiting over multiple levels Change 3273279 on 2017/01/26 by Jamie.Dale String Table INI redirects are now in the "Core.StringTable" section (rather than "/Script/Engine.Engine") Change 3273483 on 2017/01/26 by Alex.Delesky #jira UE-32047 - Made changes to the FixupRedirects commandlet to ensure that files that are marked for delete are moved from the default changelist to the pending changelist and submitted when using Perforce. Also makes a slight change to the ResavePackages commandlet to submit files marked for delete. Change 3273568 on 2017/01/26 by Alex.Delesky Modifying changes made to SPluginWizard to have the plugin loading phase determined by the wizard's definition rather than from the first selected template. #jira none Change 3273855 on 2017/01/26 by Alex.Delesky #jira UE-41117 - Updating the tooltip on the "Allow Paint of all LODs" option for mesh paint mode. Change 3274200 on 2017/01/26 by Alex.Delesky For IPluginWizardDefinition, temporarily adding function bodies to two methods instead of having them be pure virtual methods. Change 3274317 on 2017/01/26 by Jamie.Dale Deleting a seemingly corrupted asset that was accidentially submitted Change 3275072 on 2017/01/27 by Michael.Dupuis #jira UE-38631 tweaks Fix typo error Iterate all components, not only active one Force expand the Target Layers widget Change 3275249 on 2017/01/27 by Alexis.Matte Color grading controls: Keep the vector ratio when changing the master slider #jira UETOOL-1098 Change 3275282 on 2017/01/27 by Alexis.Matte Color grading controls: Cosmetic changes #jira UETOOL-1099 Change 3275292 on 2017/01/27 by Alexis.Matte Make sure the build is called once when we import a staticmesh. #jira UE-40947 Change 3275430 on 2017/01/27 by Alexis.Matte Add some fbx automation tests - Import a mesh with no material - Import corrupted asset with no section in a LOD - Import morph targets - Materials name clash - Max Multimap material ordering Change 3275683 on 2017/01/27 by Michael.Dupuis #jira UE-41215 : when saving an asset do not register the transaction, and make sure that the duplicate wont keep a copy in the transaction buffer as an asset can't be undo Change 3276237 on 2017/01/27 by Jamie.Dale Deleting a seemingly corrupted asset that was accidentially submitted Change 3276266 on 2017/01/27 by Jamie.Dale Fix for accessing a potentially null pointer Change 3277065 on 2017/01/30 by Chris.Wood Move crash report temp files to saved config and cleanup on schedule. [UE-39506] - CrashReportClient ini folders are not cleaned when opening the editor Change 3277236 on 2017/01/30 by Matt.Kuhlenschmidt Fix crash when cancelling SaveCurrentLevelAs #jira UE-41182 Change 3277409 on 2017/01/30 by Jamie.Dale Improved text rendering when the last resort font is missing The last resort font is no longer included in shipping builds, so this change makes some improvements to text rendering when it's missing. - The legacy font cache no longer tries to use the last resort font if it's not available (preventing warnings). - The Slate font renderer no longer tries to use the last resort font if it's not available. - Text shaping will use the last resort character if none of the available fonts can render a given character (likely because the last resort font is missing). - HarfBuzz shaped text now uses the fallback character correctly. Change 3277749 on 2017/01/30 by Nick.Darnell Slate - Moving ESlateDrawEffect & ESlateBatchDrawFlag over to be enum class, found cases where users were improperly assuming the enum order, and so now it won't be possible to just treat an int32 or a bool as the draw effect value. Core - Adding EnumHasAllFlags and EnumHasAnyFlags, templated functions to make it easier to check for the existance of a flag on enum classes. Change 3277805 on 2017/01/30 by Nick.Darnell Rendering - Changing some LoadModuleChecked calls to GetModuleChecked, as these calls are not happening on the main thread and are not safe to make. Change 3277914 on 2017/01/30 by Matt.Kuhlenschmidt Fix Niagara slate style warning on startup Change 3278058 on 2017/01/30 by Matt.Kuhlenschmidt Fixed compile error Change 3278132 on 2017/01/30 by Nick.Darnell Fixed compile error Change 3278133 on 2017/01/30 by Matt.Kuhlenschmidt Fixed compile errors Change 3278186 on 2017/01/30 by Nick.Darnell Fixed compile error Change 3278525 on 2017/01/30 by Nick.Darnell Fixed compile error Change 3278534 on 2017/01/30 by Nick.Darnell Automation - Clearing up several warnings/errors with automation results, trying to get Automation Tests to at least yellow before integration. Change 3278941 on 2017/01/31 by Nick.Darnell Fixing a build warning due to build team refactor. Change 3278949 on 2017/01/31 by Nick.Darnell Fixing incrmenetal build issues. Change 3278953 on 2017/01/31 by Nick.Darnell Fixing some incrmental linux build issues. Change 3278964 on 2017/01/31 by Nick.Darnell FIxing more incremental build issues. Change 3279256 on 2017/01/31 by Michael.Dupuis #jira UE-41319 #jira UE-41315 #jira UE-41316 Instead of getting the Landscape Actor, call GetLandscapeProxy so all case are handled, either proxy or landscape actor Change 3279270 on 2017/01/31 by Chad.Garyet re-updating the automation test pool [CL 3279775 by Matt Kuhlenschmidt in Main branch]
2017-01-31 15:22:49 -05:00
PlatformCursor->SetTypeShape(EMouseCursor::Custom, (void*)CefCursor);
Copying //UE4/Portal-Staging to //UE4/Dev-Main (Source: //Portal/Main @ 3216504) #lockdown Nick.Penwarden #rb no one ========================== MAJOR FEATURES + CHANGES ========================== Change 3216141 on 2016/11/30 by Justin.Sargent Completed first ready to use pass of the new AutomationDriver module and new Spec test type. Change 3213288 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Removing deprecation of IWebBrowserSingleton::SetJSBindingToLoweringEnabled for now. Change 3212796 on 2016/11/29 by Leigh.Swift #jira OPP-6353: CEF FName Javascript PROBLEM Added SetJSBindingToLoweringEnabled to IWebBrowserSingleton so that the to-lowering of binding names can be disabled. Deprecated SetJSBindingToLoweringEnabled since 4.15. In future the to-lowering will always occurr. Adding GetBindingName helper to FWebJSScripting, which returns a to-lowered name for a UField, unless disabled. Updated all current binding code to use GetBindingName when building from UObjects/UStructs. This affects Windows, Mac, Linux, and Android. Portal currently disables to-lowering unless a commandline -LowercaseJS is provided. Change 3200370 on 2016/11/16 by Richard.Fawcett Ensure we always get the latest version of the user content catalog when promoting marketplace items. Change 3192974 on 2016/11/10 by Leigh.Swift #jira OPP-6365: Crash during shutdown if a manifest is still being downloaded This is because of the OnPreExit core delegate being used to null out the Data uobject member on a manifest, also being the only sensible way to ensure threads complete in a safe and clean manner. Refactoring BuildPatchServices manifest class to not permanently hold any UObject and simply just use one while serialising. This removes the reliance on the OnPreExit delegate from manifest class, making it generally safer behaviour for shutdown. Change 3187028 on 2016/11/04 by Leigh.Swift PortalPublishingTool: Adding UE_Main app to UnrealEngine project Change 3186788 on 2016/11/04 by Richard.Fawcett Change C# wrapper for BuildPatchTool patch generation to prevent clobbering manifest files by default, unless we specifically pass in an optional flag to allow this. #jira OPP-6355 Change 3186779 on 2016/11/04 by Richard.Fawcett Add support to automation tool testing framework for the following assertions: Assert.AreNotEqual(a, b, optionalFailureMessage) Assert.ThrowsError(actionToCarryOut, expectedExceptionType, optionalExceptionMessageContainsString) Moved attribute-based expected exception declarations to their own attribute, TestThrowsExceptionAttribute, which can now accept an optional parameter for a string which should be contained within the exception message. Fixed a bug where a test method with an attribute-based expected exception would not count towards the success total if the exception was encountered as expected. Fixed a bug where NOT throwing an exception when we were expecting one would count as a success. Added an internal property bDoNotLogTestFailsAsError which we can set to true to suppress logging of UAT errors when a test fails (but still count them in our failure results), to allow us to deliberately cause test failures to test the test framework! Added a suite of unit tests for the test framework itself, in TestRunner.Automation.Tests.cs. Change 3185411 on 2016/11/03 by Richard.Fawcett Allow Rocket_PromoteBuild changelist to be overridden by a changelist read from a file. Change 3184843 on 2016/11/03 by Richard.Fawcett Ensure catalog file synced during user content generation is always the latest one. Change 3184752 on 2016/11/03 by Richard.Fawcett Ensure we log reading changelist from specified file. Change 3184744 on 2016/11/03 by Richard.Fawcett Ensure directory is created for Changelist file if it doesn't already exist. Change 3184738 on 2016/11/03 by Richard.Fawcett Ensure we use latest CL from all of Perforce when generating build versions for user content Because of the nature of the build farm, where separate parts of the job are executed on different build agents at different times, this changelist is serialized to the filesystem during execution of a node dedicated to this task, and then made available to all future nodes, so that they're working with a consistent build version. In the case of an execution where we're updating Perforce with new content, this calculation of the changelist occurs AFTER we've updated Perforce with the new content. Have also optimized the build graph scripts to enable Mac and Windows user generated content to execute simultaneously. #jira OPP-6274 Change 3181456 on 2016/11/01 by Andrew.Brown SExpandable area has been modified as the Portal settings mocks weren't able to be achieved with default functionality. Added BodyBorderImage arguement and BodyBorderBackgroundColor attribute so we can specify a different brush/color to use for the expanded area compared with the title area. Additional care was made to ensure that rounded corners still appear correctly if the developer doesn't want to specify a different look to the body. Added AreaTitlePadding attribute, to be able to specify padding between the expand/collapse icon and the header content. Added MinWidth arguement, to ensure that the areas meet a minimum width requirement. Change 3181285 on 2016/11/01 by Richard.Fawcett Ensure user content generated using latest changelist submitted to Perforce, rather than using portal's latest changelist #jira OPP-6274 Change 3177758 on 2016/10/28 by Leigh.Swift #jira OPP-6247: Portal needs Social Plugin integration v1.2 Copying //Portal/Dev-Social to Dev-Main (//Portal/Dev-Main) Change 3175889 on 2016/10/26 by Wes.Fudala Web browser tooltips will no longer continue to appear when the mouse leaves the browser window. #jira: OPP-5895 The Mouseover info in Recent Additions (Marketplace) anchors itself to the mouse pointer over other Browser windows rb: Justin.Sargent Change 3171388 on 2016/10/22 by Leigh.Swift #jira OPP-6343: Launcher crashes patching from 2.12.13 Main to 2.12.13 Release-Live BPS: FBuildPatchAppManifest needs to listen for FCoreDelegates::OnPreExit in order to clean up references to it's UObject which is about to be destroyed. Change 3170373 on 2016/10/21 by Leigh.Swift #jira: OPP-6340: Portal builds fail on audit nodes. Reducing platform regex to only match pre-defined possibilities. [CL 3219291 by Justin Sargent in Main branch]
2016-12-02 13:27:02 -05:00
Cursor = EMouseCursor::Custom;
}
}
break;
#else
// Map to closest Slate equivalent on platforms where native cursors are not available.
case CT_VERTICALTEXT:
Cursor = EMouseCursor::TextEditBeam;
break;
case CT_EASTRESIZE:
case CT_WESTRESIZE:
case CT_EASTWESTRESIZE:
case CT_COLUMNRESIZE:
Cursor = EMouseCursor::ResizeLeftRight;
break;
case CT_NORTHRESIZE:
case CT_SOUTHRESIZE:
case CT_NORTHSOUTHRESIZE:
case CT_ROWRESIZE:
Cursor = EMouseCursor::ResizeUpDown;
break;
case CT_NORTHWESTRESIZE:
case CT_SOUTHEASTRESIZE:
case CT_NORTHWESTSOUTHEASTRESIZE:
Cursor = EMouseCursor::ResizeSouthEast;
break;
case CT_NORTHEASTRESIZE:
case CT_SOUTHWESTRESIZE:
case CT_NORTHEASTSOUTHWESTRESIZE:
Cursor = EMouseCursor::ResizeSouthWest;
break;
case CT_MOVE:
case CT_MIDDLEPANNING:
case CT_EASTPANNING:
case CT_NORTHPANNING:
case CT_NORTHEASTPANNING:
case CT_NORTHWESTPANNING:
case CT_SOUTHPANNING:
case CT_SOUTHEASTPANNING:
case CT_SOUTHWESTPANNING:
case CT_WESTPANNING:
Cursor = EMouseCursor::CardinalCross;
break;
case CT_CROSS:
Cursor = EMouseCursor::Crosshairs;
break;
case CT_HAND:
Cursor = EMouseCursor::Hand;
break;
case CT_GRAB:
Cursor = EMouseCursor::GrabHand;
break;
case CT_GRABBING:
Cursor = EMouseCursor::GrabHandClosed;
break;
case CT_NOTALLOWED:
case CT_NODROP:
Cursor = EMouseCursor::SlashedCircle;
break;
default:
Cursor = EMouseCursor::Default;
break;
#endif
}
// Tell Slate to update the cursor now
FSlateApplication::Get().QueryCursor();
return false;
}
bool FCEFWebBrowserWindow::OnBeforeBrowse( CefRefPtr<CefBrowser> Browser, CefRefPtr<CefFrame> Frame, CefRefPtr<CefRequest> Request, bool user_gesture, bool bIsRedirect )
{
if (InternalCefBrowser != nullptr && InternalCefBrowser->IsSame(Browser))
{
CefRefPtr<CefFrame> MainFrame = InternalCefBrowser->GetMainFrame();
if (MainFrame.get() != nullptr)
{
if(OnBeforeBrowse().IsBound())
{
Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4362408) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 4125165 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4124306 to //UE4/Dev-Console/... Change 4136060 by Marcin.Undak Editor: fixed device unclaiming #jira UE-58464 Change 4190321 by Marcin.Undak Linux: fixes for automation and RecordPerformance #jira UE-61053 Change 4199010 by Marcin.Undak Linux: remove unnecessary -g option Change 4201876 by Marcin.Undak First implementation of WebM media player for Windows and Linux Change 4201922 by Marcin.Undak Whitelisted WebMem plugin only for Windows and Linux Change 4202203 by Marcin.Undak WebM build fixes Change 4223102 by Marcin.Undak Vulkan: console commands for testing device lost #jira UE-61789 Change 4225028 by Marcin.Undak WebMMedia: disabled on Linux until fixed compilation issues Change 4231444 by David.Harvey UI - Fixing where the virtual cursor renders. It doesn't correctly take into account DPI scale, which isn't apparent except on the Xbox One. Integrate as edit from CL 4166648. #jira UE-62115 Change 4233057 by Marcin.Undak TestPAL: added new test for string allocation size Change 4234649 by Marcin.Undak Linux: switched linux plaform to 16bit wide strings Change 4235253 by Marcin.Undak TestPAL: compilation fix for platforms that don't use DirectoryWatcher Change 4235477 by Marcin.Undak Linux: re-enabled WebMMedia plugin Change 4242242 by Marcin.Undak WebMMediaPlayer: implemented proper format retrieving. MediaFrameworkTest now works. Change 4243321 by Marcin.Undak WebMPlayer: static code analisys fix Change 4243505 by Marcin.Undak MediaFrameworkTest: added WebM video for testing Change 4244646 by Marcin.Undak WebMMedia: improved concurrency Change 4244735 by Arciel.Rekman Vulkan: skip unnecessary transitions properly (UE-62348, merge). (Edigrating CL 4244274 from Release-4.20) Change 4246685 by Arciel.Rekman PhysX: remove Cygwin from %PATH% on Windows as it confuses CMake (UE-62326). Change 4247808 by Marcin.Undak WebMMediaPlayer: added support for seeking Change 4254841 by Marcin.Undak WebM: module dependencies fix Change 4255124 by laz.matech Updated UMG_AllPaletterWidgets' combo box to include options so that when selected, the dropdown presents 2 options instead of it appearing like it is broken #jira none Change 4256415 by Marcin.Undak WebM: added missing editor module Change 4256716 by Arciel.Rekman Make SetReuseAddr() also set SO_REUSEPORT where available (UE-57076). - Pull request #4617 by malavon. #jira UE-57076 Change 4266049 by Marcin.Undak Linux: UnrealLightmass and CrashReportClient compilation fixes #jira UE-62521 #jira UE-62522 Change 4266678 by Arciel.Rekman Merge speculative commit to get aligned pointer on mmap(). (Edigrating CL 4225330) Change 4267998 by Anthony.Bills Fix DBufferC clear color due to bad merge. #jira UE-62649 Change 4269441 by Marcin.Undak GenericPlatformStrings::VarArgs() implemented %-*s, %lu, %z, %h formatting #jira UE-62582 Change 4269712 by Marcin.Undak WebMMediaPlayer: removed LibSimpleWebM Change 4272849 by Marcin.Undak WebMMediaPlayer: fixed re-initialisation Change 4277931 by Arciel.Rekman Linux: switch to Vulkan by default (UE-62807). - Default behavior: attempt Vulkan first, but in case of failure instead of quitting silently fall back to GL, unless -vulkan is passed. - Forcing GL is still possible. Change 4277965 by Arciel.Rekman Fix standalone applications after the Vulkan switch. Change 4277968 by Arciel.Rekman Linux: make CrashReportClient headful (UE-14089). - The -unattended flags keep even a headful CRC usable on the servers. - ldd did not change. Need to check Localization stuff to see if there are any deployment concerns. #jira UE-14089 Change 4279402 by Arciel.Rekman Merge from 4.20.1: Vulkan: log validation errors. Also fix handling of some message types (UE-62628). (Edigrating 4273516 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4279992 by Marcin.Undak Linux: fix SlateViewer compilation #jira UE-62831 Change 4285613 by Arciel.Rekman Vulkan: fix mismatched layout. - I tested with RecordPerformance on InfiltratorDemo and haven't found any impact. Change 4285622 by Arciel.Rekman Merged from 4.20.2: Linux: do not refuse to start if system limits cannot be raised (UE-62515). - Too aggressive behavior, which can break cooking for no valid reason. - If a commandline argument is used, the engine will still treat inability to raise the limits as an error. (Edigrating 4273547 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4293083 by Arciel.Rekman Merging //UE4/Main@4291654 to //UE4/Dev-Console Change 4295297 by Marcin.Undak Vulkan: temporary disable generic pipeline cache saving to prevent crashes #jira UE-62848 Change 4300191 by Arciel.Rekman Delete files added under lowercase directories. Change 4300211 by Arciel.Rekman Re-add files deleted in previous commit under camel-cased paths. Change 4300895 by Arciel.Rekman Linux: fix editor build Change 4303543 by Ben.Marsh Fix compile error for FortGPUTestBed. Change 4305659 by Marcin.Undak [Vulkan][Engine] Update the Vulkan RHI to obey r.VSync (and the vsync and novsync command-line arguments). Change 4222769 by Jason.Stewart@Jason.Stewart_AMD_Dev_Rendering_threadripper-win10 on 2018/07/19 10:55:48 The original implementation ran into a latent thread hazard between the RHI thread and the rendering thread, where the rendering thread would try to use the backbuffer of the swap chain while the swap chain was being recreated (specifically after the swap chain recreation code had released and nulled out the back buffer, but before swap chain creation had actually happened to get a new back buffer). This implementation addresses that issue. This is Tim's code. I'm just submitting it as Tim is currently out of office. Change 4305661 by Marcin.Undak Moved libwebm and libvpx inside WebMMediaPlayer directory Change 4308659 by Marcin.Undak Linux: fixed LLDB visualizers #jira UE-52619 Change 4313650 by Marcin.Undak WebMMediaPlayer: implemented looping Change 4321713 by David.Harvey removed hard-coded platform labels from device output log window in favour of ITargetPlatform::SupportsFeature + updated editor tooltip with correct platform list. https://ec-01.epicgames.net/commander/link/jobDetails/jobs/8641984? Change 4321942 by Brandon.Schaefer Linux: Use the Target RHI list as the default ordering for which RHI is prefered Also update the RHI list in the project settings for our default list #jira UE-59487 #review-4316134 @Arciel.Rekman Change 4322230 by Brandon.Schaefer Treat %lf as %f in GenericWidePlatformString #jira UE-62582 Change 4322392 by Brandon.Schaefer Make sure our fmt size is large enough to check indexes #jira none Change 4322895 by Brandon.Schaefer Actually get the current size of Src as it could have been moved down #jira none Change 4327866 by Brandon.Schaefer Linux: Tell the platform misc what RHI we are using #jira none Change 4328926 by Brandon.Schaefer Linux: Add haptic support for controllers Github PR #4167 (thanks maiself!) #jira UE-51681 Change 4328963 by Arciel.Rekman TestPAL: improve the test by randomizing allocation size. - The range will no longer be constrained to <=128KB at once, allocations can be as big as 16MB but they will unevenly distributed, with smaller sizes being more frequent. Change 4329208 by Arciel.Rekman hlslcc: suppressed benign compiler warning during the Linux build (UE-43988). Change 4329283 by Arciel.Rekman Linux: replace CachedOSPageAllocator with PooledVirtualMemoryAllocator for Linux. For the explanation of FPooledVirtualMemoryAllocator, see PooledVirtualMemoryAllocator.h For the details, test data and comparisons, message Arciel Rekman. Relevant command line args added: -vmapoolscale=<float> (defaults to 1.4) -vmapoolevict -novmapoolevict By default, freed memory will not be evicted from RAM (unless running on a server) Also changed: - Removed the fixed-size pool previously used by Linux (and supporting machinery like scaling it on start) - Replaced the way we manage free blocks from pointers to a bitmap to reduce memory footprint. Change 4331946 by Luke.Thatcher [CONSOLE] [^] (merging CL 4162064) Implement new thread heart beat clock to solve the suspend/resume problem across all platforms. - The hang and hitch detectors now maintain their own clocks which are ticked by their respective threads. - If the title is suspended, the ticking thread will stop and the clock will stop advancing. On resume, the maximum delta in the clock is clamped to a small value, so we ignore all the time the thread was not ticking for (i.e. the duration of the title being suspended). - As such, we don't need any logic for handling PLM suspend/resume in the hang and hitch detectors, so this change removes that too. #jira FORT-96886 Change 4331973 by Luke.Thatcher [CONSOLE] [^] (merging CL 4183499) Add frame-present-based hang detection. - RHIs call FThreadHeartBeat::PresentFrame() whenever they present a frame to the swap chain. - These calls form a separate heartbeat from the thread-based ones, allowing the hang detector to fire if, for example, the game thread is stuck in an async loading loop and is ticking the game thread heartbeat, but making no progress. - Also refactored ThreadHeartBeat.cpp to move hang detection logging into a FORCENOINLINE function. This will put OnHang and OnPresentHang at the top of the callstack in retail crash dumps, making the bucketing easier to recognise. Change 4332200 by Luke.Thatcher [CONSOLE] [+] (merging CL 4227517) Add PlatformDebugData to FShaderResource. - We can use this to store platform specific shader symbols etc. The data gets serialized to the DDC and can be retrieved during a cook. - Data is entirely discarded in cooked builds, and is a no-op on platforms which don't implement support for shader debug data. - Bumped shader version to invalidate DDC keys. Change 4332407 by Luke.Thatcher [CONSOLE] [CORE] [!] (merging CL 4279686) Fixed unaligned integer load macro inconsistencies. - Renamed PLATFORM_SUPPORTS_UNALIGNED_INT_LOADS to PLATFORM_SUPPORTS_UNALIGNED_LOADS - Merged it with REQUIRES_ALIGNED_ACCESS and REQUIRES_ALIGNED_INT_ACCESS - Fixed Linux platform which had both the old macros defined to 1, which is wrong because they are mutually exclusive. Change 4333386 by Luke.Thatcher [CONSOLE] [!] (merging CL 4317367) Fix compile error in AnimationCompression.h Change 4334395 by Arciel.Rekman Corrected PLATFORM_DESKTOP definition. Change 4336190 by Anthony.Bills (Original CL4314280) Use the debug file writer when using framepro. This buffers more data which should reduce stalls when writing out on certain platforms. #jira none Change 4336291 by Anthony.Bills Use a clamped local clock when timing out the renderthread. - This prevents suspend and resume issues on platforms where suspend events may not occur or the system clock is not set to the process time. #jira none Change 4336292 by Anthony.Bills (Orignal CL 4195778) Fix printing of the hang detector multiplier and other logging. "f" is the correct format specifier for a double. #jira none Change 4336307 by Anthony.Bills (Orignal CL 4257875) Use the correct clock when printing the scoped hitch stat. - Needs to be the internal FGameThreadHitchHeartBeat clock incase FPlatformTime::Seconds becomes out of sync with FrameStartTime. #jira none Change 4336321 by Anthony.Bills (Original CL 4258186) Add GetNoInit function to FGameThreadHitchHeartBeat. #jira none Change 4336397 by Anthony.Bills Fix redefinition of macro. #jira none Change 4336738 by Brandon.Schaefer Linux: Add options for ASan, TSan, and UBSan #jira UE-62784 UE-62803 UE-62804 Change 4336791 by Brandon.Schaefer Linux: Add missing xml comments #jira none Change 4336957 by Joe.Barnes Integrate as edit CL#4218145: Convert some of our Vector macros to inline functions as thier names class with 3rd party functions. #jira ue-61733 Change 4338228 by Arciel.Rekman Switch to v12 Linux cross-toolchain (UE-63589). #jira UE-63589 Change 4339195 by Ben.Woodhouse Integrate-as-edit latest CSV profiler changes up to CL 4292187 Change 4339237 by Ben.Woodhouse Integrate-as-edit CL 4226269 Add support for extern GPU stats, so we can use one stat across multiple CPPs Fix the Forward rendering GPUProjection stat Change 4339239 by Ben.Woodhouse Integrate-as-edit CL 4292520 Support different sized buffers for FArchiveFileWriterGeneric per-platform so we can tune per-platform as needed. No changes to existing defaults values of 1KB for read, 4KB for write: #define PLATFORM_FILE_READER_BUFFER_SIZE 1024 #define PLATFORM_FILE_WRITER_BUFFER_SIZE 4096 #define PLATFORM_DEBUG_FILE_WRITER_BUFFER_SIZE 4096 Change 4339241 by Ben.Woodhouse Integrate-as-edit CL 4210462 Comment out an assert while I investigate properly (doesn't appear to be fatal) Change 4339265 by Anthony.Bills [Linux] Fix ContainerBuildThirdParty.sh to pick the first default interface. #jira none Change 4339274 by Anthony.Bills [Linux] Cache the bundled toolchain when using git builds. - Also will not attempt to download the toolchain if AutoSDK or Multiarch root are specified. #jira UE-63394 Change 4339623 by Anthony.Bills [Linux] Update native toolchain buildscript to support clang 6.0.1 - Main issue was due to libxml2 as an extra dependency of some test libraries, so needs to be disabled via DLLVM_ENABLE_LIBXML2. #jira UE-63588 Change 4339685 by Anthony.Bills [Linux] Update toolchain setup script to download v12 when it is available. #jira UE-63588 Change 4339833 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4339548 to //UE4/Dev-Console/... Change 4339843 by Ben.Woodhouse Attempt to fix a weird possible bad merge issue Change 4339890 by Ben.Woodhouse Fix a build issue #jira nojira Change 4340314 by Anthony.Bills Fix mesh decal rendering when write mask is enabled and no deferred decals are in the scene. #jira UE-55159 Change 4341099 by Marcin.Undak Mediashader fix #jira UE-63650 Change 4341106 by Marcin.Undak QAGame: added MediaPlayer for Linux test #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341107 by Marcin.Undak WebMMediaPlayer: blacklist all not supported platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341110 by Marcin.Undak WebMMediaPlayer: enable for Unix platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341804 by Luke.Thatcher [CONSOLE] [!] Fix memory scribble in black depth texture cube on platforms with 16-bit depth. - Original code was writing a FColor into the locked texture data, which causes a 2 byte scribble if the PF_ShadowDepth format is 16-bits. [!] Also fixed GWhiteTextureCube being black. FColor::White is not a compile-time constant, so an initialization order problem meant the value of FColor::White is actually black when the GWhiteTextureCube constructor runs. #jira none Change 4342244 by Anthony.Bills [Linux] Allow restarting the crashed application from the crash report client #jira UE-62903 Change 4342636 by Brandon.Schaefer Linux: Update LLVM libc++.a libc++abi.a with version 6.0.1 #jira UE-63587 Change 4343420 by Marcin.Undak Fixed assert in console #jira UE-63643 Change 4345166 by Luke.Thatcher [CONSOLE] [!] (merging CL 4345072) Fix initialization order bug with FColor and FLinearColor constants. - The original constants were dynamically initialized during startup. Using these constants from other global constructors may result in getting the wrong value (transparent black) if a given constructor runs before FColor/FLinearColor's constructor. - Adding constexpr to the FColor/FLinearColor constructor makes these constants known at compile-time, and included in the readonly data section, so they don't require dynamic initialization. [~] Also restores the original constant color values in RenderUtils.cpp #jira none Change 4345860 by Arciel.Rekman Make StompMalloc return 16-byte aligned memory on 64 bit platforms (UE-63743). #jira UE-63743 (Edigrating 4345734 from Release-4.20) Change 4345950 by Brandon.Schaefer Linux: Remove libelf/libdwarf fallback for symbolicating symbols during a crash #jira UE-63103 Change 4350249 by David.Harvey helper function to retrieve an LLM tag's name, including platform tags. Change 4351184 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4348973 to //UE4/Dev-Console/... Change 4351593 by Ben.Woodhouse Clean up aggressive batching (remove xbox specific #if and //TODO) #jira UE-46780 Change 4351734 by James.Cobbett Setting TM-ShaderModels_Niagara to always load Change 4351984 by Marcin.Undak QAGame: restored platform media source in TM-ShaderModels map Change 4353508 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4353110 to //UE4/Dev-Console/... Change 4354237 by Anthony.Bills [Linux] Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4354334 by Anthony.Bills [Linux] (Missing file from CL 4354237) Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4355994 by Brandon.Schaefer Linux: Agree not Agreed #jira UE-63937 Change 4356068 by Joe.Barnes Replace a duplicate DEFINE_EXPRESSION_NODE_TYPE(bool,...) causing errors with iOS unity build compiles. Remove version in ExpressionParser.cpp and include TextFilterExpressionEvaluator.h. #jira ue-63877 Change 4357726 by David.Harvey [iOS] add clean support for device output log, after catchup. #jira none Change 4357724 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4357176 to //UE4/Dev-Console/... Change 4359634 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4359072 to //UE4/Dev-Console/... Change 4359958 by Ben.Woodhouse Fix FortGPUTestbed merge issues via p4 copy (content files didn't get moved before for some reason) Change 4361108 by Anthony.Bills Fix webm deprecation issues with DrawPrimitiveUp. #jira UE-64012 Change 4361896 by James.Cobbett Re-saving materials so that they render correctly outside of the editor. Change 4362262 by Anthony.Bills Fix for WebM video decoder crash. #jira UE-64025 [CL 4362700 by Joe Barnes in Main branch]
2018-09-12 15:59:49 -04:00
FString Url = WCHAR_TO_TCHAR(Request->GetURL().ToWString().c_str());
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
bool bIsMainFrame = Frame->IsMain();
FWebNavigationRequest RequestDetails;
RequestDetails.bIsRedirect = bIsRedirect;
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
RequestDetails.bIsMainFrame = bIsMainFrame;
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
RequestDetails.bIsExplicitTransition = Request->GetTransitionType() == TT_EXPLICIT;
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
if (bIsMainFrame)
{
// We need to defer all future navigations until we can determine if this current navigation is going to be handled or not
bDeferNavigations = true;
}
bool bHandled = OnBeforeBrowse().Execute(Url, RequestDetails);
if (bIsMainFrame)
{
// If the browse request is handled and this is the main frame we must defer LoadUrl() calls until the request is fully aborted in/after NotifyDocumentError
bDeferNavigations = bHandled && !bIsRedirect;
if (bDeferNavigations)
{
PendingAbortUrl = Url;
}
else if (HasPendingNavigation())
{
ProcessPendingNavigation();
}
}
return bHandled;
}
}
}
return false;
}
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
FString URLRequestSTatusToString(const CefResourceRequestHandler::URLRequestStatus& Status)
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
{
const static FString URLRequestStatus_Success(TEXT("SUCCESS"));
const static FString URLRequestStatus_IoPending(TEXT("IO_PENDING"));
const static FString URLRequestStatus_Canceled(TEXT("CANCELED"));
const static FString URLRequestStatus_Failed(TEXT("FAILED"));
const static FString URLRequestStatus_Unknown(TEXT("UNKNOWN"));
FString StatusStr;
switch (Status)
{
case CefResourceRequestHandler::URLRequestStatus::UR_SUCCESS:
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
StatusStr = URLRequestStatus_Success;
break;
case CefResourceRequestHandler::URLRequestStatus::UR_IO_PENDING:
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
StatusStr = URLRequestStatus_IoPending;
break;
case CefResourceRequestHandler::URLRequestStatus::UR_CANCELED:
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
StatusStr = URLRequestStatus_Canceled;
break;
case CefResourceRequestHandler::URLRequestStatus::UR_FAILED:
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
StatusStr = URLRequestStatus_Failed;
break;
case CefResourceRequestHandler::URLRequestStatus::UR_UNKNOWN:
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
StatusStr = URLRequestStatus_Unknown;
break;
default:
StatusStr = URLRequestStatus_Unknown;
break;
}
return StatusStr;
}
void FCEFWebBrowserWindow::HandleOnBeforeResourceLoad(const CefString& URL, CefRequest::ResourceType Type, FRequestHeaders& AdditionalHeaders, const bool AllowUserCredentials)
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
{
BeforeResourceLoadDelegate.ExecuteIfBound(WCHAR_TO_TCHAR(URL.ToWString().c_str()), ResourceTypeToString(Type), AdditionalHeaders, AllowUserCredentials);
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
}
void FCEFWebBrowserWindow::HandleOnResourceLoadComplete(const CefString& URL, CefRequest::ResourceType Type, CefResourceRequestHandler::URLRequestStatus Status, int64 ContentLength)
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
{
ResourceLoadCompleteDelegate.ExecuteIfBound(WCHAR_TO_TCHAR(URL.ToWString().c_str()), ResourceTypeToString(Type), URLRequestSTatusToString(Status), ContentLength);
}
EWebBrowserConsoleLogSeverity CefLogSeverityToWebBrowser(cef_log_severity_t Level)
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
{
switch (Level)
{
case LOGSEVERITY_VERBOSE:
return EWebBrowserConsoleLogSeverity::Verbose;
//case LOGSEVERITY_DEBUG: // same as LOGSEVERITY_VERBOSE
// return Verbose;
case LOGSEVERITY_INFO:
return EWebBrowserConsoleLogSeverity::Info;
case LOGSEVERITY_WARNING:
return EWebBrowserConsoleLogSeverity::Warning;
case LOGSEVERITY_ERROR:
return EWebBrowserConsoleLogSeverity::Error;
case LOGSEVERITY_FATAL:
return EWebBrowserConsoleLogSeverity::Fatal;
case LOGSEVERITY_DEFAULT:
default:
return EWebBrowserConsoleLogSeverity::Default;
}
}
void FCEFWebBrowserWindow::HandleOnConsoleMessage(CefRefPtr<CefBrowser> Browser, cef_log_severity_t Level, const CefString& Message, const CefString& Source, int Line)
{
ConsoleMessageDelegate.ExecuteIfBound(WCHAR_TO_TCHAR(Message.ToWString().c_str()), WCHAR_TO_TCHAR(Source.ToWString().c_str()), Line, CefLogSeverityToWebBrowser(Level));
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
}
TOptional<FString> FCEFWebBrowserWindow::GetResourceContent( CefRefPtr< CefFrame > Frame, CefRefPtr< CefRequest > Request)
{
if (ContentsToLoad.IsSet())
{
FString Contents = ContentsToLoad.GetValue();
ContentsToLoad.Reset();
return Contents;
}
if (OnLoadUrl().IsBound())
{
Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4362408) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 4125165 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4124306 to //UE4/Dev-Console/... Change 4136060 by Marcin.Undak Editor: fixed device unclaiming #jira UE-58464 Change 4190321 by Marcin.Undak Linux: fixes for automation and RecordPerformance #jira UE-61053 Change 4199010 by Marcin.Undak Linux: remove unnecessary -g option Change 4201876 by Marcin.Undak First implementation of WebM media player for Windows and Linux Change 4201922 by Marcin.Undak Whitelisted WebMem plugin only for Windows and Linux Change 4202203 by Marcin.Undak WebM build fixes Change 4223102 by Marcin.Undak Vulkan: console commands for testing device lost #jira UE-61789 Change 4225028 by Marcin.Undak WebMMedia: disabled on Linux until fixed compilation issues Change 4231444 by David.Harvey UI - Fixing where the virtual cursor renders. It doesn't correctly take into account DPI scale, which isn't apparent except on the Xbox One. Integrate as edit from CL 4166648. #jira UE-62115 Change 4233057 by Marcin.Undak TestPAL: added new test for string allocation size Change 4234649 by Marcin.Undak Linux: switched linux plaform to 16bit wide strings Change 4235253 by Marcin.Undak TestPAL: compilation fix for platforms that don't use DirectoryWatcher Change 4235477 by Marcin.Undak Linux: re-enabled WebMMedia plugin Change 4242242 by Marcin.Undak WebMMediaPlayer: implemented proper format retrieving. MediaFrameworkTest now works. Change 4243321 by Marcin.Undak WebMPlayer: static code analisys fix Change 4243505 by Marcin.Undak MediaFrameworkTest: added WebM video for testing Change 4244646 by Marcin.Undak WebMMedia: improved concurrency Change 4244735 by Arciel.Rekman Vulkan: skip unnecessary transitions properly (UE-62348, merge). (Edigrating CL 4244274 from Release-4.20) Change 4246685 by Arciel.Rekman PhysX: remove Cygwin from %PATH% on Windows as it confuses CMake (UE-62326). Change 4247808 by Marcin.Undak WebMMediaPlayer: added support for seeking Change 4254841 by Marcin.Undak WebM: module dependencies fix Change 4255124 by laz.matech Updated UMG_AllPaletterWidgets' combo box to include options so that when selected, the dropdown presents 2 options instead of it appearing like it is broken #jira none Change 4256415 by Marcin.Undak WebM: added missing editor module Change 4256716 by Arciel.Rekman Make SetReuseAddr() also set SO_REUSEPORT where available (UE-57076). - Pull request #4617 by malavon. #jira UE-57076 Change 4266049 by Marcin.Undak Linux: UnrealLightmass and CrashReportClient compilation fixes #jira UE-62521 #jira UE-62522 Change 4266678 by Arciel.Rekman Merge speculative commit to get aligned pointer on mmap(). (Edigrating CL 4225330) Change 4267998 by Anthony.Bills Fix DBufferC clear color due to bad merge. #jira UE-62649 Change 4269441 by Marcin.Undak GenericPlatformStrings::VarArgs() implemented %-*s, %lu, %z, %h formatting #jira UE-62582 Change 4269712 by Marcin.Undak WebMMediaPlayer: removed LibSimpleWebM Change 4272849 by Marcin.Undak WebMMediaPlayer: fixed re-initialisation Change 4277931 by Arciel.Rekman Linux: switch to Vulkan by default (UE-62807). - Default behavior: attempt Vulkan first, but in case of failure instead of quitting silently fall back to GL, unless -vulkan is passed. - Forcing GL is still possible. Change 4277965 by Arciel.Rekman Fix standalone applications after the Vulkan switch. Change 4277968 by Arciel.Rekman Linux: make CrashReportClient headful (UE-14089). - The -unattended flags keep even a headful CRC usable on the servers. - ldd did not change. Need to check Localization stuff to see if there are any deployment concerns. #jira UE-14089 Change 4279402 by Arciel.Rekman Merge from 4.20.1: Vulkan: log validation errors. Also fix handling of some message types (UE-62628). (Edigrating 4273516 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4279992 by Marcin.Undak Linux: fix SlateViewer compilation #jira UE-62831 Change 4285613 by Arciel.Rekman Vulkan: fix mismatched layout. - I tested with RecordPerformance on InfiltratorDemo and haven't found any impact. Change 4285622 by Arciel.Rekman Merged from 4.20.2: Linux: do not refuse to start if system limits cannot be raised (UE-62515). - Too aggressive behavior, which can break cooking for no valid reason. - If a commandline argument is used, the engine will still treat inability to raise the limits as an error. (Edigrating 4273547 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4293083 by Arciel.Rekman Merging //UE4/Main@4291654 to //UE4/Dev-Console Change 4295297 by Marcin.Undak Vulkan: temporary disable generic pipeline cache saving to prevent crashes #jira UE-62848 Change 4300191 by Arciel.Rekman Delete files added under lowercase directories. Change 4300211 by Arciel.Rekman Re-add files deleted in previous commit under camel-cased paths. Change 4300895 by Arciel.Rekman Linux: fix editor build Change 4303543 by Ben.Marsh Fix compile error for FortGPUTestBed. Change 4305659 by Marcin.Undak [Vulkan][Engine] Update the Vulkan RHI to obey r.VSync (and the vsync and novsync command-line arguments). Change 4222769 by Jason.Stewart@Jason.Stewart_AMD_Dev_Rendering_threadripper-win10 on 2018/07/19 10:55:48 The original implementation ran into a latent thread hazard between the RHI thread and the rendering thread, where the rendering thread would try to use the backbuffer of the swap chain while the swap chain was being recreated (specifically after the swap chain recreation code had released and nulled out the back buffer, but before swap chain creation had actually happened to get a new back buffer). This implementation addresses that issue. This is Tim's code. I'm just submitting it as Tim is currently out of office. Change 4305661 by Marcin.Undak Moved libwebm and libvpx inside WebMMediaPlayer directory Change 4308659 by Marcin.Undak Linux: fixed LLDB visualizers #jira UE-52619 Change 4313650 by Marcin.Undak WebMMediaPlayer: implemented looping Change 4321713 by David.Harvey removed hard-coded platform labels from device output log window in favour of ITargetPlatform::SupportsFeature + updated editor tooltip with correct platform list. https://ec-01.epicgames.net/commander/link/jobDetails/jobs/8641984? Change 4321942 by Brandon.Schaefer Linux: Use the Target RHI list as the default ordering for which RHI is prefered Also update the RHI list in the project settings for our default list #jira UE-59487 #review-4316134 @Arciel.Rekman Change 4322230 by Brandon.Schaefer Treat %lf as %f in GenericWidePlatformString #jira UE-62582 Change 4322392 by Brandon.Schaefer Make sure our fmt size is large enough to check indexes #jira none Change 4322895 by Brandon.Schaefer Actually get the current size of Src as it could have been moved down #jira none Change 4327866 by Brandon.Schaefer Linux: Tell the platform misc what RHI we are using #jira none Change 4328926 by Brandon.Schaefer Linux: Add haptic support for controllers Github PR #4167 (thanks maiself!) #jira UE-51681 Change 4328963 by Arciel.Rekman TestPAL: improve the test by randomizing allocation size. - The range will no longer be constrained to <=128KB at once, allocations can be as big as 16MB but they will unevenly distributed, with smaller sizes being more frequent. Change 4329208 by Arciel.Rekman hlslcc: suppressed benign compiler warning during the Linux build (UE-43988). Change 4329283 by Arciel.Rekman Linux: replace CachedOSPageAllocator with PooledVirtualMemoryAllocator for Linux. For the explanation of FPooledVirtualMemoryAllocator, see PooledVirtualMemoryAllocator.h For the details, test data and comparisons, message Arciel Rekman. Relevant command line args added: -vmapoolscale=<float> (defaults to 1.4) -vmapoolevict -novmapoolevict By default, freed memory will not be evicted from RAM (unless running on a server) Also changed: - Removed the fixed-size pool previously used by Linux (and supporting machinery like scaling it on start) - Replaced the way we manage free blocks from pointers to a bitmap to reduce memory footprint. Change 4331946 by Luke.Thatcher [CONSOLE] [^] (merging CL 4162064) Implement new thread heart beat clock to solve the suspend/resume problem across all platforms. - The hang and hitch detectors now maintain their own clocks which are ticked by their respective threads. - If the title is suspended, the ticking thread will stop and the clock will stop advancing. On resume, the maximum delta in the clock is clamped to a small value, so we ignore all the time the thread was not ticking for (i.e. the duration of the title being suspended). - As such, we don't need any logic for handling PLM suspend/resume in the hang and hitch detectors, so this change removes that too. #jira FORT-96886 Change 4331973 by Luke.Thatcher [CONSOLE] [^] (merging CL 4183499) Add frame-present-based hang detection. - RHIs call FThreadHeartBeat::PresentFrame() whenever they present a frame to the swap chain. - These calls form a separate heartbeat from the thread-based ones, allowing the hang detector to fire if, for example, the game thread is stuck in an async loading loop and is ticking the game thread heartbeat, but making no progress. - Also refactored ThreadHeartBeat.cpp to move hang detection logging into a FORCENOINLINE function. This will put OnHang and OnPresentHang at the top of the callstack in retail crash dumps, making the bucketing easier to recognise. Change 4332200 by Luke.Thatcher [CONSOLE] [+] (merging CL 4227517) Add PlatformDebugData to FShaderResource. - We can use this to store platform specific shader symbols etc. The data gets serialized to the DDC and can be retrieved during a cook. - Data is entirely discarded in cooked builds, and is a no-op on platforms which don't implement support for shader debug data. - Bumped shader version to invalidate DDC keys. Change 4332407 by Luke.Thatcher [CONSOLE] [CORE] [!] (merging CL 4279686) Fixed unaligned integer load macro inconsistencies. - Renamed PLATFORM_SUPPORTS_UNALIGNED_INT_LOADS to PLATFORM_SUPPORTS_UNALIGNED_LOADS - Merged it with REQUIRES_ALIGNED_ACCESS and REQUIRES_ALIGNED_INT_ACCESS - Fixed Linux platform which had both the old macros defined to 1, which is wrong because they are mutually exclusive. Change 4333386 by Luke.Thatcher [CONSOLE] [!] (merging CL 4317367) Fix compile error in AnimationCompression.h Change 4334395 by Arciel.Rekman Corrected PLATFORM_DESKTOP definition. Change 4336190 by Anthony.Bills (Original CL4314280) Use the debug file writer when using framepro. This buffers more data which should reduce stalls when writing out on certain platforms. #jira none Change 4336291 by Anthony.Bills Use a clamped local clock when timing out the renderthread. - This prevents suspend and resume issues on platforms where suspend events may not occur or the system clock is not set to the process time. #jira none Change 4336292 by Anthony.Bills (Orignal CL 4195778) Fix printing of the hang detector multiplier and other logging. "f" is the correct format specifier for a double. #jira none Change 4336307 by Anthony.Bills (Orignal CL 4257875) Use the correct clock when printing the scoped hitch stat. - Needs to be the internal FGameThreadHitchHeartBeat clock incase FPlatformTime::Seconds becomes out of sync with FrameStartTime. #jira none Change 4336321 by Anthony.Bills (Original CL 4258186) Add GetNoInit function to FGameThreadHitchHeartBeat. #jira none Change 4336397 by Anthony.Bills Fix redefinition of macro. #jira none Change 4336738 by Brandon.Schaefer Linux: Add options for ASan, TSan, and UBSan #jira UE-62784 UE-62803 UE-62804 Change 4336791 by Brandon.Schaefer Linux: Add missing xml comments #jira none Change 4336957 by Joe.Barnes Integrate as edit CL#4218145: Convert some of our Vector macros to inline functions as thier names class with 3rd party functions. #jira ue-61733 Change 4338228 by Arciel.Rekman Switch to v12 Linux cross-toolchain (UE-63589). #jira UE-63589 Change 4339195 by Ben.Woodhouse Integrate-as-edit latest CSV profiler changes up to CL 4292187 Change 4339237 by Ben.Woodhouse Integrate-as-edit CL 4226269 Add support for extern GPU stats, so we can use one stat across multiple CPPs Fix the Forward rendering GPUProjection stat Change 4339239 by Ben.Woodhouse Integrate-as-edit CL 4292520 Support different sized buffers for FArchiveFileWriterGeneric per-platform so we can tune per-platform as needed. No changes to existing defaults values of 1KB for read, 4KB for write: #define PLATFORM_FILE_READER_BUFFER_SIZE 1024 #define PLATFORM_FILE_WRITER_BUFFER_SIZE 4096 #define PLATFORM_DEBUG_FILE_WRITER_BUFFER_SIZE 4096 Change 4339241 by Ben.Woodhouse Integrate-as-edit CL 4210462 Comment out an assert while I investigate properly (doesn't appear to be fatal) Change 4339265 by Anthony.Bills [Linux] Fix ContainerBuildThirdParty.sh to pick the first default interface. #jira none Change 4339274 by Anthony.Bills [Linux] Cache the bundled toolchain when using git builds. - Also will not attempt to download the toolchain if AutoSDK or Multiarch root are specified. #jira UE-63394 Change 4339623 by Anthony.Bills [Linux] Update native toolchain buildscript to support clang 6.0.1 - Main issue was due to libxml2 as an extra dependency of some test libraries, so needs to be disabled via DLLVM_ENABLE_LIBXML2. #jira UE-63588 Change 4339685 by Anthony.Bills [Linux] Update toolchain setup script to download v12 when it is available. #jira UE-63588 Change 4339833 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4339548 to //UE4/Dev-Console/... Change 4339843 by Ben.Woodhouse Attempt to fix a weird possible bad merge issue Change 4339890 by Ben.Woodhouse Fix a build issue #jira nojira Change 4340314 by Anthony.Bills Fix mesh decal rendering when write mask is enabled and no deferred decals are in the scene. #jira UE-55159 Change 4341099 by Marcin.Undak Mediashader fix #jira UE-63650 Change 4341106 by Marcin.Undak QAGame: added MediaPlayer for Linux test #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341107 by Marcin.Undak WebMMediaPlayer: blacklist all not supported platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341110 by Marcin.Undak WebMMediaPlayer: enable for Unix platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341804 by Luke.Thatcher [CONSOLE] [!] Fix memory scribble in black depth texture cube on platforms with 16-bit depth. - Original code was writing a FColor into the locked texture data, which causes a 2 byte scribble if the PF_ShadowDepth format is 16-bits. [!] Also fixed GWhiteTextureCube being black. FColor::White is not a compile-time constant, so an initialization order problem meant the value of FColor::White is actually black when the GWhiteTextureCube constructor runs. #jira none Change 4342244 by Anthony.Bills [Linux] Allow restarting the crashed application from the crash report client #jira UE-62903 Change 4342636 by Brandon.Schaefer Linux: Update LLVM libc++.a libc++abi.a with version 6.0.1 #jira UE-63587 Change 4343420 by Marcin.Undak Fixed assert in console #jira UE-63643 Change 4345166 by Luke.Thatcher [CONSOLE] [!] (merging CL 4345072) Fix initialization order bug with FColor and FLinearColor constants. - The original constants were dynamically initialized during startup. Using these constants from other global constructors may result in getting the wrong value (transparent black) if a given constructor runs before FColor/FLinearColor's constructor. - Adding constexpr to the FColor/FLinearColor constructor makes these constants known at compile-time, and included in the readonly data section, so they don't require dynamic initialization. [~] Also restores the original constant color values in RenderUtils.cpp #jira none Change 4345860 by Arciel.Rekman Make StompMalloc return 16-byte aligned memory on 64 bit platforms (UE-63743). #jira UE-63743 (Edigrating 4345734 from Release-4.20) Change 4345950 by Brandon.Schaefer Linux: Remove libelf/libdwarf fallback for symbolicating symbols during a crash #jira UE-63103 Change 4350249 by David.Harvey helper function to retrieve an LLM tag's name, including platform tags. Change 4351184 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4348973 to //UE4/Dev-Console/... Change 4351593 by Ben.Woodhouse Clean up aggressive batching (remove xbox specific #if and //TODO) #jira UE-46780 Change 4351734 by James.Cobbett Setting TM-ShaderModels_Niagara to always load Change 4351984 by Marcin.Undak QAGame: restored platform media source in TM-ShaderModels map Change 4353508 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4353110 to //UE4/Dev-Console/... Change 4354237 by Anthony.Bills [Linux] Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4354334 by Anthony.Bills [Linux] (Missing file from CL 4354237) Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4355994 by Brandon.Schaefer Linux: Agree not Agreed #jira UE-63937 Change 4356068 by Joe.Barnes Replace a duplicate DEFINE_EXPRESSION_NODE_TYPE(bool,...) causing errors with iOS unity build compiles. Remove version in ExpressionParser.cpp and include TextFilterExpressionEvaluator.h. #jira ue-63877 Change 4357726 by David.Harvey [iOS] add clean support for device output log, after catchup. #jira none Change 4357724 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4357176 to //UE4/Dev-Console/... Change 4359634 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4359072 to //UE4/Dev-Console/... Change 4359958 by Ben.Woodhouse Fix FortGPUTestbed merge issues via p4 copy (content files didn't get moved before for some reason) Change 4361108 by Anthony.Bills Fix webm deprecation issues with DrawPrimitiveUp. #jira UE-64012 Change 4361896 by James.Cobbett Re-saving materials so that they render correctly outside of the editor. Change 4362262 by Anthony.Bills Fix for WebM video decoder crash. #jira UE-64025 [CL 4362700 by Joe Barnes in Main branch]
2018-09-12 15:59:49 -04:00
FString Method = WCHAR_TO_TCHAR(Request->GetMethod().ToWString().c_str());
FString Url = WCHAR_TO_TCHAR(Request->GetURL().ToWString().c_str());
FString Response;
if ( OnLoadUrl().Execute(Method, Url, Response))
{
return Response;
}
}
return TOptional<FString>();
}
int32 FCEFWebBrowserWindow::GetCefKeyboardModifiers(const FKeyEvent& KeyEvent)
{
int32 Modifiers = GetCefInputModifiers(KeyEvent);
const FKey Key = KeyEvent.GetKey();
if (Key == EKeys::LeftAlt ||
Key == EKeys::LeftCommand ||
Key == EKeys::LeftControl ||
Key == EKeys::LeftShift)
{
Modifiers |= EVENTFLAG_IS_LEFT;
}
if (Key == EKeys::RightAlt ||
Key == EKeys::RightCommand ||
Key == EKeys::RightControl ||
Key == EKeys::RightShift)
{
Modifiers |= EVENTFLAG_IS_RIGHT;
}
if (Key == EKeys::NumPadZero ||
Key == EKeys::NumPadOne ||
Key == EKeys::NumPadTwo ||
Key == EKeys::NumPadThree ||
Key == EKeys::NumPadFour ||
Key == EKeys::NumPadFive ||
Key == EKeys::NumPadSix ||
Key == EKeys::NumPadSeven ||
Key == EKeys::NumPadEight ||
Key == EKeys::NumPadNine)
{
Modifiers |= EVENTFLAG_IS_KEY_PAD;
}
return Modifiers;
}
int32 FCEFWebBrowserWindow::GetCefMouseModifiers(const FPointerEvent& InMouseEvent)
{
int32 Modifiers = GetCefInputModifiers(InMouseEvent);
if (InMouseEvent.IsMouseButtonDown(EKeys::LeftMouseButton))
{
Modifiers |= EVENTFLAG_LEFT_MOUSE_BUTTON;
}
if (InMouseEvent.IsMouseButtonDown(EKeys::MiddleMouseButton))
{
Modifiers |= EVENTFLAG_MIDDLE_MOUSE_BUTTON;
}
if (InMouseEvent.IsMouseButtonDown(EKeys::RightMouseButton))
{
Modifiers |= EVENTFLAG_RIGHT_MOUSE_BUTTON;
}
return Modifiers;
}
CefMouseEvent FCEFWebBrowserWindow::GetCefMouseEvent(const FGeometry& MyGeometry, const FPointerEvent& MouseEvent, bool bIsPopup)
{
CefMouseEvent Event;
FGeometry MouseGeometry = MyGeometry;
if (bUsingAcceleratedPaint)
{
// undo the texture flip if we are using accelerated rendering
MouseGeometry = MyGeometry.MakeChild(FSlateRenderTransform(FScale2D(1, -1)));
}
float DPIScale = MouseGeometry.Scale;
if (TSharedPtr<SWindow> ParentWindowPtr = ParentWindow.Pin())
{
DPIScale /= ParentWindowPtr->GetNativeWindow()->GetDPIScaleFactor();
}
FVector2D LocalPos = MouseGeometry.AbsoluteToLocal(MouseEvent.GetScreenSpacePosition()) * DPIScale;
if (bIsPopup)
{
LocalPos += PopupPosition;
}
Event.x = LocalPos.X;
Event.y = LocalPos.Y;
Event.modifiers = GetCefMouseModifiers(MouseEvent);
return Event;
}
int32 FCEFWebBrowserWindow::GetCefInputModifiers(const FInputEvent& InputEvent)
{
int32 Modifiers = 0;
if (InputEvent.IsShiftDown())
{
Modifiers |= EVENTFLAG_SHIFT_DOWN;
}
if (InputEvent.IsControlDown())
{
#if PLATFORM_MAC
// Slate swaps the flags for Command and Control on OSX, so we need to swap them back for CEF
Modifiers |= EVENTFLAG_COMMAND_DOWN;
#else
Modifiers |= EVENTFLAG_CONTROL_DOWN;
#endif
}
if (InputEvent.IsAltDown())
{
Modifiers |= EVENTFLAG_ALT_DOWN;
}
if (InputEvent.IsCommandDown())
{
#if PLATFORM_MAC
// Slate swaps the flags for Command and Control on OSX, so we need to swap them back for CEF
Modifiers |= EVENTFLAG_CONTROL_DOWN;
#else
Modifiers |= EVENTFLAG_COMMAND_DOWN;
#endif
}
if (InputEvent.AreCapsLocked())
{
Modifiers |= EVENTFLAG_CAPS_LOCK_ON;
}
return Modifiers;
}
bool FCEFWebBrowserWindow::CanSupportAcceleratedPaint()
{
static bool DisableAcceleratedPaint = FParse::Param(FCommandLine::Get(), TEXT("nocefaccelpaint"));
if (DisableAcceleratedPaint)
{
return false;
}
static bool ForceAcceleratedPaint = FParse::Param(FCommandLine::Get(), TEXT("forcecefaccelpaint"));
if (ForceAcceleratedPaint)
{
return true;
}
// Use off screen rendering so we can integrate with our windows
#if PLATFORM_LINUX
return false;
#elif PLATFORM_WINDOWS
#if PLATFORM_64BITS
//return false;
static bool Windows10OrAbove = FWindowsPlatformMisc::VerifyWindowsVersion(10, 0); //Win10
if (Windows10OrAbove == false)
{
return false;
}
// match the logic in GetStandardStandaloneRenderer() from StandaloneRenderer.cpp to check for the OGL slate renderer
if (FParse::Param(FCommandLine::Get(), TEXT("opengl")))
{
return false;
}
// Disable accelerated paint by default until we can fix the multi-gpu rendering issue
return false;
#else
return false; // 32-bit windows doesn't have the accelerated rendering patches applied, it can be done if needed
#endif
#elif PLATFORM_MAC
return false; // Needs RHI support for the CreateSharedHandleTexture call
#else
return false;
#endif
}
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 FCEFWebBrowserWindow::UpdateCachedGeometry(const FGeometry& AllottedGeometry)
{
#if !PLATFORM_LINUX
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
// Forward along the geometry for use by IME
Ime->UpdateCachedGeometry(AllottedGeometry);
#endif
if (RHIRenderHelper)
{
RHIRenderHelper->UpdateCachedGeometry(AllottedGeometry);
}
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 FCEFWebBrowserWindow::CheckTickActivity()
{
// Early out if we're currently hidden, not initialized or currently loading.
if (bIsHidden || !IsValid() || IsLoading() || ViewportSize == FIntPoint::ZeroValue)
{
return;
}
// We clear the bTickedLastFrame flag here and set it on every Slate tick.
// If it's still clear when we come back it means we're not getting ticks from slate.
// Note: The BrowserSingleton object will not invoke this method if Slate itself is sleeping.
// Therefore we can safely assume the widget is hidden in that case.
if (!bTickedLastFrame)
{
SetIsHidden(true);
}
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
else if(bNeedsResize)
{
bNeedsResize = false;
InternalCefBrowser->GetHost()->WasResized();
}
bTickedLastFrame = false;
}
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 FCEFWebBrowserWindow::RequestNavigationInternal(FString Url, FString Contents)
{
if (!IsValid())
{
return;
}
CefRefPtr<CefFrame> MainFrame = InternalCefBrowser->GetMainFrame();
if (MainFrame.get() != nullptr)
{
ContentsToLoad = Contents.IsEmpty() ? TOptional<FString>() : Contents;
PendingLoadUrl = Url;
if (!bDeferNavigations)
{
ProcessPendingNavigation();
}
}
}
bool FCEFWebBrowserWindow::HasPendingNavigation()
{
return !PendingLoadUrl.IsEmpty();
}
void FCEFWebBrowserWindow::ProcessPendingNavigation()
{
if (!IsValid() || bDeferNavigations || !HasPendingNavigation())
{
return;
}
CefRefPtr<CefFrame> MainFrame = InternalCefBrowser->GetMainFrame();
if (MainFrame.get() != nullptr)
{
Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4362408) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 4125165 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4124306 to //UE4/Dev-Console/... Change 4136060 by Marcin.Undak Editor: fixed device unclaiming #jira UE-58464 Change 4190321 by Marcin.Undak Linux: fixes for automation and RecordPerformance #jira UE-61053 Change 4199010 by Marcin.Undak Linux: remove unnecessary -g option Change 4201876 by Marcin.Undak First implementation of WebM media player for Windows and Linux Change 4201922 by Marcin.Undak Whitelisted WebMem plugin only for Windows and Linux Change 4202203 by Marcin.Undak WebM build fixes Change 4223102 by Marcin.Undak Vulkan: console commands for testing device lost #jira UE-61789 Change 4225028 by Marcin.Undak WebMMedia: disabled on Linux until fixed compilation issues Change 4231444 by David.Harvey UI - Fixing where the virtual cursor renders. It doesn't correctly take into account DPI scale, which isn't apparent except on the Xbox One. Integrate as edit from CL 4166648. #jira UE-62115 Change 4233057 by Marcin.Undak TestPAL: added new test for string allocation size Change 4234649 by Marcin.Undak Linux: switched linux plaform to 16bit wide strings Change 4235253 by Marcin.Undak TestPAL: compilation fix for platforms that don't use DirectoryWatcher Change 4235477 by Marcin.Undak Linux: re-enabled WebMMedia plugin Change 4242242 by Marcin.Undak WebMMediaPlayer: implemented proper format retrieving. MediaFrameworkTest now works. Change 4243321 by Marcin.Undak WebMPlayer: static code analisys fix Change 4243505 by Marcin.Undak MediaFrameworkTest: added WebM video for testing Change 4244646 by Marcin.Undak WebMMedia: improved concurrency Change 4244735 by Arciel.Rekman Vulkan: skip unnecessary transitions properly (UE-62348, merge). (Edigrating CL 4244274 from Release-4.20) Change 4246685 by Arciel.Rekman PhysX: remove Cygwin from %PATH% on Windows as it confuses CMake (UE-62326). Change 4247808 by Marcin.Undak WebMMediaPlayer: added support for seeking Change 4254841 by Marcin.Undak WebM: module dependencies fix Change 4255124 by laz.matech Updated UMG_AllPaletterWidgets' combo box to include options so that when selected, the dropdown presents 2 options instead of it appearing like it is broken #jira none Change 4256415 by Marcin.Undak WebM: added missing editor module Change 4256716 by Arciel.Rekman Make SetReuseAddr() also set SO_REUSEPORT where available (UE-57076). - Pull request #4617 by malavon. #jira UE-57076 Change 4266049 by Marcin.Undak Linux: UnrealLightmass and CrashReportClient compilation fixes #jira UE-62521 #jira UE-62522 Change 4266678 by Arciel.Rekman Merge speculative commit to get aligned pointer on mmap(). (Edigrating CL 4225330) Change 4267998 by Anthony.Bills Fix DBufferC clear color due to bad merge. #jira UE-62649 Change 4269441 by Marcin.Undak GenericPlatformStrings::VarArgs() implemented %-*s, %lu, %z, %h formatting #jira UE-62582 Change 4269712 by Marcin.Undak WebMMediaPlayer: removed LibSimpleWebM Change 4272849 by Marcin.Undak WebMMediaPlayer: fixed re-initialisation Change 4277931 by Arciel.Rekman Linux: switch to Vulkan by default (UE-62807). - Default behavior: attempt Vulkan first, but in case of failure instead of quitting silently fall back to GL, unless -vulkan is passed. - Forcing GL is still possible. Change 4277965 by Arciel.Rekman Fix standalone applications after the Vulkan switch. Change 4277968 by Arciel.Rekman Linux: make CrashReportClient headful (UE-14089). - The -unattended flags keep even a headful CRC usable on the servers. - ldd did not change. Need to check Localization stuff to see if there are any deployment concerns. #jira UE-14089 Change 4279402 by Arciel.Rekman Merge from 4.20.1: Vulkan: log validation errors. Also fix handling of some message types (UE-62628). (Edigrating 4273516 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4279992 by Marcin.Undak Linux: fix SlateViewer compilation #jira UE-62831 Change 4285613 by Arciel.Rekman Vulkan: fix mismatched layout. - I tested with RecordPerformance on InfiltratorDemo and haven't found any impact. Change 4285622 by Arciel.Rekman Merged from 4.20.2: Linux: do not refuse to start if system limits cannot be raised (UE-62515). - Too aggressive behavior, which can break cooking for no valid reason. - If a commandline argument is used, the engine will still treat inability to raise the limits as an error. (Edigrating 4273547 from //UE4/Release-4.20/... to //UE4/Dev-Console/...) Change 4293083 by Arciel.Rekman Merging //UE4/Main@4291654 to //UE4/Dev-Console Change 4295297 by Marcin.Undak Vulkan: temporary disable generic pipeline cache saving to prevent crashes #jira UE-62848 Change 4300191 by Arciel.Rekman Delete files added under lowercase directories. Change 4300211 by Arciel.Rekman Re-add files deleted in previous commit under camel-cased paths. Change 4300895 by Arciel.Rekman Linux: fix editor build Change 4303543 by Ben.Marsh Fix compile error for FortGPUTestBed. Change 4305659 by Marcin.Undak [Vulkan][Engine] Update the Vulkan RHI to obey r.VSync (and the vsync and novsync command-line arguments). Change 4222769 by Jason.Stewart@Jason.Stewart_AMD_Dev_Rendering_threadripper-win10 on 2018/07/19 10:55:48 The original implementation ran into a latent thread hazard between the RHI thread and the rendering thread, where the rendering thread would try to use the backbuffer of the swap chain while the swap chain was being recreated (specifically after the swap chain recreation code had released and nulled out the back buffer, but before swap chain creation had actually happened to get a new back buffer). This implementation addresses that issue. This is Tim's code. I'm just submitting it as Tim is currently out of office. Change 4305661 by Marcin.Undak Moved libwebm and libvpx inside WebMMediaPlayer directory Change 4308659 by Marcin.Undak Linux: fixed LLDB visualizers #jira UE-52619 Change 4313650 by Marcin.Undak WebMMediaPlayer: implemented looping Change 4321713 by David.Harvey removed hard-coded platform labels from device output log window in favour of ITargetPlatform::SupportsFeature + updated editor tooltip with correct platform list. https://ec-01.epicgames.net/commander/link/jobDetails/jobs/8641984? Change 4321942 by Brandon.Schaefer Linux: Use the Target RHI list as the default ordering for which RHI is prefered Also update the RHI list in the project settings for our default list #jira UE-59487 #review-4316134 @Arciel.Rekman Change 4322230 by Brandon.Schaefer Treat %lf as %f in GenericWidePlatformString #jira UE-62582 Change 4322392 by Brandon.Schaefer Make sure our fmt size is large enough to check indexes #jira none Change 4322895 by Brandon.Schaefer Actually get the current size of Src as it could have been moved down #jira none Change 4327866 by Brandon.Schaefer Linux: Tell the platform misc what RHI we are using #jira none Change 4328926 by Brandon.Schaefer Linux: Add haptic support for controllers Github PR #4167 (thanks maiself!) #jira UE-51681 Change 4328963 by Arciel.Rekman TestPAL: improve the test by randomizing allocation size. - The range will no longer be constrained to <=128KB at once, allocations can be as big as 16MB but they will unevenly distributed, with smaller sizes being more frequent. Change 4329208 by Arciel.Rekman hlslcc: suppressed benign compiler warning during the Linux build (UE-43988). Change 4329283 by Arciel.Rekman Linux: replace CachedOSPageAllocator with PooledVirtualMemoryAllocator for Linux. For the explanation of FPooledVirtualMemoryAllocator, see PooledVirtualMemoryAllocator.h For the details, test data and comparisons, message Arciel Rekman. Relevant command line args added: -vmapoolscale=<float> (defaults to 1.4) -vmapoolevict -novmapoolevict By default, freed memory will not be evicted from RAM (unless running on a server) Also changed: - Removed the fixed-size pool previously used by Linux (and supporting machinery like scaling it on start) - Replaced the way we manage free blocks from pointers to a bitmap to reduce memory footprint. Change 4331946 by Luke.Thatcher [CONSOLE] [^] (merging CL 4162064) Implement new thread heart beat clock to solve the suspend/resume problem across all platforms. - The hang and hitch detectors now maintain their own clocks which are ticked by their respective threads. - If the title is suspended, the ticking thread will stop and the clock will stop advancing. On resume, the maximum delta in the clock is clamped to a small value, so we ignore all the time the thread was not ticking for (i.e. the duration of the title being suspended). - As such, we don't need any logic for handling PLM suspend/resume in the hang and hitch detectors, so this change removes that too. #jira FORT-96886 Change 4331973 by Luke.Thatcher [CONSOLE] [^] (merging CL 4183499) Add frame-present-based hang detection. - RHIs call FThreadHeartBeat::PresentFrame() whenever they present a frame to the swap chain. - These calls form a separate heartbeat from the thread-based ones, allowing the hang detector to fire if, for example, the game thread is stuck in an async loading loop and is ticking the game thread heartbeat, but making no progress. - Also refactored ThreadHeartBeat.cpp to move hang detection logging into a FORCENOINLINE function. This will put OnHang and OnPresentHang at the top of the callstack in retail crash dumps, making the bucketing easier to recognise. Change 4332200 by Luke.Thatcher [CONSOLE] [+] (merging CL 4227517) Add PlatformDebugData to FShaderResource. - We can use this to store platform specific shader symbols etc. The data gets serialized to the DDC and can be retrieved during a cook. - Data is entirely discarded in cooked builds, and is a no-op on platforms which don't implement support for shader debug data. - Bumped shader version to invalidate DDC keys. Change 4332407 by Luke.Thatcher [CONSOLE] [CORE] [!] (merging CL 4279686) Fixed unaligned integer load macro inconsistencies. - Renamed PLATFORM_SUPPORTS_UNALIGNED_INT_LOADS to PLATFORM_SUPPORTS_UNALIGNED_LOADS - Merged it with REQUIRES_ALIGNED_ACCESS and REQUIRES_ALIGNED_INT_ACCESS - Fixed Linux platform which had both the old macros defined to 1, which is wrong because they are mutually exclusive. Change 4333386 by Luke.Thatcher [CONSOLE] [!] (merging CL 4317367) Fix compile error in AnimationCompression.h Change 4334395 by Arciel.Rekman Corrected PLATFORM_DESKTOP definition. Change 4336190 by Anthony.Bills (Original CL4314280) Use the debug file writer when using framepro. This buffers more data which should reduce stalls when writing out on certain platforms. #jira none Change 4336291 by Anthony.Bills Use a clamped local clock when timing out the renderthread. - This prevents suspend and resume issues on platforms where suspend events may not occur or the system clock is not set to the process time. #jira none Change 4336292 by Anthony.Bills (Orignal CL 4195778) Fix printing of the hang detector multiplier and other logging. "f" is the correct format specifier for a double. #jira none Change 4336307 by Anthony.Bills (Orignal CL 4257875) Use the correct clock when printing the scoped hitch stat. - Needs to be the internal FGameThreadHitchHeartBeat clock incase FPlatformTime::Seconds becomes out of sync with FrameStartTime. #jira none Change 4336321 by Anthony.Bills (Original CL 4258186) Add GetNoInit function to FGameThreadHitchHeartBeat. #jira none Change 4336397 by Anthony.Bills Fix redefinition of macro. #jira none Change 4336738 by Brandon.Schaefer Linux: Add options for ASan, TSan, and UBSan #jira UE-62784 UE-62803 UE-62804 Change 4336791 by Brandon.Schaefer Linux: Add missing xml comments #jira none Change 4336957 by Joe.Barnes Integrate as edit CL#4218145: Convert some of our Vector macros to inline functions as thier names class with 3rd party functions. #jira ue-61733 Change 4338228 by Arciel.Rekman Switch to v12 Linux cross-toolchain (UE-63589). #jira UE-63589 Change 4339195 by Ben.Woodhouse Integrate-as-edit latest CSV profiler changes up to CL 4292187 Change 4339237 by Ben.Woodhouse Integrate-as-edit CL 4226269 Add support for extern GPU stats, so we can use one stat across multiple CPPs Fix the Forward rendering GPUProjection stat Change 4339239 by Ben.Woodhouse Integrate-as-edit CL 4292520 Support different sized buffers for FArchiveFileWriterGeneric per-platform so we can tune per-platform as needed. No changes to existing defaults values of 1KB for read, 4KB for write: #define PLATFORM_FILE_READER_BUFFER_SIZE 1024 #define PLATFORM_FILE_WRITER_BUFFER_SIZE 4096 #define PLATFORM_DEBUG_FILE_WRITER_BUFFER_SIZE 4096 Change 4339241 by Ben.Woodhouse Integrate-as-edit CL 4210462 Comment out an assert while I investigate properly (doesn't appear to be fatal) Change 4339265 by Anthony.Bills [Linux] Fix ContainerBuildThirdParty.sh to pick the first default interface. #jira none Change 4339274 by Anthony.Bills [Linux] Cache the bundled toolchain when using git builds. - Also will not attempt to download the toolchain if AutoSDK or Multiarch root are specified. #jira UE-63394 Change 4339623 by Anthony.Bills [Linux] Update native toolchain buildscript to support clang 6.0.1 - Main issue was due to libxml2 as an extra dependency of some test libraries, so needs to be disabled via DLLVM_ENABLE_LIBXML2. #jira UE-63588 Change 4339685 by Anthony.Bills [Linux] Update toolchain setup script to download v12 when it is available. #jira UE-63588 Change 4339833 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4339548 to //UE4/Dev-Console/... Change 4339843 by Ben.Woodhouse Attempt to fix a weird possible bad merge issue Change 4339890 by Ben.Woodhouse Fix a build issue #jira nojira Change 4340314 by Anthony.Bills Fix mesh decal rendering when write mask is enabled and no deferred decals are in the scene. #jira UE-55159 Change 4341099 by Marcin.Undak Mediashader fix #jira UE-63650 Change 4341106 by Marcin.Undak QAGame: added MediaPlayer for Linux test #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341107 by Marcin.Undak WebMMediaPlayer: blacklist all not supported platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341110 by Marcin.Undak WebMMediaPlayer: enable for Unix platforms #jira UE-59667 #jira UE-62775 #jira UE-62780 Change 4341804 by Luke.Thatcher [CONSOLE] [!] Fix memory scribble in black depth texture cube on platforms with 16-bit depth. - Original code was writing a FColor into the locked texture data, which causes a 2 byte scribble if the PF_ShadowDepth format is 16-bits. [!] Also fixed GWhiteTextureCube being black. FColor::White is not a compile-time constant, so an initialization order problem meant the value of FColor::White is actually black when the GWhiteTextureCube constructor runs. #jira none Change 4342244 by Anthony.Bills [Linux] Allow restarting the crashed application from the crash report client #jira UE-62903 Change 4342636 by Brandon.Schaefer Linux: Update LLVM libc++.a libc++abi.a with version 6.0.1 #jira UE-63587 Change 4343420 by Marcin.Undak Fixed assert in console #jira UE-63643 Change 4345166 by Luke.Thatcher [CONSOLE] [!] (merging CL 4345072) Fix initialization order bug with FColor and FLinearColor constants. - The original constants were dynamically initialized during startup. Using these constants from other global constructors may result in getting the wrong value (transparent black) if a given constructor runs before FColor/FLinearColor's constructor. - Adding constexpr to the FColor/FLinearColor constructor makes these constants known at compile-time, and included in the readonly data section, so they don't require dynamic initialization. [~] Also restores the original constant color values in RenderUtils.cpp #jira none Change 4345860 by Arciel.Rekman Make StompMalloc return 16-byte aligned memory on 64 bit platforms (UE-63743). #jira UE-63743 (Edigrating 4345734 from Release-4.20) Change 4345950 by Brandon.Schaefer Linux: Remove libelf/libdwarf fallback for symbolicating symbols during a crash #jira UE-63103 Change 4350249 by David.Harvey helper function to retrieve an LLM tag's name, including platform tags. Change 4351184 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4348973 to //UE4/Dev-Console/... Change 4351593 by Ben.Woodhouse Clean up aggressive batching (remove xbox specific #if and //TODO) #jira UE-46780 Change 4351734 by James.Cobbett Setting TM-ShaderModels_Niagara to always load Change 4351984 by Marcin.Undak QAGame: restored platform media source in TM-ShaderModels map Change 4353508 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4353110 to //UE4/Dev-Console/... Change 4354237 by Anthony.Bills [Linux] Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4354334 by Anthony.Bills [Linux] (Missing file from CL 4354237) Fix Linux compilation issues due to change over to TCHAR being char16_t. #jira UE-63544 Change 4355994 by Brandon.Schaefer Linux: Agree not Agreed #jira UE-63937 Change 4356068 by Joe.Barnes Replace a duplicate DEFINE_EXPRESSION_NODE_TYPE(bool,...) causing errors with iOS unity build compiles. Remove version in ExpressionParser.cpp and include TextFilterExpressionEvaluator.h. #jira ue-63877 Change 4357726 by David.Harvey [iOS] add clean support for device output log, after catchup. #jira none Change 4357724 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4357176 to //UE4/Dev-Console/... Change 4359634 by Ben.Woodhouse [INTEGRATE] Integrate from //UE4/Main/...@4359072 to //UE4/Dev-Console/... Change 4359958 by Ben.Woodhouse Fix FortGPUTestbed merge issues via p4 copy (content files didn't get moved before for some reason) Change 4361108 by Anthony.Bills Fix webm deprecation issues with DrawPrimitiveUp. #jira UE-64012 Change 4361896 by James.Cobbett Re-saving materials so that they render correctly outside of the editor. Change 4362262 by Anthony.Bills Fix for WebM video decoder crash. #jira UE-64025 [CL 4362700 by Joe Barnes in Main branch]
2018-09-12 15:59:49 -04:00
CefString Url = TCHAR_TO_WCHAR(*PendingLoadUrl);
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
PendingLoadUrl.Empty();
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
#if PLATFORM_MAC
MainThreadCall(^{
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
MainFrame->LoadURL(Url);
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
}, NSDefaultRunLoopMode, true);
#else
MainFrame->LoadURL(Url);
#endif
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 FCEFWebBrowserWindow::SetIsHidden(bool bValue)
{
if( bIsHidden == bValue )
{
return;
}
bIsHidden = bValue;
if ( IsValid() )
{
CefRefPtr<CefBrowserHost> BrowserHost = InternalCefBrowser->GetHost();
#if PLATFORM_WINDOWS
HWND NativeWindowHandle = BrowserHost->GetWindowHandle();
if (NativeWindowHandle != nullptr)
{
// When rendering directly into a subwindow, we must hide the native window when fully obscured
::ShowWindow(NativeWindowHandle, bIsHidden ? SW_HIDE : SW_SHOW);
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
if (bIsHidden )
{
TSharedPtr<SWindow> ParentWindowPtr = ParentWindow.Pin();
if (::IsWindowEnabled(NativeWindowHandle) && ParentWindowPtr.IsValid())
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
{
::SetFocus((HWND)ParentWindowPtr->GetNativeWindow()->GetOSWindowHandle());
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
}
}
}
else
{
// only hide OSR renderer windows
#endif
BrowserHost->WasHidden(bIsHidden);
#if PLATFORM_WINDOWS
}
#endif
}
}
void FCEFWebBrowserWindow::SetIsDisabled(bool bValue)
{
if (bIsDisabled == bValue)
{
return;
}
bIsDisabled = bValue;
SetIsHidden(bIsDisabled);
}
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 2948319 on 2016/04/19 by Nick.Shin update zlib to v1.2.8 part 1 of 4 - doing this in stages for tracking purposes #jira UEPLAT-1246 - Update libWebsockets #jira UEPLAT-1221 - update websocket library Change 2948322 on 2016/04/19 by Nick.Shin update libwebsockets to v1.7.4 part 4 of 4 - doing this in stages for tracking purposes #jira UEPLAT-1246 - Update libWebsockets #jira UEPLAT-1221 - update websocket library #jira UEPLAT-1204 - Rebuild libwebsockets with SSL Change 2948661 on 2016/04/19 by Nick.Shin keep using old zlibs until they are recompiled with the newer version Change 2948737 on 2016/04/19 by Nick.Shin build warning fix Change 2949334 on 2016/04/20 by Nick.Shin fix library path for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set... Change 2951556 on 2016/04/21 by Nick.Shin static libs double checked #jira UE-29674 - Editor fails to open in Dev-Platform Change 2951559 on 2016/04/21 by Nick.Shin static libs double checked forgot these files - they were in another changelist #jira UE-29674 - Editor fails to open in Dev-Platform Change 2952411 on 2016/04/22 by Nick.Shin add win32 build targets for zlib openssl libcurl libwebsockets part 1 of 2: these are the C# build scripts Change 2970016 on 2016/05/07 by Nick.Shin undo all of the following upgrades: - zlib - openssl - libcurl - libwebsockets and reset webrtc #jira UE-30298 - Fortnite and Orion crash on login Change 3118163 on 2016/09/08 by Josh.Adams perm test 2, not a useful file at all Change 3121142 on 2016/09/12 by Daniel.Lamb Attempt to fix deterministic cooking issue for particlelodlevel. Ensure the spawn module has had postload called on it before using. #test Paragon cook Change 3121150 on 2016/09/12 by Daniel.Lamb Added warning logs to help track down issue UE-33453. Change 3121201 on 2016/09/12 by Keith.Judge Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix. Change 3121302 on 2016/09/12 by Joe.Graf Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors Change 3121379 on 2016/09/12 by Dmitry.Rekman Linux: only link libraries that export needed symbols (UE-35720). - Fixes very long startup times of modular builds. - Includes PR #2778 by slonopotamus. #jira UE-35720 Change 3121383 on 2016/09/12 by Dmitry.Rekman Linux: added some missing _API declarations on symbols used externally. - Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't). Change 3121456 on 2016/09/12 by Daniel.Lamb Attempt to fix deterministic cooking issue for particlelodlevel. Ensure the spawn module has had postload called on it before using. #test Paragon cook Change 3122939 on 2016/09/13 by Luke.Thatcher [PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service. - Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone. Change 3123040 on 2016/09/13 by Brent.Pease + Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now. Change 3123664 on 2016/09/13 by Nick.Shin this was originally checked into: release 4.13.1 bringing here to dev-platform -- original submit comments -- first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing" next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop jira UE-35363 - Huge game window when launching onto Safari 9.1.2 Change 3125282 on 2016/09/14 by Michael.Trepka Fixed iOS and tvOS code indexing in Xcode project Change 3126812 on 2016/09/15 by Josh.Adams Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes: - Added Parse function to JsonObject.cs to be able to parse a string - Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU() - Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME - Converted the PS4MallocCrash class into a generic one (that Wolf is now also using) - Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread - Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere - Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects - Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever) - Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool. - Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini) - Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain. - Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening - Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct. - Renamed a UT copy of a global function to not linker-conflict - Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4. - Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists) - Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority() - Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads? - Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move. Change 3126842 on 2016/09/15 by Michael.Trepka Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation. Change 3126956 on 2016/09/15 by Michael.Trepka Added support for compiling Vulkan shaders for Android on Mac Change 3127206 on 2016/09/15 by Michael.Trepka PR #2604: Remove some warnings. (Contributed by reapazor) Change 3127324 on 2016/09/15 by Michael.Trepka Allow third party dylibs on Mac to be loaded from plugin subfolders Change 3127924 on 2016/09/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3128369 on 2016/09/16 by Nick.Shin zlib 1.2.8 headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128377 on 2016/09/16 by Nick.Shin openssl 1_0_2h headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128383 on 2016/09/16 by Nick.Shin libcurl 7_48_0 headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128384 on 2016/09/16 by Nick.Shin libwebsockets 1.7.4 headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128464 on 2016/09/16 by Nick.Shin webRTC rev.12643 NOTE: VS2015 - only Win64 is available - Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment NOTE: VS2013 - not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist - also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways FUTURE NOTE: - will continue to try to get VS2015 Win32 functional - and am working on trying to get VS2013 tested headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128500 on 2016/09/16 by Nick.Shin zlib 1.2.8 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128504 on 2016/09/16 by Nick.Shin openssl 1_0_2h - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128506 on 2016/09/16 by Nick.Shin libcurl 7_48_0 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128508 on 2016/09/16 by Nick.Shin libwebsockets 1.7.4 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128513 on 2016/09/16 by Nick.Shin webRTC rev.12643 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128602 on 2016/09/16 by Nick.Shin webRTC rev.9862 - Win64 VS2013 NOTE: - not tested (i'm working on getting a VS2013 pro license) - checking in for testing purposes WARNING: - VS2013 is no longer supported by webRTC latest headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128605 on 2016/09/16 by Nick.Shin re-enabling updated ThirdParySoftware libs: - zlib (v.1.2.8) - openssl (1.0.2h) - libcurl (7_48_0) - libwebsocket (v.1.7.4) - webRTC (rev.12643) to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build... Change 3128651 on 2016/09/16 by Nick.Shin fix Win32 build error from CL: #3128605 Change 3128704 on 2016/09/16 by Nick.Shin fix Win32 build error from CL: #3128605 - this time actually compiling it... Change 3128825 on 2016/09/16 by Dmitry.Rekman Linux: proper fix for too slow startup times (UE-35967). - Pull request #2793 by slonopotamus. - Now without stripping dependencies on libraries specified before. - Contains a work around for ld bug <2.25. Change 3128972 on 2016/09/16 by Nick.Shin fix to local build error. Change 3129283 on 2016/09/16 by Brent.Pease + Add Android local notification support based on existing system used for iOS + Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release Change 3129494 on 2016/09/17 by Nick.Shin fix CIS build errors Change 3129503 on 2016/09/17 by Dmitry.Rekman Fix Linux build (case sensitivity issue). Change 3129514 on 2016/09/17 by Nick.Shin fix CIS build errors for consoles - missing zlib include path special thanks to Dmitry.Rekman for pointing me in the right direction Change 3129647 on 2016/09/17 by Dmitry.Rekman Linux: fix non-unity build. Change 3131043 on 2016/09/19 by Nick.Shin archiving build instructions/steps when building: - zlib (v.1.2.8) win: #3128369 osx: #3128500 - openssl (1.0.2h) win: #3128377 osx: #3128504 - libcurl (7_48_0) win: #3128383 osx: #3128506 - libwebsocket (v.1.7.4) win: #3128384 osx: #3128508 - webRTC win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP osx: #3128513 Change 3132801 on 2016/09/20 by Dmitry.Rekman Linux: support specifying default OpenGL version via configs (UE-34777). - The first targeted RHI is going to be used. Change 3132905 on 2016/09/20 by Josh.Adams - Fixed up some paths with the WolfPlat rename Change 3133148 on 2016/09/20 by Josh.Adams - Only show UT EULA if PLATFORM_DESKTOP Change 3133152 on 2016/09/20 by Josh.Adams - Beginning support for applets. Disabled unless you have a special SDK with applet support. Change 3133169 on 2016/09/20 by Josh.Adams - Fixed issue with Wolf access but no SDK installed Change 3133344 on 2016/09/20 by Daniel.Lamb Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile. Added new flag to limit number of concurrent shader compiles. #test Cook QAGame, Cook Paragon Change 3133345 on 2016/09/20 by Daniel.Lamb FRedirectCollector collects string asset references all the time when running the editor. #test Cook paragon cook QAGame. Change 3133852 on 2016/09/21 by Luke.Thatcher [PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. Change 3133875 on 2016/09/21 by Luke.Thatcher [PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2) Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'. Change 3134544 on 2016/09/21 by Josh.Adams - Reduced UT textures for Wolf Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick FPS4Time::SystemTime now calculates the local machine time, instead of UTC. #jira UE-35170 Change 3135036 on 2016/09/21 by Michael.Trepka Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32 Change 3135292 on 2016/09/21 by Jeff.Campeau Change include order to favor the XDK edition specific headers where available. Change 3136414 on 2016/09/22 by Josh.Adams - Fixed a checkf() that had the case reversed #jira ue-36311 Change 3137082 on 2016/09/22 by Dmitry.Rekman Added support for Linux installed builds to 4.14 Change 3137220 on 2016/09/22 by Dmitry.Rekman Linux: do not rebuild hlslcc on each setup. - Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary. Change 3137227 on 2016/09/22 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3137259 on 2016/09/22 by Dmitry.Rekman Linux installed build: fix CIS (missed one .csproj) Change 3137290 on 2016/09/22 by Dmitry.Rekman Linux installed builds: fix for the resulting directory. Change 3137291 on 2016/09/22 by Chris.Babcock Restore texture filtering mode properly when movie played on Android #jira UE-36342 #ue4 #android Change 3137376 on 2016/09/22 by Dmitry.Rekman Linux: re-enabled crash handler stack smash protection. - Race condition in FRunnableThreadPThread has been previously fixed. Change 3138498 on 2016/09/23 by Dmitry.Rekman Linux: add missed package for installed builds. - mono-devel package for resgen2. Change 3138523 on 2016/09/23 by Dmitry.Rekman Linux: Update hlslcc now that we're not rebuilding it each time. Change 3138658 on 2016/09/23 by Josh.Adams - Moved UT's Social Plugin into NotForLicensees Change 3139042 on 2016/09/23 by Dmitry.Rekman Linux: more robust check of installed packages. - Also added mono-devel to the list of packages installed on 14.04. Change 3139674 on 2016/09/26 by Dmitry.Rekman Fix crash when editing widget blueprints (UE-35185). - Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping. - Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795). Change 3140203 on 2016/09/26 by Josh.Adams - Wolf Fix for SHIPPING Change 3140206 on 2016/09/26 by Josh.Adams - NEX work, still in progress Change 3140276 on 2016/09/26 by Josh.Adams - Fixed Wolf compile error Change 3140485 on 2016/09/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3140570 on 2016/09/26 by Dmitry.Rekman SDL2: Delete obsolete files. - We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space. Change 3140577 on 2016/09/26 by Dmitry.Rekman Fix CudaTest monolithic build. - Not the best fix, the better fix is to build against bundled libc++. Change 3141184 on 2016/09/27 by Keith.Judge Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert. #jira UE-35973 Change 3141623 on 2016/09/27 by Chris.Babcock Support hiding virtual keyboard on Android #jira UE-34201 #ue4 #android Change 3141887 on 2016/09/27 by Joe.Graf Added support for additional plugin directories that are specified by the .uproject file New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins Change 3141916 on 2016/09/27 by Josh.Adams - Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925) Change 3141926 on 2016/09/27 by Josh.Adams - Support for skipping Wolf user selector (-nologinui) Change 3141938 on 2016/09/27 by Chris.Babcock Allow Android media player to seek past 999ms (contributed by rcywongaa) #jira UE-36453 #PR #2797 #ue4 #android Change 3142207 on 2016/09/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3142219 on 2016/09/27 by Josh.Adams - Wolf PhysX 3.4 libs and includes Change 3142220 on 2016/09/27 by Josh.Adams - File that had to be fixed up after main merge (missed adding it to the huge integrate CL) Change 3142314 on 2016/09/27 by Chase.McAllister #jira UE-35011 fixes to some assets to remove redundancies/output log spam Change 3142510 on 2016/09/27 by Daniel.Lamb Fixed up resave lightmaps commandlet so that world transforms don't get applied twice. #jira UE-35942 Change 3142650 on 2016/09/27 by Chris.Babcock Android support for Linux by yaakuro - requires CodeWorks for Android Linux installed and OpenJDK 1.8 - need to set Android SDK paths manually in Project Settings #jira UE-32752 #jira UE-32753 #PR #2564 #PR #2565 #ue4 #android #linux Change 3142802 on 2016/09/27 by Dmitry.Rekman Upgrade to SDL 2.0.5-ish (still technically 2.0.4). - Upstream revision 10374:dccf51aee79b. - Merged all our changes hopefully. Change 3143075 on 2016/09/28 by Luke.Thatcher [RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro. #jira UE-33077 Change 3143219 on 2016/09/28 by Daniel.Lamb Added new is compiling function which tells you if it's really compiling instead of lying. If def out additional logging for debugging shader compilation issue for 4.14 release. Change 3143428 on 2016/09/28 by Luke.Thatcher [PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061 Change 3143488 on 2016/09/28 by Daniel.Lamb Changed defaults for skip cooking editor content to true. Change 3143526 on 2016/09/28 by Daniel.Lamb Increased the concurrent shader compile limit while in the cooker. #test Cook paragon Change 3143874 on 2016/09/28 by Chris.Babcock Read Android environment variables from .bashrc on Linux #jira UE-36565 #ue4 #android #linux Change 3143911 on 2016/09/28 by Dmitry.Rekman Fix SDL EGL API binding (UE-18979). - Contains PR #1398 by x414e54. - Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade. Change 3143929 on 2016/09/28 by Daniel.Lamb Removed some more temporary logging. #test Cook paragon Change 3143959 on 2016/09/28 by Jeff.Campeau Media Player for Xbox One Change 3143997 on 2016/09/28 by Dmitry.Rekman Linux: faster linking in Debug. - Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating. Change 3144004 on 2016/09/28 by Dmitry.Rekman Linux: make SCW dump core on crash in debug builds. - If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space). Change 3144007 on 2016/09/28 by Dmitry.Rekman Linux: Allow equals character in command line parameter value (UE-26406). - PR #2019 by bozzaro. - Allows passing parameters like -Switch=Key=Value. Change 3144042 on 2016/09/28 by Jeff.Campeau Add tag for DX12 support being experimental in target settings. #jira UE-36150 Change 3144068 on 2016/09/28 by Dmitry.Rekman Linux: enable using xgConsole in UAT (UE-28096). - PR #2144 by bozzaro. - Picks correct xgConsole binary. - Allegedly fixes crash in CombineXGEItemFile on mono. Change 3144120 on 2016/09/28 by Michael.Trepka Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/... Change 3144172 on 2016/09/28 by Chris.Babcock Add libpng 1.5.27 for Android #jira UE-36573 #ue4 #android Change 3144318 on 2016/09/28 by Chris.Babcock Correct logic for checking .bashrc on Linux #ue4 #android Change 3144331 on 2016/09/28 by Dmitry.Rekman Linux: repair ARM server builds. - Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1). Change 3144354 on 2016/09/28 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) this is intermediate, not fully working Change 3144368 on 2016/09/28 by Josh.Adams - Moved the new Social files into NFL Change 3144395 on 2016/09/28 by Chris.Babcock Add missing functions for AndroidWebBrowserWindow #ue4 #android Change 3144417 on 2016/09/28 by Josh.Adams - Probable fix for FWebBrowserWindow missing virtuals Change 3144438 on 2016/09/28 by Jeff.Campeau XDK updated to 160802 Change 3144569 on 2016/09/29 by Dmitry.Rekman Linux: allow a selectable clock source (UE-36564). - The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew. - Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there. #tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm). Change 3145108 on 2016/09/29 by Joe.Graf Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools) Change 3145245 on 2016/09/29 by Joe.Graf #wolf Checking in removal of plugin use on Win64 per Josh's request Change 3145514 on 2016/09/29 by Will.Fissler Updated Mac Info.plist files to disable high DPI on macOS 10.12 Change 3145538 on 2016/09/29 by Josh.Adams - Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots. Change 3145540 on 2016/09/29 by Josh.Adams - Fix for checking some Wolf dev tool installation existence - Fix for various Wolf build issues - Fix for Wolf devices not showing up in Launch on Change 3145542 on 2016/09/29 by Josh.Adams - Pulled over Wolf changes from Wolf branch into Dev-Platform Change 3145572 on 2016/09/29 by Josh.Adams - Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people. #jira UE-36591 Change 3145769 on 2016/09/29 by Chris.Babcock Remove duplicate platforms from deploy list in UFE #jira UE-36636 #ue4 Change 3146061 on 2016/09/29 by Chris.Babcock Linux: be less spammy in log when launching external procs #jira UE-36638 #ue4 #linux Change 3146208 on 2016/09/29 by Dmitry.Rekman Linux: fix PhysX crash (UE-36613). - PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above. - This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun. #jira UE-36613 Change 3146476 on 2016/09/30 by Josh.Adams - Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose Change 3146554 on 2016/09/30 by Josh.Adams - Removed another wolf secret log Change 3146626 on 2016/09/30 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3146712 on 2016/09/30 by Josh.Adams - Fixed case for building Android on Linux #jira #UE-36652 Change 3146844 on 2016/09/30 by Josh.Adams - Removed ES2 shader compiling from TVOS, and force Metal compiling #jira UE-36306 Change 3146865 on 2016/09/30 by Daniel.Lamb Removed temp logging for materials #test Launch on paragon Change 3146874 on 2016/09/30 by Dmitry.Rekman Linux: add rpath for libTextureConverter.so (UE-36620). Change 3147030 on 2016/09/30 by Josh.Adams - Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks #jira UE-36623 Change 3147151 on 2016/09/30 by Josh.Adams - Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling? Change 3147621 on 2016/09/30 by Michael.Trepka Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac Change 3147712 on 2016/09/30 by Josh.Adams - Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform. #jira UE-36225 Change 3147725 on 2016/09/30 by Josh.Adams - Fixed yet another Wolf log for people with Wolf access but no SDK [CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
TSharedPtr<SWindow> FCEFWebBrowserWindow::GetParentWindow() const
{
TSharedPtr<SWindow> ParentWindowPtr = ParentWindow.Pin();
return ParentWindowPtr;
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 2948319 on 2016/04/19 by Nick.Shin update zlib to v1.2.8 part 1 of 4 - doing this in stages for tracking purposes #jira UEPLAT-1246 - Update libWebsockets #jira UEPLAT-1221 - update websocket library Change 2948322 on 2016/04/19 by Nick.Shin update libwebsockets to v1.7.4 part 4 of 4 - doing this in stages for tracking purposes #jira UEPLAT-1246 - Update libWebsockets #jira UEPLAT-1221 - update websocket library #jira UEPLAT-1204 - Rebuild libwebsockets with SSL Change 2948661 on 2016/04/19 by Nick.Shin keep using old zlibs until they are recompiled with the newer version Change 2948737 on 2016/04/19 by Nick.Shin build warning fix Change 2949334 on 2016/04/20 by Nick.Shin fix library path for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set... Change 2951556 on 2016/04/21 by Nick.Shin static libs double checked #jira UE-29674 - Editor fails to open in Dev-Platform Change 2951559 on 2016/04/21 by Nick.Shin static libs double checked forgot these files - they were in another changelist #jira UE-29674 - Editor fails to open in Dev-Platform Change 2952411 on 2016/04/22 by Nick.Shin add win32 build targets for zlib openssl libcurl libwebsockets part 1 of 2: these are the C# build scripts Change 2970016 on 2016/05/07 by Nick.Shin undo all of the following upgrades: - zlib - openssl - libcurl - libwebsockets and reset webrtc #jira UE-30298 - Fortnite and Orion crash on login Change 3118163 on 2016/09/08 by Josh.Adams perm test 2, not a useful file at all Change 3121142 on 2016/09/12 by Daniel.Lamb Attempt to fix deterministic cooking issue for particlelodlevel. Ensure the spawn module has had postload called on it before using. #test Paragon cook Change 3121150 on 2016/09/12 by Daniel.Lamb Added warning logs to help track down issue UE-33453. Change 3121201 on 2016/09/12 by Keith.Judge Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix. Change 3121302 on 2016/09/12 by Joe.Graf Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors Change 3121379 on 2016/09/12 by Dmitry.Rekman Linux: only link libraries that export needed symbols (UE-35720). - Fixes very long startup times of modular builds. - Includes PR #2778 by slonopotamus. #jira UE-35720 Change 3121383 on 2016/09/12 by Dmitry.Rekman Linux: added some missing _API declarations on symbols used externally. - Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't). Change 3121456 on 2016/09/12 by Daniel.Lamb Attempt to fix deterministic cooking issue for particlelodlevel. Ensure the spawn module has had postload called on it before using. #test Paragon cook Change 3122939 on 2016/09/13 by Luke.Thatcher [PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service. - Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone. Change 3123040 on 2016/09/13 by Brent.Pease + Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now. Change 3123664 on 2016/09/13 by Nick.Shin this was originally checked into: release 4.13.1 bringing here to dev-platform -- original submit comments -- first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing" next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop jira UE-35363 - Huge game window when launching onto Safari 9.1.2 Change 3125282 on 2016/09/14 by Michael.Trepka Fixed iOS and tvOS code indexing in Xcode project Change 3126812 on 2016/09/15 by Josh.Adams Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes: - Added Parse function to JsonObject.cs to be able to parse a string - Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU() - Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME - Converted the PS4MallocCrash class into a generic one (that Wolf is now also using) - Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread - Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere - Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects - Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever) - Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool. - Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini) - Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain. - Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening - Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct. - Renamed a UT copy of a global function to not linker-conflict - Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4. - Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists) - Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority() - Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads? - Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move. Change 3126842 on 2016/09/15 by Michael.Trepka Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation. Change 3126956 on 2016/09/15 by Michael.Trepka Added support for compiling Vulkan shaders for Android on Mac Change 3127206 on 2016/09/15 by Michael.Trepka PR #2604: Remove some warnings. (Contributed by reapazor) Change 3127324 on 2016/09/15 by Michael.Trepka Allow third party dylibs on Mac to be loaded from plugin subfolders Change 3127924 on 2016/09/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3128369 on 2016/09/16 by Nick.Shin zlib 1.2.8 headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128377 on 2016/09/16 by Nick.Shin openssl 1_0_2h headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128383 on 2016/09/16 by Nick.Shin libcurl 7_48_0 headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128384 on 2016/09/16 by Nick.Shin libwebsockets 1.7.4 headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128464 on 2016/09/16 by Nick.Shin webRTC rev.12643 NOTE: VS2015 - only Win64 is available - Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment NOTE: VS2013 - not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist - also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways FUTURE NOTE: - will continue to try to get VS2015 Win32 functional - and am working on trying to get VS2013 tested headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128500 on 2016/09/16 by Nick.Shin zlib 1.2.8 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128504 on 2016/09/16 by Nick.Shin openssl 1_0_2h - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128506 on 2016/09/16 by Nick.Shin libcurl 7_48_0 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128508 on 2016/09/16 by Nick.Shin libwebsockets 1.7.4 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128513 on 2016/09/16 by Nick.Shin webRTC rev.12643 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128602 on 2016/09/16 by Nick.Shin webRTC rev.9862 - Win64 VS2013 NOTE: - not tested (i'm working on getting a VS2013 pro license) - checking in for testing purposes WARNING: - VS2013 is no longer supported by webRTC latest headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128605 on 2016/09/16 by Nick.Shin re-enabling updated ThirdParySoftware libs: - zlib (v.1.2.8) - openssl (1.0.2h) - libcurl (7_48_0) - libwebsocket (v.1.7.4) - webRTC (rev.12643) to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build... Change 3128651 on 2016/09/16 by Nick.Shin fix Win32 build error from CL: #3128605 Change 3128704 on 2016/09/16 by Nick.Shin fix Win32 build error from CL: #3128605 - this time actually compiling it... Change 3128825 on 2016/09/16 by Dmitry.Rekman Linux: proper fix for too slow startup times (UE-35967). - Pull request #2793 by slonopotamus. - Now without stripping dependencies on libraries specified before. - Contains a work around for ld bug <2.25. Change 3128972 on 2016/09/16 by Nick.Shin fix to local build error. Change 3129283 on 2016/09/16 by Brent.Pease + Add Android local notification support based on existing system used for iOS + Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release Change 3129494 on 2016/09/17 by Nick.Shin fix CIS build errors Change 3129503 on 2016/09/17 by Dmitry.Rekman Fix Linux build (case sensitivity issue). Change 3129514 on 2016/09/17 by Nick.Shin fix CIS build errors for consoles - missing zlib include path special thanks to Dmitry.Rekman for pointing me in the right direction Change 3129647 on 2016/09/17 by Dmitry.Rekman Linux: fix non-unity build. Change 3131043 on 2016/09/19 by Nick.Shin archiving build instructions/steps when building: - zlib (v.1.2.8) win: #3128369 osx: #3128500 - openssl (1.0.2h) win: #3128377 osx: #3128504 - libcurl (7_48_0) win: #3128383 osx: #3128506 - libwebsocket (v.1.7.4) win: #3128384 osx: #3128508 - webRTC win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP osx: #3128513 Change 3132801 on 2016/09/20 by Dmitry.Rekman Linux: support specifying default OpenGL version via configs (UE-34777). - The first targeted RHI is going to be used. Change 3132905 on 2016/09/20 by Josh.Adams - Fixed up some paths with the WolfPlat rename Change 3133148 on 2016/09/20 by Josh.Adams - Only show UT EULA if PLATFORM_DESKTOP Change 3133152 on 2016/09/20 by Josh.Adams - Beginning support for applets. Disabled unless you have a special SDK with applet support. Change 3133169 on 2016/09/20 by Josh.Adams - Fixed issue with Wolf access but no SDK installed Change 3133344 on 2016/09/20 by Daniel.Lamb Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile. Added new flag to limit number of concurrent shader compiles. #test Cook QAGame, Cook Paragon Change 3133345 on 2016/09/20 by Daniel.Lamb FRedirectCollector collects string asset references all the time when running the editor. #test Cook paragon cook QAGame. Change 3133852 on 2016/09/21 by Luke.Thatcher [PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. Change 3133875 on 2016/09/21 by Luke.Thatcher [PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2) Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'. Change 3134544 on 2016/09/21 by Josh.Adams - Reduced UT textures for Wolf Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick FPS4Time::SystemTime now calculates the local machine time, instead of UTC. #jira UE-35170 Change 3135036 on 2016/09/21 by Michael.Trepka Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32 Change 3135292 on 2016/09/21 by Jeff.Campeau Change include order to favor the XDK edition specific headers where available. Change 3136414 on 2016/09/22 by Josh.Adams - Fixed a checkf() that had the case reversed #jira ue-36311 Change 3137082 on 2016/09/22 by Dmitry.Rekman Added support for Linux installed builds to 4.14 Change 3137220 on 2016/09/22 by Dmitry.Rekman Linux: do not rebuild hlslcc on each setup. - Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary. Change 3137227 on 2016/09/22 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3137259 on 2016/09/22 by Dmitry.Rekman Linux installed build: fix CIS (missed one .csproj) Change 3137290 on 2016/09/22 by Dmitry.Rekman Linux installed builds: fix for the resulting directory. Change 3137291 on 2016/09/22 by Chris.Babcock Restore texture filtering mode properly when movie played on Android #jira UE-36342 #ue4 #android Change 3137376 on 2016/09/22 by Dmitry.Rekman Linux: re-enabled crash handler stack smash protection. - Race condition in FRunnableThreadPThread has been previously fixed. Change 3138498 on 2016/09/23 by Dmitry.Rekman Linux: add missed package for installed builds. - mono-devel package for resgen2. Change 3138523 on 2016/09/23 by Dmitry.Rekman Linux: Update hlslcc now that we're not rebuilding it each time. Change 3138658 on 2016/09/23 by Josh.Adams - Moved UT's Social Plugin into NotForLicensees Change 3139042 on 2016/09/23 by Dmitry.Rekman Linux: more robust check of installed packages. - Also added mono-devel to the list of packages installed on 14.04. Change 3139674 on 2016/09/26 by Dmitry.Rekman Fix crash when editing widget blueprints (UE-35185). - Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping. - Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795). Change 3140203 on 2016/09/26 by Josh.Adams - Wolf Fix for SHIPPING Change 3140206 on 2016/09/26 by Josh.Adams - NEX work, still in progress Change 3140276 on 2016/09/26 by Josh.Adams - Fixed Wolf compile error Change 3140485 on 2016/09/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3140570 on 2016/09/26 by Dmitry.Rekman SDL2: Delete obsolete files. - We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space. Change 3140577 on 2016/09/26 by Dmitry.Rekman Fix CudaTest monolithic build. - Not the best fix, the better fix is to build against bundled libc++. Change 3141184 on 2016/09/27 by Keith.Judge Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert. #jira UE-35973 Change 3141623 on 2016/09/27 by Chris.Babcock Support hiding virtual keyboard on Android #jira UE-34201 #ue4 #android Change 3141887 on 2016/09/27 by Joe.Graf Added support for additional plugin directories that are specified by the .uproject file New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins Change 3141916 on 2016/09/27 by Josh.Adams - Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925) Change 3141926 on 2016/09/27 by Josh.Adams - Support for skipping Wolf user selector (-nologinui) Change 3141938 on 2016/09/27 by Chris.Babcock Allow Android media player to seek past 999ms (contributed by rcywongaa) #jira UE-36453 #PR #2797 #ue4 #android Change 3142207 on 2016/09/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3142219 on 2016/09/27 by Josh.Adams - Wolf PhysX 3.4 libs and includes Change 3142220 on 2016/09/27 by Josh.Adams - File that had to be fixed up after main merge (missed adding it to the huge integrate CL) Change 3142314 on 2016/09/27 by Chase.McAllister #jira UE-35011 fixes to some assets to remove redundancies/output log spam Change 3142510 on 2016/09/27 by Daniel.Lamb Fixed up resave lightmaps commandlet so that world transforms don't get applied twice. #jira UE-35942 Change 3142650 on 2016/09/27 by Chris.Babcock Android support for Linux by yaakuro - requires CodeWorks for Android Linux installed and OpenJDK 1.8 - need to set Android SDK paths manually in Project Settings #jira UE-32752 #jira UE-32753 #PR #2564 #PR #2565 #ue4 #android #linux Change 3142802 on 2016/09/27 by Dmitry.Rekman Upgrade to SDL 2.0.5-ish (still technically 2.0.4). - Upstream revision 10374:dccf51aee79b. - Merged all our changes hopefully. Change 3143075 on 2016/09/28 by Luke.Thatcher [RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro. #jira UE-33077 Change 3143219 on 2016/09/28 by Daniel.Lamb Added new is compiling function which tells you if it's really compiling instead of lying. If def out additional logging for debugging shader compilation issue for 4.14 release. Change 3143428 on 2016/09/28 by Luke.Thatcher [PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061 Change 3143488 on 2016/09/28 by Daniel.Lamb Changed defaults for skip cooking editor content to true. Change 3143526 on 2016/09/28 by Daniel.Lamb Increased the concurrent shader compile limit while in the cooker. #test Cook paragon Change 3143874 on 2016/09/28 by Chris.Babcock Read Android environment variables from .bashrc on Linux #jira UE-36565 #ue4 #android #linux Change 3143911 on 2016/09/28 by Dmitry.Rekman Fix SDL EGL API binding (UE-18979). - Contains PR #1398 by x414e54. - Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade. Change 3143929 on 2016/09/28 by Daniel.Lamb Removed some more temporary logging. #test Cook paragon Change 3143959 on 2016/09/28 by Jeff.Campeau Media Player for Xbox One Change 3143997 on 2016/09/28 by Dmitry.Rekman Linux: faster linking in Debug. - Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating. Change 3144004 on 2016/09/28 by Dmitry.Rekman Linux: make SCW dump core on crash in debug builds. - If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space). Change 3144007 on 2016/09/28 by Dmitry.Rekman Linux: Allow equals character in command line parameter value (UE-26406). - PR #2019 by bozzaro. - Allows passing parameters like -Switch=Key=Value. Change 3144042 on 2016/09/28 by Jeff.Campeau Add tag for DX12 support being experimental in target settings. #jira UE-36150 Change 3144068 on 2016/09/28 by Dmitry.Rekman Linux: enable using xgConsole in UAT (UE-28096). - PR #2144 by bozzaro. - Picks correct xgConsole binary. - Allegedly fixes crash in CombineXGEItemFile on mono. Change 3144120 on 2016/09/28 by Michael.Trepka Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/... Change 3144172 on 2016/09/28 by Chris.Babcock Add libpng 1.5.27 for Android #jira UE-36573 #ue4 #android Change 3144318 on 2016/09/28 by Chris.Babcock Correct logic for checking .bashrc on Linux #ue4 #android Change 3144331 on 2016/09/28 by Dmitry.Rekman Linux: repair ARM server builds. - Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1). Change 3144354 on 2016/09/28 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) this is intermediate, not fully working Change 3144368 on 2016/09/28 by Josh.Adams - Moved the new Social files into NFL Change 3144395 on 2016/09/28 by Chris.Babcock Add missing functions for AndroidWebBrowserWindow #ue4 #android Change 3144417 on 2016/09/28 by Josh.Adams - Probable fix for FWebBrowserWindow missing virtuals Change 3144438 on 2016/09/28 by Jeff.Campeau XDK updated to 160802 Change 3144569 on 2016/09/29 by Dmitry.Rekman Linux: allow a selectable clock source (UE-36564). - The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew. - Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there. #tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm). Change 3145108 on 2016/09/29 by Joe.Graf Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools) Change 3145245 on 2016/09/29 by Joe.Graf #wolf Checking in removal of plugin use on Win64 per Josh's request Change 3145514 on 2016/09/29 by Will.Fissler Updated Mac Info.plist files to disable high DPI on macOS 10.12 Change 3145538 on 2016/09/29 by Josh.Adams - Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots. Change 3145540 on 2016/09/29 by Josh.Adams - Fix for checking some Wolf dev tool installation existence - Fix for various Wolf build issues - Fix for Wolf devices not showing up in Launch on Change 3145542 on 2016/09/29 by Josh.Adams - Pulled over Wolf changes from Wolf branch into Dev-Platform Change 3145572 on 2016/09/29 by Josh.Adams - Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people. #jira UE-36591 Change 3145769 on 2016/09/29 by Chris.Babcock Remove duplicate platforms from deploy list in UFE #jira UE-36636 #ue4 Change 3146061 on 2016/09/29 by Chris.Babcock Linux: be less spammy in log when launching external procs #jira UE-36638 #ue4 #linux Change 3146208 on 2016/09/29 by Dmitry.Rekman Linux: fix PhysX crash (UE-36613). - PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above. - This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun. #jira UE-36613 Change 3146476 on 2016/09/30 by Josh.Adams - Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose Change 3146554 on 2016/09/30 by Josh.Adams - Removed another wolf secret log Change 3146626 on 2016/09/30 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3146712 on 2016/09/30 by Josh.Adams - Fixed case for building Android on Linux #jira #UE-36652 Change 3146844 on 2016/09/30 by Josh.Adams - Removed ES2 shader compiling from TVOS, and force Metal compiling #jira UE-36306 Change 3146865 on 2016/09/30 by Daniel.Lamb Removed temp logging for materials #test Launch on paragon Change 3146874 on 2016/09/30 by Dmitry.Rekman Linux: add rpath for libTextureConverter.so (UE-36620). Change 3147030 on 2016/09/30 by Josh.Adams - Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks #jira UE-36623 Change 3147151 on 2016/09/30 by Josh.Adams - Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling? Change 3147621 on 2016/09/30 by Michael.Trepka Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac Change 3147712 on 2016/09/30 by Josh.Adams - Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform. #jira UE-36225 Change 3147725 on 2016/09/30 by Josh.Adams - Fixed yet another Wolf log for people with Wolf access but no SDK [CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
}
void FCEFWebBrowserWindow::SetParentWindow(TSharedPtr<SWindow> Window)
{
ParentWindow = Window;
#if PLATFORM_WINDOWS
if (IsValid())
{
CefRefPtr<CefBrowserHost> BrowserHost = InternalCefBrowser->GetHost();
HWND NativeWindowHandle = BrowserHost->GetWindowHandle();
if (NativeWindowHandle != nullptr)
{
TSharedPtr<SWindow> ParentWindowPtr = ParentWindow.Pin();
void* ParentWindowHandle = (ParentWindow.IsValid() && ParentWindowPtr->GetNativeWindow().IsValid()) ? ParentWindowPtr->GetNativeWindow()->GetOSWindowHandle() : nullptr;
if (ParentWindowHandle != nullptr)
{
// When rendering directly to a HWND update its parent windown
::SetParent(NativeWindowHandle, (HWND)ParentWindowHandle);
}
}
}
#endif
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 2948319 on 2016/04/19 by Nick.Shin update zlib to v1.2.8 part 1 of 4 - doing this in stages for tracking purposes #jira UEPLAT-1246 - Update libWebsockets #jira UEPLAT-1221 - update websocket library Change 2948322 on 2016/04/19 by Nick.Shin update libwebsockets to v1.7.4 part 4 of 4 - doing this in stages for tracking purposes #jira UEPLAT-1246 - Update libWebsockets #jira UEPLAT-1221 - update websocket library #jira UEPLAT-1204 - Rebuild libwebsockets with SSL Change 2948661 on 2016/04/19 by Nick.Shin keep using old zlibs until they are recompiled with the newer version Change 2948737 on 2016/04/19 by Nick.Shin build warning fix Change 2949334 on 2016/04/20 by Nick.Shin fix library path for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set... Change 2951556 on 2016/04/21 by Nick.Shin static libs double checked #jira UE-29674 - Editor fails to open in Dev-Platform Change 2951559 on 2016/04/21 by Nick.Shin static libs double checked forgot these files - they were in another changelist #jira UE-29674 - Editor fails to open in Dev-Platform Change 2952411 on 2016/04/22 by Nick.Shin add win32 build targets for zlib openssl libcurl libwebsockets part 1 of 2: these are the C# build scripts Change 2970016 on 2016/05/07 by Nick.Shin undo all of the following upgrades: - zlib - openssl - libcurl - libwebsockets and reset webrtc #jira UE-30298 - Fortnite and Orion crash on login Change 3118163 on 2016/09/08 by Josh.Adams perm test 2, not a useful file at all Change 3121142 on 2016/09/12 by Daniel.Lamb Attempt to fix deterministic cooking issue for particlelodlevel. Ensure the spawn module has had postload called on it before using. #test Paragon cook Change 3121150 on 2016/09/12 by Daniel.Lamb Added warning logs to help track down issue UE-33453. Change 3121201 on 2016/09/12 by Keith.Judge Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix. Change 3121302 on 2016/09/12 by Joe.Graf Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors Change 3121379 on 2016/09/12 by Dmitry.Rekman Linux: only link libraries that export needed symbols (UE-35720). - Fixes very long startup times of modular builds. - Includes PR #2778 by slonopotamus. #jira UE-35720 Change 3121383 on 2016/09/12 by Dmitry.Rekman Linux: added some missing _API declarations on symbols used externally. - Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't). Change 3121456 on 2016/09/12 by Daniel.Lamb Attempt to fix deterministic cooking issue for particlelodlevel. Ensure the spawn module has had postload called on it before using. #test Paragon cook Change 3122939 on 2016/09/13 by Luke.Thatcher [PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service. - Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone. Change 3123040 on 2016/09/13 by Brent.Pease + Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now. Change 3123664 on 2016/09/13 by Nick.Shin this was originally checked into: release 4.13.1 bringing here to dev-platform -- original submit comments -- first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing" next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop jira UE-35363 - Huge game window when launching onto Safari 9.1.2 Change 3125282 on 2016/09/14 by Michael.Trepka Fixed iOS and tvOS code indexing in Xcode project Change 3126812 on 2016/09/15 by Josh.Adams Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes: - Added Parse function to JsonObject.cs to be able to parse a string - Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU() - Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME - Converted the PS4MallocCrash class into a generic one (that Wolf is now also using) - Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread - Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere - Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects - Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever) - Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool. - Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini) - Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain. - Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening - Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct. - Renamed a UT copy of a global function to not linker-conflict - Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4. - Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists) - Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority() - Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads? - Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move. Change 3126842 on 2016/09/15 by Michael.Trepka Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation. Change 3126956 on 2016/09/15 by Michael.Trepka Added support for compiling Vulkan shaders for Android on Mac Change 3127206 on 2016/09/15 by Michael.Trepka PR #2604: Remove some warnings. (Contributed by reapazor) Change 3127324 on 2016/09/15 by Michael.Trepka Allow third party dylibs on Mac to be loaded from plugin subfolders Change 3127924 on 2016/09/16 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3128369 on 2016/09/16 by Nick.Shin zlib 1.2.8 headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128377 on 2016/09/16 by Nick.Shin openssl 1_0_2h headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128383 on 2016/09/16 by Nick.Shin libcurl 7_48_0 headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128384 on 2016/09/16 by Nick.Shin libwebsockets 1.7.4 headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128464 on 2016/09/16 by Nick.Shin webRTC rev.12643 NOTE: VS2015 - only Win64 is available - Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment NOTE: VS2013 - not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist - also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways FUTURE NOTE: - will continue to try to get VS2015 Win32 functional - and am working on trying to get VS2013 tested headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128500 on 2016/09/16 by Nick.Shin zlib 1.2.8 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128504 on 2016/09/16 by Nick.Shin openssl 1_0_2h - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128506 on 2016/09/16 by Nick.Shin libcurl 7_48_0 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128508 on 2016/09/16 by Nick.Shin libwebsockets 1.7.4 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128513 on 2016/09/16 by Nick.Shin webRTC rev.12643 - OSX headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128602 on 2016/09/16 by Nick.Shin webRTC rev.9862 - Win64 VS2013 NOTE: - not tested (i'm working on getting a VS2013 pro license) - checking in for testing purposes WARNING: - VS2013 is no longer supported by webRTC latest headers and lib updates part of [ zlib openssl libcurl libwebsockets webrtc ] updates Change 3128605 on 2016/09/16 by Nick.Shin re-enabling updated ThirdParySoftware libs: - zlib (v.1.2.8) - openssl (1.0.2h) - libcurl (7_48_0) - libwebsocket (v.1.7.4) - webRTC (rev.12643) to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build... Change 3128651 on 2016/09/16 by Nick.Shin fix Win32 build error from CL: #3128605 Change 3128704 on 2016/09/16 by Nick.Shin fix Win32 build error from CL: #3128605 - this time actually compiling it... Change 3128825 on 2016/09/16 by Dmitry.Rekman Linux: proper fix for too slow startup times (UE-35967). - Pull request #2793 by slonopotamus. - Now without stripping dependencies on libraries specified before. - Contains a work around for ld bug <2.25. Change 3128972 on 2016/09/16 by Nick.Shin fix to local build error. Change 3129283 on 2016/09/16 by Brent.Pease + Add Android local notification support based on existing system used for iOS + Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release Change 3129494 on 2016/09/17 by Nick.Shin fix CIS build errors Change 3129503 on 2016/09/17 by Dmitry.Rekman Fix Linux build (case sensitivity issue). Change 3129514 on 2016/09/17 by Nick.Shin fix CIS build errors for consoles - missing zlib include path special thanks to Dmitry.Rekman for pointing me in the right direction Change 3129647 on 2016/09/17 by Dmitry.Rekman Linux: fix non-unity build. Change 3131043 on 2016/09/19 by Nick.Shin archiving build instructions/steps when building: - zlib (v.1.2.8) win: #3128369 osx: #3128500 - openssl (1.0.2h) win: #3128377 osx: #3128504 - libcurl (7_48_0) win: #3128383 osx: #3128506 - libwebsocket (v.1.7.4) win: #3128384 osx: #3128508 - webRTC win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP osx: #3128513 Change 3132801 on 2016/09/20 by Dmitry.Rekman Linux: support specifying default OpenGL version via configs (UE-34777). - The first targeted RHI is going to be used. Change 3132905 on 2016/09/20 by Josh.Adams - Fixed up some paths with the WolfPlat rename Change 3133148 on 2016/09/20 by Josh.Adams - Only show UT EULA if PLATFORM_DESKTOP Change 3133152 on 2016/09/20 by Josh.Adams - Beginning support for applets. Disabled unless you have a special SDK with applet support. Change 3133169 on 2016/09/20 by Josh.Adams - Fixed issue with Wolf access but no SDK installed Change 3133344 on 2016/09/20 by Daniel.Lamb Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile. Added new flag to limit number of concurrent shader compiles. #test Cook QAGame, Cook Paragon Change 3133345 on 2016/09/20 by Daniel.Lamb FRedirectCollector collects string asset references all the time when running the editor. #test Cook paragon cook QAGame. Change 3133852 on 2016/09/21 by Luke.Thatcher [PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. Change 3133875 on 2016/09/21 by Luke.Thatcher [PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2) Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'. Change 3134544 on 2016/09/21 by Josh.Adams - Reduced UT textures for Wolf Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick FPS4Time::SystemTime now calculates the local machine time, instead of UTC. #jira UE-35170 Change 3135036 on 2016/09/21 by Michael.Trepka Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32 Change 3135292 on 2016/09/21 by Jeff.Campeau Change include order to favor the XDK edition specific headers where available. Change 3136414 on 2016/09/22 by Josh.Adams - Fixed a checkf() that had the case reversed #jira ue-36311 Change 3137082 on 2016/09/22 by Dmitry.Rekman Added support for Linux installed builds to 4.14 Change 3137220 on 2016/09/22 by Dmitry.Rekman Linux: do not rebuild hlslcc on each setup. - Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary. Change 3137227 on 2016/09/22 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3137259 on 2016/09/22 by Dmitry.Rekman Linux installed build: fix CIS (missed one .csproj) Change 3137290 on 2016/09/22 by Dmitry.Rekman Linux installed builds: fix for the resulting directory. Change 3137291 on 2016/09/22 by Chris.Babcock Restore texture filtering mode properly when movie played on Android #jira UE-36342 #ue4 #android Change 3137376 on 2016/09/22 by Dmitry.Rekman Linux: re-enabled crash handler stack smash protection. - Race condition in FRunnableThreadPThread has been previously fixed. Change 3138498 on 2016/09/23 by Dmitry.Rekman Linux: add missed package for installed builds. - mono-devel package for resgen2. Change 3138523 on 2016/09/23 by Dmitry.Rekman Linux: Update hlslcc now that we're not rebuilding it each time. Change 3138658 on 2016/09/23 by Josh.Adams - Moved UT's Social Plugin into NotForLicensees Change 3139042 on 2016/09/23 by Dmitry.Rekman Linux: more robust check of installed packages. - Also added mono-devel to the list of packages installed on 14.04. Change 3139674 on 2016/09/26 by Dmitry.Rekman Fix crash when editing widget blueprints (UE-35185). - Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping. - Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795). Change 3140203 on 2016/09/26 by Josh.Adams - Wolf Fix for SHIPPING Change 3140206 on 2016/09/26 by Josh.Adams - NEX work, still in progress Change 3140276 on 2016/09/26 by Josh.Adams - Fixed Wolf compile error Change 3140485 on 2016/09/26 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3140570 on 2016/09/26 by Dmitry.Rekman SDL2: Delete obsolete files. - We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space. Change 3140577 on 2016/09/26 by Dmitry.Rekman Fix CudaTest monolithic build. - Not the best fix, the better fix is to build against bundled libc++. Change 3141184 on 2016/09/27 by Keith.Judge Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert. #jira UE-35973 Change 3141623 on 2016/09/27 by Chris.Babcock Support hiding virtual keyboard on Android #jira UE-34201 #ue4 #android Change 3141887 on 2016/09/27 by Joe.Graf Added support for additional plugin directories that are specified by the .uproject file New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins Change 3141916 on 2016/09/27 by Josh.Adams - Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925) Change 3141926 on 2016/09/27 by Josh.Adams - Support for skipping Wolf user selector (-nologinui) Change 3141938 on 2016/09/27 by Chris.Babcock Allow Android media player to seek past 999ms (contributed by rcywongaa) #jira UE-36453 #PR #2797 #ue4 #android Change 3142207 on 2016/09/27 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3142219 on 2016/09/27 by Josh.Adams - Wolf PhysX 3.4 libs and includes Change 3142220 on 2016/09/27 by Josh.Adams - File that had to be fixed up after main merge (missed adding it to the huge integrate CL) Change 3142314 on 2016/09/27 by Chase.McAllister #jira UE-35011 fixes to some assets to remove redundancies/output log spam Change 3142510 on 2016/09/27 by Daniel.Lamb Fixed up resave lightmaps commandlet so that world transforms don't get applied twice. #jira UE-35942 Change 3142650 on 2016/09/27 by Chris.Babcock Android support for Linux by yaakuro - requires CodeWorks for Android Linux installed and OpenJDK 1.8 - need to set Android SDK paths manually in Project Settings #jira UE-32752 #jira UE-32753 #PR #2564 #PR #2565 #ue4 #android #linux Change 3142802 on 2016/09/27 by Dmitry.Rekman Upgrade to SDL 2.0.5-ish (still technically 2.0.4). - Upstream revision 10374:dccf51aee79b. - Merged all our changes hopefully. Change 3143075 on 2016/09/28 by Luke.Thatcher [RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro. #jira UE-33077 Change 3143219 on 2016/09/28 by Daniel.Lamb Added new is compiling function which tells you if it's really compiling instead of lying. If def out additional logging for debugging shader compilation issue for 4.14 release. Change 3143428 on 2016/09/28 by Luke.Thatcher [PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061 Change 3143488 on 2016/09/28 by Daniel.Lamb Changed defaults for skip cooking editor content to true. Change 3143526 on 2016/09/28 by Daniel.Lamb Increased the concurrent shader compile limit while in the cooker. #test Cook paragon Change 3143874 on 2016/09/28 by Chris.Babcock Read Android environment variables from .bashrc on Linux #jira UE-36565 #ue4 #android #linux Change 3143911 on 2016/09/28 by Dmitry.Rekman Fix SDL EGL API binding (UE-18979). - Contains PR #1398 by x414e54. - Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade. Change 3143929 on 2016/09/28 by Daniel.Lamb Removed some more temporary logging. #test Cook paragon Change 3143959 on 2016/09/28 by Jeff.Campeau Media Player for Xbox One Change 3143997 on 2016/09/28 by Dmitry.Rekman Linux: faster linking in Debug. - Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating. Change 3144004 on 2016/09/28 by Dmitry.Rekman Linux: make SCW dump core on crash in debug builds. - If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space). Change 3144007 on 2016/09/28 by Dmitry.Rekman Linux: Allow equals character in command line parameter value (UE-26406). - PR #2019 by bozzaro. - Allows passing parameters like -Switch=Key=Value. Change 3144042 on 2016/09/28 by Jeff.Campeau Add tag for DX12 support being experimental in target settings. #jira UE-36150 Change 3144068 on 2016/09/28 by Dmitry.Rekman Linux: enable using xgConsole in UAT (UE-28096). - PR #2144 by bozzaro. - Picks correct xgConsole binary. - Allegedly fixes crash in CombineXGEItemFile on mono. Change 3144120 on 2016/09/28 by Michael.Trepka Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/... Change 3144172 on 2016/09/28 by Chris.Babcock Add libpng 1.5.27 for Android #jira UE-36573 #ue4 #android Change 3144318 on 2016/09/28 by Chris.Babcock Correct logic for checking .bashrc on Linux #ue4 #android Change 3144331 on 2016/09/28 by Dmitry.Rekman Linux: repair ARM server builds. - Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1). Change 3144354 on 2016/09/28 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) this is intermediate, not fully working Change 3144368 on 2016/09/28 by Josh.Adams - Moved the new Social files into NFL Change 3144395 on 2016/09/28 by Chris.Babcock Add missing functions for AndroidWebBrowserWindow #ue4 #android Change 3144417 on 2016/09/28 by Josh.Adams - Probable fix for FWebBrowserWindow missing virtuals Change 3144438 on 2016/09/28 by Jeff.Campeau XDK updated to 160802 Change 3144569 on 2016/09/29 by Dmitry.Rekman Linux: allow a selectable clock source (UE-36564). - The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew. - Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there. #tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm). Change 3145108 on 2016/09/29 by Joe.Graf Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools) Change 3145245 on 2016/09/29 by Joe.Graf #wolf Checking in removal of plugin use on Win64 per Josh's request Change 3145514 on 2016/09/29 by Will.Fissler Updated Mac Info.plist files to disable high DPI on macOS 10.12 Change 3145538 on 2016/09/29 by Josh.Adams - Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots. Change 3145540 on 2016/09/29 by Josh.Adams - Fix for checking some Wolf dev tool installation existence - Fix for various Wolf build issues - Fix for Wolf devices not showing up in Launch on Change 3145542 on 2016/09/29 by Josh.Adams - Pulled over Wolf changes from Wolf branch into Dev-Platform Change 3145572 on 2016/09/29 by Josh.Adams - Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people. #jira UE-36591 Change 3145769 on 2016/09/29 by Chris.Babcock Remove duplicate platforms from deploy list in UFE #jira UE-36636 #ue4 Change 3146061 on 2016/09/29 by Chris.Babcock Linux: be less spammy in log when launching external procs #jira UE-36638 #ue4 #linux Change 3146208 on 2016/09/29 by Dmitry.Rekman Linux: fix PhysX crash (UE-36613). - PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above. - This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun. #jira UE-36613 Change 3146476 on 2016/09/30 by Josh.Adams - Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose Change 3146554 on 2016/09/30 by Josh.Adams - Removed another wolf secret log Change 3146626 on 2016/09/30 by Josh.Adams Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform) Change 3146712 on 2016/09/30 by Josh.Adams - Fixed case for building Android on Linux #jira #UE-36652 Change 3146844 on 2016/09/30 by Josh.Adams - Removed ES2 shader compiling from TVOS, and force Metal compiling #jira UE-36306 Change 3146865 on 2016/09/30 by Daniel.Lamb Removed temp logging for materials #test Launch on paragon Change 3146874 on 2016/09/30 by Dmitry.Rekman Linux: add rpath for libTextureConverter.so (UE-36620). Change 3147030 on 2016/09/30 by Josh.Adams - Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks #jira UE-36623 Change 3147151 on 2016/09/30 by Josh.Adams - Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling? Change 3147621 on 2016/09/30 by Michael.Trepka Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac Change 3147712 on 2016/09/30 by Josh.Adams - Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform. #jira UE-36225 Change 3147725 on 2016/09/30 by Josh.Adams - Fixed yet another Wolf log for people with Wolf access but no SDK [CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
}
CefRefPtr<CefDictionaryValue> FCEFWebBrowserWindow::GetProcessInfo()
{
CefRefPtr<CefDictionaryValue> Retval = nullptr;
if (IsValid())
{
Retval = CefDictionaryValue::Create();
Retval->SetInt("browser", InternalCefBrowser->GetIdentifier());
Retval->SetDictionary("bindings", Scripting->GetPermanentBindings());
}
return Retval;
}
bool FCEFWebBrowserWindow::OnProcessMessageReceived(CefRefPtr<CefBrowser> Browser, CefRefPtr<CefFrame> frame, CefProcessId SourceProcess, CefRefPtr<CefProcessMessage> Message)
{
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
bool bHandled = Scripting->OnProcessMessageReceived(Browser, SourceProcess, Message);
if (!bHandled)
{
#if !PLATFORM_LINUX
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
bHandled = Ime->OnProcessMessageReceived(Browser, SourceProcess, Message);
#endif
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
}
return bHandled;
}
void FCEFWebBrowserWindow::BindUObject(const FString& Name, UObject* Object, bool bIsPermanent)
{
Scripting->BindUObject(Name, Object, bIsPermanent);
}
void FCEFWebBrowserWindow::UnbindUObject(const FString& Name, UObject* Object, bool bIsPermanent)
{
Scripting->UnbindUObject(Name, Object, bIsPermanent);
}
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 FCEFWebBrowserWindow::BindInputMethodSystem(ITextInputMethodSystem* TextInputMethodSystem)
{
#if !PLATFORM_LINUX
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
Ime->BindInputMethodSystem(TextInputMethodSystem);
#endif
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 FCEFWebBrowserWindow::UnbindInputMethodSystem()
{
#if !PLATFORM_LINUX
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
Ime->UnbindInputMethodSystem();
#endif
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 FCEFWebBrowserWindow::OnBrowserClosing()
{
bIsClosing = true;
}
void FCEFWebBrowserWindow::OnBrowserClosed()
{
if(OnCloseWindow().IsBound())
{
OnCloseWindow().Execute(TWeakPtr<IWebBrowserWindow>(SharedThis(this)));
}
Scripting->UnbindCefBrowser();
#if !PLATFORM_LINUX
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
Ime->UnbindCefBrowser();
#endif
InternalCefBrowser = nullptr;
}
void FCEFWebBrowserWindow::SetPopupMenuPosition(CefRect CefPopupSize)
{
// We only store the position, as the size will be provided ib the OnPaint call.
PopupPosition = FIntPoint(CefPopupSize.x, CefPopupSize.y);
}
void FCEFWebBrowserWindow:: ShowPopupMenu(bool bShow)
{
if (bShow)
{
bShowPopupRequested = true; // We have to delay showing the popup until we get the first OnPaint on it.
}
else
{
bPopupHasFocus = false;
bShowPopupRequested = false;
OnDismissPopup().Broadcast();
}
}
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 FCEFWebBrowserWindow::OnImeCompositionRangeChanged(
CefRefPtr<CefBrowser> Browser,
const CefRange& SelectionRange,
const CefRenderHandler::RectList& CharacterBounds)
{
if (InternalCefBrowser != nullptr && InternalCefBrowser->IsSame(Browser))
{
#if !PLATFORM_LINUX
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
Ime->CEFCompositionRangeChanged(SelectionRange, CharacterBounds);
#endif
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
}
}
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
void FCEFWebBrowserWindow::UpdateDragRegions(const TArray<FWebBrowserDragRegion>& Regions)
{
DragRegions = Regions;
}
bool FCEFWebBrowserWindow::IsInDragRegion(const FIntPoint& Point)
{
// Here we traverse the array of drag regions backwards because we assume the drag regions are z ordered such that
// the end of the list contains the drag regions of the top most elements of the web page. We can stop checking
// once we hit a region that contains our point.
for (int32 Idx = DragRegions.Num() - 1; Idx >= 0; --Idx)
{
if (DragRegions[Idx].Rect.Contains(Point))
{
return DragRegions[Idx].bDraggable;
}
}
return false;
}
#endif