Files
UnrealEngineUWP/Engine/Source/Runtime/WebBrowser/Private/SWebBrowserView.cpp

698 lines
18 KiB
C++
Raw Normal View History

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "SWebBrowserView.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "Misc/CommandLine.h"
#include "Misc/ConfigCacheIni.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "Containers/Ticker.h"
#include "WebBrowserModule.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3209340 on 2016/11/23 by Ben.Marsh Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h. Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms. * Every header now includes everything it needs to compile. * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first. * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h. * Every .cpp file includes its matching .h file first. * This helps validate that each header is including everything it needs to compile. * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more. * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there. * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible. * No engine code explicitly includes a precompiled header any more. * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies. * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files. Tool used to generate this transform is at Engine\Source\Programs\IncludeTool. [CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
#include "Layout/WidgetPath.h"
#include "Framework/Application/MenuStack.h"
#include "Framework/Application/SlateApplication.h"
#include "IWebBrowserDialog.h"
#include "IWebBrowserWindow.h"
#include "WebBrowserViewport.h"
#include "IWebBrowserAdapter.h"
#if PLATFORM_ANDROID && USE_ANDROID_JNI
# include "Android/AndroidWebBrowserWindow.h"
Copying //UE4/Dev-Mobile to //UE4/Main (Source: //UE4/Dev-Mobile @ 2945914) ========================== MAJOR FEATURES + CHANGES ========================== Change 2911743 on 2016/03/16 by Allan.Bentham Fix broken tonemapper when using 32bpp encoded HDR. Fixes UE-28359 Cleaned up some ronin integration hacks from ronin. Change 2912053 on 2016/03/16 by Peter.Sauerbrei disable Vulkan in Win32 builds for now #codereview rolando.caloca #jira UE-28465 Change 2914512 on 2016/03/18 by Dmitriy.Dyomin Fixed crash on Nexus5 with Android 4.4.2 when TonemapperFilm is enabled Change 2914944 on 2016/03/18 by Allan.Bentham Fix es2 tonemap flip. Fixes UE-25148 Change 2915248 on 2016/03/18 by Chris.Babcock Updates to support NDK r11 #jira UE-28529 #ue4 #android Change 2919192 on 2016/03/22 by Chris.Babcock NDK level set above 19 forces minSdkVersion to 21 or above to prevent installing on unsupported devices #jira UE-28408 #ue4 #android #codereview Jack.Porter Change 2919591 on 2016/03/23 by Allan.Bentham Merge ronin's Gaussian DoF to 4.11's dof changes. Gaussian DoF will use a single recombine pass with ES31 devices or if no separate translucency is used on SM4+. Added permutation to exclude separate translucency from Gaussian recombine shader when not in use. #codereview martin.mittring Change 2920758 on 2016/03/24 by Dmitriy.Dyomin Fixed: shifting lighting samples octree https://udn.unrealengine.com/questions/276026/lighting-samples-visualization-not-working-with-le.html Change 2920793 on 2016/03/24 by Dmitriy.Dyomin Fixed: When sub-level set to be unloaded but with visbility state set to true, ULevelStreaming::IsStreamingStatePending returns wrong value #jira UE-26426 Change 2920981 on 2016/03/24 by Dmitriy.Dyomin GPU particles support for iOS Metal (A8+ only) #jira UE-11067 #jira UE-28514 #codereview Jack.Porter Change 2921383 on 2016/03/24 by Allan.Bentham Fix inverted image on device when framebuffer fetch/bViewRectSource is not used. #codereview jack.porter Change 2925694 on 2016/03/29 by Dmitriy.Dyomin Fixed: GPU particles and bloom on S7 Mali Change 2927065 on 2016/03/29 by Chris.Babcock Set the DT_SONAME field in linker (stops warning toast) #ue4 #android #codereview Jack.Porter Change 2927375 on 2016/03/30 by Jack.Porter Fixed localization for placement mode Cube, Sphere, Cylinder and Cone Change 2928643 on 2016/03/30 by Jack.Porter Fixed bug introdued by Ronin merge with DepthOfFieldScale setting being locked for BokehDOF #code_review: allan.bentham Change 2932773 on 2016/04/04 by Jack.Porter Reapply android Vulkan version fixes Change 2932853 on 2016/04/05 by Jack.Porter Enable VULKAN_CLEAR_SURFACE_ON_CREATE on Android to prevent assertion Change 2932998 on 2016/04/05 by Jack.Porter Native web browser widget on iOS #jira UEMOB-20 Change 2933420 on 2016/04/05 by Chris.Babcock Removed hard-coded bUseUnityBuild in UBT for Android (contributed by kosz78) #jira UE-29066 #pr #2236 #ue4 #android Change 2934315 on 2016/04/05 by Chris.Babcock Allow Android to act as server with OnlineSubsystemNull (contributed by psychogony) #jira UE-23937 #PR #1820 #ue4 #android #codereview Ryan.Gerleve Change 2935038 on 2016/04/06 by Chris.Babcock Fix OpenGLES31 compile error #ue4 #android #codereview Jack.Porter Change 2936288 on 2016/04/07 by Allan.Bentham Planar reflection captures for mobile. (UE-27426) Added mobile planar reflection flag to material. #codereview jack.porter, daniel.wright Change 2936297 on 2016/04/07 by Allan.Bentham Missed file. Planar reflection captures for mobile. (UE-27426) #codereview jack.porter, daniel.wright Change 2937763 on 2016/04/08 by Dmitriy.Dyomin Fix InstancedStaticMesh batches for ES2 (contributed by Grimmick) GitHub #2031 #jira UE-26576 #codereview Jack.Porter Change 2937863 on 2016/04/08 by Jack.Porter Merged Ronin CLs 2840392, 2860028 Allow vertex texture fetches on ES2 (requires absolute mip level) Change 2938461 on 2016/04/08 by Chris.Babcock Write Android uninstall batch files #ue4 #android Change 2939679 on 2016/04/11 by Allan.Bentham Remove bStationaryLightUsesCSMForMovableShadows from light component's UI. renamed proxy equivalent and infer its state from Inset Shadows For Movable Objects #codereview jack.porter, daniel.wright Change 2939887 on 2016/04/11 by Chris.Babcock Android ARM64 libraries #jira UEPLAT-1268 #ue4 #android Change 2940125 on 2016/04/11 by Chris.Babcock Added requirements to Arm64 and x86_64 tooltips Change 2941051 on 2016/04/12 by Allan.Bentham Fix for inverted RG channels when using filmic tonemapper with ES2. #codereview jack.porter Change 2942523 on 2016/04/13 by Chris.Babcock Add cxa_demangle build.cs instead of hiding dependency in UEBuildAndroid.cs #ue4 #android #codereview Josh.Adams Change 2942578 on 2016/04/13 by Chris.Babcock Add cxademangle dependency to Core for Android #ue4 #android #codereview Josh.Adams Change 2942997 on 2016/04/13 by Chris.Babcock Run Ant with -quiet first and run again without if there is an error for the log #ue4 #android #codereview Josh.Adams Change 2943320 on 2016/04/14 by Jack.Porter Fixed planar reflection merge errors Change 2943352 on 2016/04/14 by Jack.Porter Fix NAME_VULKAN_ES3_1_ANDROID shader format name #codereview: Rolando.Coloca Change 2943367 on 2016/04/14 by Dmitriy.Dyomin Added cvars to add or strip specific GL extensions from a driver reported extensions string #jira UE-29467 Change 2943425 on 2016/04/14 by Dmitriy.Dyomin Better logging of MobileHDR mode Change 2943461 on 2016/04/14 by Dmitriy.Dyomin Fixing HDR rendering and bloom on Galaxy S7 Change 2943493 on 2016/04/14 by Dmitriy.Dyomin Better HDR fix for devices with ES3 support Change 2943855 on 2016/04/14 by Allan.Bentham Mobile planar reflections. - currently only supports opaque materials #codereview jack.porter Change 2944721 on 2016/04/14 by Chris.Babcock Allow Vulkan-only Android builds #ue4 #android #codereview Allan.Bentham,Jack.Porter Change 2944771 on 2016/04/14 by Dmitriy.Dyomin Fixed: mesh particles crash in ES2 Change 2944827 on 2016/04/15 by Dmitriy.Dyomin Fixed: GPU particles not working on S6 with Android 6.0.1 Change 2944836 on 2016/04/15 by Jack.Porter Disable FX system calls in forward renderer when particles showflag is off Change 2944840 on 2016/04/15 by Jack.Porter Re-enabled non-radial TDeferredLightVS on ES2 for planar and put #if FEATURE_LEVEL >= FEATURE_LEVEL_SM4 around the radial shader code which was tripping up ES2. #codereview: Allan.Bentham, Chris.Babcock, Daniel.Wright Change 2944914 on 2016/04/15 by Jack.Porter Device profiles to detect Galaxy S7 Mali and Adreno variants in Vulkan mode Change 2945020 on 2016/04/15 by Gareth.Martin Cloning changes across from Dev-Landscape to Dev-Mobile due to feature deadline for 4.12. Change 2943560 on 2016/04/14 by Gareth.Martin Added ability to expand landscape bounds #jira UE-28928 #jira UE-25230 Change 2943538 on 2016/04/14 by Gareth.Martin Fix a crash with saving a level >2GB in size. There may still be other crashes with >2GB levels. Change 2943477 on 2016/04/14 by Gareth.Martin Fixed LODFalloff setting on landscape getting reset when using the "Change Landscape Component Size" tool Also moved all the LOD settings together in LandscapeProxy.h because it was messy Change 2942113 on 2016/04/13 by Gareth.Martin Updating comment to clarify behaviour of Foliage Align-To-Normal when Random-Yaw is disabled. Change 2941030 on 2016/04/12 by Gareth.Martin Cleanup and commenting Change 2940994 on 2016/04/12 by Gareth.Martin Implement random scale option for Landscape Grass. #jira UE-25743 Change 2940993 on 2016/04/12 by Gareth.Martin Remove unused BuildFlatTree function from HierarchicalInstancedStaticMeshComponent Change 2940150 on 2016/04/11 by Gareth.Martin Harden UHierarchicalInstancedStaticMeshComponent::UpdateInstanceTransform Change 2940101 on 2016/04/11 by Gareth.Martin Additional checks for bad static mesh when building the HISMC tree Change 2945560 on 2016/04/15 by Rolando.Caloca DM - Fix for newer Vulkan sdks Change 2945638 on 2016/04/15 by Chris.Babcock Fix permissions on uninstall script on Mac #jira UE-29236 #ue4 #android #lockdown Jack.Porter Change 2945856 on 2016/04/15 by Rolando.Caloca DM - vk - Fix mapped allocations on mobile #lockdown nick.penwarden [CL 2945995 by Chris Babcock in Main branch]
2016-04-15 18:19:26 -04:00
#elif PLATFORM_IOS
# include "IOS/IOSPlatformWebBrowser.h"
Copying //UE4/Orion-Staging to //UE4/Dev-Main (//UE4/Orion-Staging @ 2979119, //Orion/Dev-General @2976565) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2976484 on 2016/05/12 by Jason.Bestimt #ROBOMERGE-AUTHOR: nick.atamas Added queueing to HUD Alerts so they don't clobber each other. Added input visualization so that keys show up in game. SRichTextBlock/UOrionRichTextBlock now have a MinDesiredWidth #test PIE #ROBOMERGE-SOURCE: CL 2976474 in //Orion/Release-0.26/... via CL 2976481 via CL 2976482 via CL 2976483 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2976256 on 2016/05/12 by Zak.Middleton #ue4 - Fix for shipping build. #tests compiled Change 2976205 on 2016/05/12 by Zak.Middleton #ue4 - (Merge 2957866) Add MaxDepenetration for characters against geometry and pawns. #tests MP PIE PlayGo (Merging CL 2957866 using Framework->DevGeneral) Change 2976166 on 2016/05/12 by Daniel.Lamb Cooking optimziation to unsolicited markup saves 150 seconds paragon cook time. #test Cook paragon Change 2976161 on 2016/05/12 by Zak.Middleton #ue4 - Make sure LastUpdateLocation, Rotation, and Velocity are updated on client and server error corrections. ForcePositionUpdate should call PerformMovement regardless of velocity (there may be root motion or gravity effects). #tests PIE MP w/ real-world networking Change 2976092 on 2016/05/12 by Mieszko.Zielinski Modified adding dynamic subtrees to BT component so that we get a log info if it fails #UE4 #test golden path Change 2976001 on 2016/05/12 by Robert.Manuszewski Don't log to memory on dedicated servers #jira UE-30693 #test Cooked dedicated server and client Change 2975855 on 2016/05/12 by Lukasz.Furman fixed behavior tree serialization spawning duplicates of task services #tests BT editor Change 2975706 on 2016/05/12 by Daniel.Lamb Fixed redirect collector stats. #test Compile Change 2975636 on 2016/05/12 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge DUI @ CL 2975557 #RB:none #Tests:none [CodeReviewed]: matt.schembari, kerrington.smith, tony.oliva, jaymee.stanford, mona.huang, alex.conner, jacob.lawyer, paul.shank #ROBOMERGE-SOURCE: CL 2975635 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2975592 on 2016/05/12 by Zak.Middleton #ue4 - Add stat for SetHitResultFromShapeAndFaceIndex(). #tests PIE Change 2975589 on 2016/05/12 by Zak.Middleton #ue4 - Avoid filling temp variable unless in Editor builds. It's only used later in the function in Editor builds. #tests PIE Change 2975588 on 2016/05/12 by Zak.Middleton #ue4 - Minor tweak to avoid array read each loop iteration. #tests PIE Change 2975587 on 2016/05/12 by Zak.Middleton #ue4 - Add "IsPlayerController()" function to AController. Variable already existed, just wasn't exposed. #tests PIE Change 2975504 on 2016/05/12 by Daniel.Lamb Remove new stats system because it broke build. #test cook paragon Change 2975500 on 2016/05/12 by Daniel.Lamb Enable redirect timers so I can get stats from build machines. #test cook paragon. Change 2975367 on 2016/05/12 by Jason.Bestimt #ROBOMERGE-AUTHOR: david.nikdel #OGF #CatalogService #OSS #Localization - Flush the cached offers/items in CatalogServiceMcp when the culture changes since they contain localized text - Flush the cached virtual catalog offers/items in McpCatalogHelper when the culture changes since they contain localized text - Replaced SetForceCatalogRefresh with ClearCache per CR with SamZ (will require Launcher fixup) [CodeReviewed]: Sam.Zamani, Matt.Kuhlenschmidt #RB: Sam.Zamani #TESTS: storefront w/ language change #ROBOMERGE-SOURCE: CL 2975366 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2975209 on 2016/05/12 by Simon.Tovey Fixed initialization order warning. #tests none Change 2975200 on 2016/05/12 by Simon.Tovey Translucency GPU time stats for automation. Refactored separate translucency gpu timer to more general helper class and used it to also time regular translucency. Feeding both of these into a stat to help art identify poorly performing VFX for more detailed investigation. There are occasional spikes when the GPU is starved but overall the data out seems good. #tests GoldenPath, Editor, Auto downsampling works, new stat produces reasonable data. Change 2974984 on 2016/05/11 by Mieszko.Zielinski Fixed a bug in graph-a-star heuristics' calculation #UE4 #test golden path Change 2974916 on 2016/05/11 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 26 @ CL 2974578 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2974915 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2974869 on 2016/05/11 by Ben.Marsh BuildGraph: Add a MergeTelemetryWithPrefix="..." parameter to the <Command> task which allows merging the telemetry data from a child UAT run, adding a given prefix to all the key names. #tests none Change 2974673 on 2016/05/11 by Mieszko.Zielinski Fix to BT not stopping if "StopTree" called while BT was waiting for a task to latently abort #UE4 (change by ?ukasz.Furman) #test golden path Change 2974581 on 2016/05/11 by Jason.Bestimt #ROBOMERGE-AUTHOR: matt.kuhlenschmidt Merged CL 2974565 from Release-.26 -> Main: Fixed loc region not saving in shipping builds Partially fixed store not refreshing when changing regions. Real money currency items are pending additional fixes #ROBOMERGE-SOURCE: CL 2974578 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2974444 on 2016/05/11 by Jason.Bestimt #ROBOMERGE-AUTHOR: richard.fawcett Reimplement support for specifying BuildPatchTool version used in chunking This is now possible after Ben Marsh's fix to BuildGraph with CL 2974407. #tests none #ROBOMERGE-SOURCE: CL 2974441 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2974408 on 2016/05/11 by Jason.Bestimt #ROBOMERGE-AUTHOR: ben.marsh BuildGraph: Fix support for variable expansion in user-defined enum types. Enums in the schema are now represented as the union of valid values and a regex matching a balanced property expansion string, which still validates/autocompletes cleanly in Visual Studio. #tests none [CodeReviewed] Richard.Fawcett #ROBOMERGE-SOURCE: CL 2974407 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2974392 on 2016/05/11 by Daniel.Lamb Optimizing resolve string asset reference resolution. Added timing stats (disabled by default). #test Cook paragon. Change 2974349 on 2016/05/11 by Jason.Bestimt #ROBOMERGE-AUTHOR: richard.fawcett Back out changelist 2974298. An issue with the BuildGraph system has prevented this change from working on the build farm. #tests none #ROBOMERGE-SOURCE: CL 2974347 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2974299 on 2016/05/11 by Jason.Bestimt #ROBOMERGE-AUTHOR: richard.fawcett Add support for chunking builds with the pre-release version of BuildPatchTool. #tests None. This code will be tested by creating a build on the build farm immediately after submission. #ROBOMERGE-SOURCE: CL 2974298 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2974277 on 2016/05/11 by Lina.Halper Fix up of retargeting when it skips replacing nested reference #tests: retargeting anim BP Change 2974210 on 2016/05/11 by Bart.Bressler Merging Oodle changes from Dev-Networking Change 2939167 on 2016/04/10 by John.Barrett Updated packet bit termination code, so that both UNetConnection's and the PacketHandler use a termination bit (required for both PacketHandler/UNetconnection, as HandlerComponent's such as Oodle, are byte-aligned and do not preserve packet bit size). Added new 'stat packet' stats group, for tracking reserved packet bits. Added '-NoPacketHandler' commandline parameter, for disabling the PacketHandler and all HandlerComponent's (including stateless handshake) - restoring netcode to pre-PacketHandler state. Removed PacketHandler 'packet overhead' method of packet bit size calculation - replaced with termination bit. Still partially used for reserving bits within packets (but renamed to avoid conflict with other 'PacketOverhead' variable). Refactored/consolidated some PacketHandler code. Added more stringent bounds checking on packet sizes. Change 2939168 on 2016/04/10 by John.Barrett Updated Oodle to support new packet bit-termination code. Added Oodle protocol support for selective packet compression (packets can now be sent uncompressed - game code will require a hook for this) - required for new bit-based netcode (Oodle outputs byte-aligned data, allowing compressed data to exceed size of uncompressed data - and thus, maximum packet size if not sent uncompressed - in rare edge cases). Added '-CompressionTest' commandline parameter to Oodle dictionary generation commandlet, which reserves a portion of captured packets, for determining the compression savings percentage. Added '-OodleDebugDump' commandline parameter, which disables normal dictionary generation, and converts packet captures into a .bin file, which is compatible with the Oodle 'example_packet.cpp' code. Added temporary security bandaids to Oodle code, based on report that Luigi Auriemma put together, which deals with potential weaknesses in the Oodle API Added 'stat oodle' stats for tracking failed attempts at compressing packets. Change 2942964 on 2016/04/10 by Ryan.Gerleve Fix broken indentation/formatting Change 2958260 on 2016/04/27 by Bart.bRessler Add branch name and changelist to oodle packet capture filenames. Change 2964360 on 2016/05/03 by John.Barrett Updated Oodle to support using a dictionary and capturing packets at the same time. The dictionary is now always loaded, if specified, and whenever -OodleCapturing is on the commandline, packets are captured alongside the active dictionary. Added several debug commands, to aid with testing compression performance (not QA-ready; only works with 1 player on a server): "Oodle Compression On/Off" - enables/disables packet compression (but still decompresses received compressed packets) "Oodle Dictionary Unload/Load" - unloads/loads the dictionary files, to allow releasing the files for dictionary generation, and reloading the new dictionary. "Oodle Capture On/Off" - Enables/Disables packet capturing at runtime - requires '-OodleCapturing' on commandline. "Oodle ResetStats" - resets the 'stat oodle' stat counters. The NetcodeUnitTest plugin should be enabled, so that these commands can automatically execute on the server as well, as needed. Change 2964553 on 2016/05/03 by Bart.Bressler Add process ID to oodle capture filenames Change 2966247 on 2016/05/04 by John.Pollard Oodle 2.1.5 SDK Change 2968761 on 2016/05/06 by Bart.Bressler - Added changelist number as parameter to most command line tasks to filter captures by their changelist number (use "all" to get everything) - Moved a bunch of the file searching/processing code outside of the tasks themselves so that the tasks all just operate to an array of capture files, this makes it easier to create new command line options - When looking for capture files, we will now recursively search subdirectories Change 2970529 on 2016/05/09 by Bart.Bressler Add an optional "CapturePercentage" command line parameter that has a percentage chance of generating capture files per connection Change 2970874 on 2016/05/09 by Bart.Bressler - Turn on OODLE_DEV_SHIPPING in the Orion server shipping config so that captures can be generated in shipping builds - Link to version 215 of oodle Change 2971233 on 2016/05/09 by Bart.Bressler Update Oodle DLLs in Orion Change 2971362 on 2016/05/09 by Bart.Bressler Create script for building an oodle dictionary out of capture files in an arbitrary location Change 2972176 on 2016/05/10 by Bart.Bressler Update oodle references to version 215 in OodleHandlerComponent.Build.cs #tests used solo vs. ai to test oodle captures and using them Change 2974035 on 2016/05/11 by Simon.Tovey Adding fx.ParticleCollisionIgnoreInvisibleTime to replace hard coded time. This is the time a PSC needs to be invisible for to have all it's collisions ignored. This is potentially the cause of a bug Tim et al are seeing. #tests Editor, Can be used to repro/fix the issue. Change 2973985 on 2016/05/11 by Lina.Halper Retargeting fix with editor saving issue #tests: retargeting Change 2973695 on 2016/05/11 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 26 @ CL 2973469 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2973694 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2973679 on 2016/05/11 by Graeme.Thornton UAT parameter -signedpak now no longer implies -pak #tests win64 cooked client. checked that pak generation works as expected through project launcher Change 2973588 on 2016/05/11 by Simon.Tovey OR-21033 - Get physical material from particle collision event exposed in Cascade / Blueprint Particles can now receive collision events selectively based upon the phyisics material of the hit. Physics material is passed through the event and can be accessed in BPs. The Event Receiver Spawn node also now has an array of Allowed and Banned phys materials. #tests Editor and game. Coudln't test cooked as having unrelated crashes in cooked games. Shouldn't be any cooked/uncooked issues here. Change 2973394 on 2016/05/11 by bruce.nesbit Fixed couple of shadow vars #tests compiled Change 2973335 on 2016/05/11 by Andrew.Grant Warning fix #tests compiled Change 2973308 on 2016/05/10 by Dmitry.Rekman Add "unplayable condition" reporting. - The server will report an unplayable condition by creating a local file (under Saved). - An external script can possibly notice this and, applying its own logic on % of servers reporting it, profile or shutdown the whole machine. - Report file is to be deleted by an external script. #tests Compiled and ran Linux server, subjected it to various hitches. Change 2973235 on 2016/05/10 by Zak.Middleton #ue4 - Removed allocs after initial spawn from client saved move processing in character movement. #tests PIE multiplayer w/ Bots Change 2973157 on 2016/05/10 by Olaf.Piesche Merging CL 2973112 from //UE4/Dev-Rendering->//Orion/Dev-General Providing particle source and target for beam emitters #tests editor game PC Change 2972715 on 2016/05/10 by Jason.Bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 26 @ CL 2972681 #RB: none #Tests:none #ROBOMERGE-SOURCE: CL 2972712 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2972678 on 2016/05/10 by Mieszko.Zielinski Fixed babysitter bot not avoiding enemy towers when pathfinding back to base #Orion #jira OR-18590 #test golden path Change 2972595 on 2016/05/10 by Lina.Halper Animation Retargeting fix for blendspaces #code review: Benn.Gallagher, Martin.Wilson #tests: retargeting anim BP Change 2972282 on 2016/05/10 by Daniel.Lamb Optimized string asset reference resolution slightly to help get back missing 10 minutes from paragon cook. #test cook paragon. Change 2972260 on 2016/05/10 by Laurent.Delayen Fixed crash in UCharacterMovementComponent::HasRootMotionSources(). #tests Chains pull not crashing anymore. Change 2972241 on 2016/05/10 by Frank.Fella UMG - Fixes for material animation copied from 4.12. #RB Matt K. #TESTS Struct materials can now be animated and animated materials are named nicely. Change 2971643 on 2016/05/09 by Dmitry.Rekman Add reporting of "zero load" frame times (OR-21035). - Added a thread that does nothing but sleeps and counts how often it missed the target FPS. - Added an analytics event ServerZeroLoadFrameTimeDistribution that is sent at the end of the match. - Server only. #tests Compiled and ran Linux server on a compatible content, played few matches in a row. Change 2971544 on 2016/05/09 by Ben.Marsh EC: Use a full path to the telemetry file, to account for UAT switching directories. Change 2971532 on 2016/05/09 by Wes.Hunt Alter the cook stats hierarchical profile data to reflect the latest cook changes. #tests none Change 2971527 on 2016/05/09 by Ben.Marsh UAT: Move telemetry object into CommandUtils, so we can add stats from anywhere. #tests none Change 2971461 on 2016/05/09 by David.Ratti Fix issues with mesh swap skins: -Front end intro animations not playing -In game spawn animations not playing -Some attachment weirdness (twinblast) #tests golden path Change 2971460 on 2016/05/09 by David.Ratti Fallback to Target actor if there is no instigating actor in the GAmeplayCue parameters when determining if we should play "local only" effects #tests pie Change 2971364 on 2016/05/09 by Ben.Marsh EC: Add support for adding custom telemetry data from UAT scripts, which gets piped through to the trends panel in EC. #tests none Change 2971245 on 2016/05/09 by Dmitry.Rekman Add a "hitchhunter" log message to catch hitches while sleeping. #tests Compiled and ran Linux server on a compatible content. Change 2971196 on 2016/05/09 by jason.bestimt #ORION_MAIN - Merge 25.2 @ CL 2971139 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2971168 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. //Orion/Dev-General/OrionGame/Content/Characters/Heroes/Coil/Audio/Body/Pixie_Cranking_Loop_Cue.uasset - can't branch exclusive file already opened #CodeReview: david.nikdel, jason.bestimt Change 2971113 on 2016/05/09 by Dmitry.Rekman UdpMessaging: Fixed broken filters for when to enable UDP transport. - Redoing MaxP's change from Dev-Sequencer (CL 2963357). - Reduces number of threads spawned by the server. #tests Compiled Linux server, ran it on a compatible content. Change 2971040 on 2016/05/09 by jason.bestimt #ORION_MAIN - Merge 25.2 @ CL 2970990 #RB:none #Tests:none [CodeReviewed]: jon.lietz #ROBOMERGE-SOURCE: CL 2971027 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) #ROBOMERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human. #CodeReview: david.nikdel, jason.bestimt Change 2970555 on 2016/05/09 by Ben.Marsh BuildGraph: Only show warnings and errors for the SavePackage log during cooks. Prevents redundant display of information that's already in the Cook log. #tests preflight here: https://ec-01.epicgames.net/commander/link/jobDetails/jobs/6443796 Change 2970507 on 2016/05/09 by David.Ratti Support for linking passive abilities to a key binded ability. E.g., allow a passive ability to be unlocked and leveled up in step with a key binded ability. Cleaned up the TryLevel/CanLevelUp code a bit: moved to Orion Ability System Component #tests pie Change 2970414 on 2016/05/09 by Graeme.Thornton Don't take a copy of the child tags array when doing UGameplayTagsManager::FindTagNode, just take a const& #tests win64 client golden path Change 2969729 on 2016/05/06 by Mieszko.Zielinski Fixed a dumb mistake in a conditional expresion in UNavigationQueryFilter::GetQueryFilter #UE4 #test golden path Change 2969675 on 2016/05/06 by Mieszko.Zielinski Implemented "meta navigation filter" that can fetch a filter class based on given agent #UE4 Added NavFilter_AIControllerDefault that fetched DefaultNavigationFilter from AIController Reverted hack-feature that supplied same functionality to EQS #test golden path Change 2969652 on 2016/05/06 by Michael.Noland HLOD: Changed UI gating code so that whether or not a LOD Actor is valid is based on the presence of at least two static mesh components, rather than at least two actors (to improve handling when including BPs) - Repurposed HasValidSubActors for this check, and introduced HasAnySubActors() for the existing uses as this better matches the intent of how the function was used #tests Added a single BP containing 7 mesh components to a new ALODActor and verified that it allowed a proxy to be generated Change 2969651 on 2016/05/06 by Michael.Noland Simplygon: Added time taken for simplygon mesh reduction to the log message #tests Simplified a LOD cluster and inspected the log Change 2969604 on 2016/05/06 by Uriel.Doyon Changed default value to true for UParticleModuleVectorFieldLocal::bUseFixDT. #tests confirmed that default value has changed for old assets, while allowing override. Change 2969418 on 2016/05/06 by jason.bestimt #ROBOMERGE-AUTHOR: andrew.grant Fixed unconverted char string being passed as part of build info #tests ran & verified patch check passes #ROBOMERGE-SOURCE: CL 2969417 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2968817 on 2016/05/06 by jason.bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 25.2 @ CL 2968572 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2968813 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2968383 on 2016/05/05 by Mieszko.Zielinski Added "default navigation filter" to AIController #UE4 Also, made EQS take advantage of that #test golden path Change 2968225 on 2016/05/05 by John.Pollard Add sanity checks and more info to help track down possible memory corruption #tests Networking, replication Change 2967903 on 2016/05/05 by jason.bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 25.2 @ CL 2967827 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2967902 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2967899 on 2016/05/05 by Lina.Halper Merged change of 2956152 Remove invalid ensure - this didn't work if you have composite inside. #tests: none Change 2967870 on 2016/05/05 by Andrew.Grant Fix for OR-20731 (gamever crashes client) #tests gamever at console with -game Change 2967606 on 2016/05/05 by Wes.Hunt Tweaked output log message for HTTP module shutdown. #tests none Change 2967359 on 2016/05/05 by Wes.Hunt HttpManager will log outstanding requests on shutdown so people can debug shutdown issues and ensure their requests get flushed properly. Also changed default LogHttp logging level to display so these messages can be shown by default without using warning level. #tests ran editor build and queued up an event using the console command, then quit immediately. the log indeed showed that HttpManager had to wait at least 0.5 seconds for the request to complete. Change 2966987 on 2016/05/05 by Dmitry.Rekman Fix editor build. #tests Compiled Win64 editor. Change 2966977 on 2016/05/05 by Dmitry.Rekman Added collecting and reporting periodic server frame time distribution. - Added generic FHistogram class and necessary analytic events. - Also added reporting hostname (OR-20842). #tests Built Linux server and ran a few matches on a compatible content. Change 2966920 on 2016/05/04 by jason.bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 25.2 @ CL 2966805 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2966919 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2966778 on 2016/05/04 by Michael.Noland Rendering: Fixed shadow variable warning in GPUProfiler #tests Compiled and tested GPUProfiler command Change 2966769 on 2016/05/04 by Mieszko.Zielinski Fixed GraphAStar not resetting the output path before fillinf it with results #UE4 #test golden path Change 2966704 on 2016/05/04 by Michael.Noland Rendering: Added triangle and draw call summaries to ProfileGPU output, broken up by asset and material - This is controlled by r.ProfileGPU.PrintAssetSummary, which defaults to 1, but you really need r.ShowMaterialDrawEvents 1 enabled as well for a complete picture - It can also output a summary line for speciifc asset names using a comma separated list in r.ProfileGPU.AssetSummaryCallOuts (e.g., "LOD,HeroName") #tests Used ProfileGPU a number of times Change 2966696 on 2016/05/04 by Michael.Noland Engine: Embedded FPS chart preamble/postamble/row .html files into ChartCreation.cpp to permanently solve packaging woes #tests Tested FPS charts in an uncooked and cooked build #jira OR-19713 Change 2966336 on 2016/05/04 by Lukasz.Furman fixed jungle minions unable to reach spawn locations when camp resets #jira OR-20700 #tests jungle camp POC Change 2965948 on 2016/05/04 by David.Ratti Changes to how passive abilities activate -Passives now continually try to activate by default rather than only on spawn Support for Status.Immortal -Prevents death, fies AbilityTriggerEvent.ImmortalProc when this happens. -Clamps health to 1. Fixed bug in muriel passive where ShieldHealthRegen would be left in the world where muriel died. Fixed bunch of crap in GA_OnSpawn that was causing desync on client at start of match #tests multi pie Change 2965870 on 2016/05/04 by Ryan.Gerleve Duplicated fix from Release-4.12 by marc.audy, CL 2960819: Owned components are once again referenced by their Owning actor for GC purposes #jira UE-29131 #tests golden path Change 2965798 on 2016/05/04 by jason.bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 25.2 @ CL 2965789 #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2965796 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2965220 on 2016/05/03 by Dmitry.Rekman Log instance id and system id (OR-20782). - These ids get reported in multiple analytics events, having them logged is helpful for quickly mapping events to the log file. #tests Compiled Linux server, ran on compatible client. Change 2964907 on 2016/05/03 by Jason.Bestimt #ORION_DG - Merge MAIN @ CL 2964858 #RB:none #Tests:none Change 2964530 on 2016/05/03 by Laurent.Delayen Renamed GetSlotRootMotionWeight to GetSlotNodeGlobalWeight and made it double buffered to it's safe to access anytime. Added GetSlotMontageGlobalWeight() to get the Global Weight of a montage being played on a Slot. (Also double buffered). Added GetInstanceMachineWeight() to get Global Weight of a State Machine in the AnimGraph. (Also double buffered) Added FAnimInstanceProxy::GetStateMachineIndexAndDescription to avoid searching through the AnimNodeProperties twice. #tests Chains full feature system in PIE. Change 2964498 on 2016/05/03 by Frank.Fella DecalComponent - Fix visibility so that it behaves like other scene components with regard to the editor visibility, component visibility, and actor hidden in game flags. #RB Andrew Rodham #TESTS Visibility for decals works like other scene components in the editor, and their visibility can now be animated properly by sequencer. Change 2964428 on 2016/05/03 by Benn.Gallagher Fixed stale clothing chunk/section references after container realloc in editor #tests editor Change 2964316 on 2016/05/03 by bruce.nesbit Banner revisions Banners now use components for various banner items Banners can now be enabled when killing a hero. #tests PIE+Game Change 2964187 on 2016/05/03 by Jon.Lietz Speeding up the tag count check in UAbilitySystemComponent::RegisterAndCallGameplayTagEvent() - Remove the call to GetAggregatedStackCount and creating a FGameplayEffectQuery every time we call RegisterAndCallGameplayTagEvent - Added GetTagCount to the UAbilitySystemComponent that will call GetTagCount on the GameplayTagCountContainer #RB DanY #tests JIP shadow pad still works. Change 2964136 on 2016/05/03 by Laurent.Delayen Fix crash while switching tabs using Persona. #tests not crashing anymore. Change 2964083 on 2016/05/03 by jason.bestimt #ROBOMERGE-AUTHOR: jason.bestimt #ORION_MAIN - Merge 25.2 @ CL 2963929 [CodeReviewed]: andrew.grant HTTP Manager has larger stack size (1024) #RB:none #Tests:none #ROBOMERGE-SOURCE: CL 2964080 in //Orion/Main/... #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2963771 on 2016/05/02 by Nick.Atamas Setting a desired size scale invalidates layout and volatility. #test none Change 2963555 on 2016/05/02 by Rob.Cannaday Fix PS4 Orion players being able to whisper chat with non-Orion players #jira OR-20626 #tests chat with launcher, fortnite Change 2963387 on 2016/05/02 by Laurent.Delayen Added GatherDebugData to FABRIK node. #tests showdebug animation works on Chains now. Change 2963331 on 2016/05/02 by Jon.Lietz fixing compile error, dont need the clamp just the ternary on the EventType and pass down the tag count or 1. #RB none #tests compiles Change 2963106 on 2016/05/02 by Rob.Cannaday Increase HTTP thread's stack size to 128k We discovered a stack overflow when the stack size was 64kb in LavasoftTcpService64.dll (Ad-Aware's Lavasoft Web Companion) #tests log in Change 2963047 on 2016/05/02 by Jon.Lietz OR-20206 for JIP we need to call the bound function if we already have the tag on reconnect. - adding a new function in UAbilitySystemComponent, RegisterAndCallGameplayTagEvent this will bind the passed in delegate and if the ability system has that tag already will execute the delegate. #RB Dave.Ratti #test shadow pad, slow, stun and root still trigger and trigger for JIP players. Change 2962836 on 2016/05/02 by jason.bestimt #ROBOMERGE-AUTHOR: andrew.grant [NULL MERGE] Duplicating 2961899 - Fix minimal code builds for Linux not overwriting files [CodeReviewed] Ben.Marsh #ROBOMERGE-SOURCE: CL 2962812 in //Orion/Release-0.24.2/... via CL 2962830 via CL 2962833 via CL 2962834 via CL 2962835 #ROBOMERGE-BOT: ORION (Main -> Dev-General) Change 2962570 on 2016/05/02 by Jason.Bestimt #ORION_MAIN - Merge MAIN @ CL 2962544 #RB:none #Tests:none Change 2962552 on 2016/05/02 by Ben.Marsh Avoid output of warnings containing the string "error:" (and causing the EC post processor to fail the build) if posting build info has a human-readable error message instead. Output should probably be changed to parse out/sanitize the actual failure message if it's meant to retry and succeed, but this will stop failures caused by multiple builds being posted with the same build version. #tests none Change 2962506 on 2016/05/02 by Ben.Marsh Add a version string to identify a given build (FApp::GetBuildVersion()/BUILD_VERSION) which is distinct from the engine version. Defaults to <Escaped Branch Name>-CL-<Changelist>, but can be overriden by specifying a -Build=... argument to UpdateLocalVersion or the "Build" attribute to the SetVersion BuildGraph task. #tests Preflighted Win64 client/server build (P:\Builds\Orion\++Orion+Dev-General-CL-2962228-PF-2945494-6398155-PF-2945494-6398155) and loaded into Agora. Checked that version strings appear correctly in generated executables. Change 2962228 on 2016/04/30 by Dmitry.Rekman Move processing HTTP requests into separate thread (OR-20723). - First iteration of the implementation, pending implementing feedback. - Adds a separate thread for CurlHttp where actual processing is performed. - Coded by RobC, post-processed by me. #tests Compiled Linux server and Windows client, ran them on compatible content, played a match. Change 2961899 on 2016/04/29 by Ben.Marsh BuildGraph: Fix minimal Linux server builds not overwriting the existing executables, by adding an "Overwrite" parameter into the staging task. Windows exe-only patches already happen to bypass this bug by deleting the Binaries/Win64 directory (designed to remove any configurations that weren't built this time), but could still fail if changes had been made to some other staged binaries. #tests preflighted code-only build against DG CL 2960870 and compared output (P:\Builds\Orion\++Orion+Dev-General-CL-2961878-PF-2961895-6393603) Change 2961587 on 2016/04/29 by Daniel.Lamb Redirector doesn't fire callback if it fails to be loaded. #test Cook orion. Change 2961458 on 2016/04/29 by Wes.Hunt Cooker Stats improvements. Also removed some old UBT telemetry that was not being used. #tests many cooks of orion Change 2961136 on 2016/04/29 by Daniel.Lamb Readded caching of platform data into postload of materials. #test Cook paragon. [CL 2979220 by Ben Marsh in Main branch]
2016-05-16 16:20:52 -04:00
#elif PLATFORM_PS4
# include "PS4/PS4PlatformWebBrowser.h"
#elif WITH_CEF3
# include "CEF/CEFWebBrowserWindow.h"
#else
# define DUMMY_WEB_BROWSER 1
#endif
#define LOCTEXT_NAMESPACE "WebBrowser"
SWebBrowserView::SWebBrowserView()
{
}
SWebBrowserView::~SWebBrowserView()
{
if (BrowserWindow.IsValid())
{
BrowserWindow->OnDocumentStateChanged().RemoveAll(this);
BrowserWindow->OnNeedsRedraw().RemoveAll(this);
BrowserWindow->OnTitleChanged().RemoveAll(this);
BrowserWindow->OnUrlChanged().RemoveAll(this);
BrowserWindow->OnToolTip().RemoveAll(this);
BrowserWindow->OnShowPopup().RemoveAll(this);
BrowserWindow->OnDismissPopup().RemoveAll(this);
BrowserWindow->OnShowDialog().Unbind();
BrowserWindow->OnDismissAllDialogs().Unbind();
BrowserWindow->OnCreateWindow().Unbind();
BrowserWindow->OnCloseWindow().Unbind();
if (BrowserWindow->OnBeforeBrowse().IsBoundToObject(this))
{
BrowserWindow->OnBeforeBrowse().Unbind();
}
if (BrowserWindow->OnLoadUrl().IsBoundToObject(this))
{
BrowserWindow->OnLoadUrl().Unbind();
}
if (BrowserWindow->OnBeforePopup().IsBoundToObject(this))
{
BrowserWindow->OnBeforePopup().Unbind();
}
}
TSharedPtr<SWindow> SlateParentWindow = SlateParentWindowPtr.Pin();
if (SlateParentWindow.IsValid())
{
SlateParentWindow->GetOnWindowDeactivatedEvent().RemoveAll(this);
}
if (SlateParentWindow.IsValid())
{
SlateParentWindow->GetOnWindowActivatedEvent().RemoveAll(this);
}
}
void SWebBrowserView::Construct(const FArguments& InArgs, const TSharedPtr<IWebBrowserWindow>& InWebBrowserWindow)
{
OnLoadCompleted = InArgs._OnLoadCompleted;
OnLoadError = InArgs._OnLoadError;
OnLoadStarted = InArgs._OnLoadStarted;
OnTitleChanged = InArgs._OnTitleChanged;
OnUrlChanged = InArgs._OnUrlChanged;
OnBeforeNavigation = InArgs._OnBeforeNavigation;
OnLoadUrl = InArgs._OnLoadUrl;
OnShowDialog = InArgs._OnShowDialog;
OnDismissAllDialogs = InArgs._OnDismissAllDialogs;
OnBeforePopup = InArgs._OnBeforePopup;
OnCreateWindow = InArgs._OnCreateWindow;
OnCloseWindow = InArgs._OnCloseWindow;
AddressBarUrl = FText::FromString(InArgs._InitialURL);
PopupMenuMethod = InArgs._PopupMenuMethod;
OnUnhandledKeyDown = InArgs._OnUnhandledKeyDown;
OnUnhandledKeyUp = InArgs._OnUnhandledKeyUp;
OnUnhandledKeyChar = InArgs._OnUnhandledKeyChar;
BrowserWindow = InWebBrowserWindow;
if(!BrowserWindow.IsValid())
{
static bool AllowCEF = !FParse::Param(FCommandLine::Get(), TEXT("nocef"));
bool bBrowserEnabled = true;
GConfig->GetBool(TEXT("Browser"), TEXT("bEnabled"), bBrowserEnabled, GEngineIni);
if (AllowCEF && bBrowserEnabled)
{
FCreateBrowserWindowSettings Settings;
Settings.InitialURL = InArgs._InitialURL;
Settings.bUseTransparency = InArgs._SupportsTransparency;
Settings.bThumbMouseButtonNavigation = InArgs._SupportsThumbMouseButtonNavigation;
Settings.ContentsToLoad = InArgs._ContentsToLoad;
Settings.bShowErrorMessage = InArgs._ShowErrorMessage;
Settings.BackgroundColor = InArgs._BackgroundColor;
Settings.Context = InArgs._ContextSettings;
Settings.AltRetryDomains = InArgs._AltRetryDomains;
BrowserWindow = IWebBrowserModule::Get().GetSingleton()->CreateBrowserWindow(Settings);
}
}
SlateParentWindowPtr = InArgs._ParentWindow;
if (BrowserWindow.IsValid())
{
#ifndef DUMMY_WEB_BROWSER
// The inner widget creation is handled by the WebBrowserWindow implementation.
const auto& BrowserWidgetRef = static_cast<FWebBrowserWindow*>(BrowserWindow.Get())->CreateWidget();
ChildSlot
[
BrowserWidgetRef
];
BrowserWidget = BrowserWidgetRef;
#endif
if(OnCreateWindow.IsBound())
{
BrowserWindow->OnCreateWindow().BindSP(this, &SWebBrowserView::HandleCreateWindow);
}
if(OnCloseWindow.IsBound())
{
BrowserWindow->OnCloseWindow().BindSP(this, &SWebBrowserView::HandleCloseWindow);
}
BrowserWindow->OnDocumentStateChanged().AddSP(this, &SWebBrowserView::HandleBrowserWindowDocumentStateChanged);
BrowserWindow->OnNeedsRedraw().AddSP(this, &SWebBrowserView::HandleBrowserWindowNeedsRedraw);
BrowserWindow->OnTitleChanged().AddSP(this, &SWebBrowserView::HandleTitleChanged);
BrowserWindow->OnUrlChanged().AddSP(this, &SWebBrowserView::HandleUrlChanged);
BrowserWindow->OnToolTip().AddSP(this, &SWebBrowserView::HandleToolTip);
OnCreateToolTip = InArgs._OnCreateToolTip;
if (!BrowserWindow->OnBeforeBrowse().IsBound())
{
BrowserWindow->OnBeforeBrowse().BindSP(this, &SWebBrowserView::HandleBeforeNavigation);
}
else
{
check(!OnBeforeNavigation.IsBound());
}
if (!BrowserWindow->OnLoadUrl().IsBound())
{
BrowserWindow->OnLoadUrl().BindSP(this, &SWebBrowserView::HandleLoadUrl);
}
else
{
check(!OnLoadUrl.IsBound());
}
if (!BrowserWindow->OnBeforePopup().IsBound())
{
BrowserWindow->OnBeforePopup().BindSP(this, &SWebBrowserView::HandleBeforePopup);
}
else
{
check(!OnBeforePopup.IsBound());
}
if (!BrowserWindow->OnUnhandledKeyDown().IsBound())
{
BrowserWindow->OnUnhandledKeyDown().BindSP(this, &SWebBrowserView::UnhandledKeyDown);
}
if (!BrowserWindow->OnUnhandledKeyUp().IsBound())
{
BrowserWindow->OnUnhandledKeyUp().BindSP(this, &SWebBrowserView::UnhandledKeyUp);
}
if (!BrowserWindow->OnUnhandledKeyChar().IsBound())
{
BrowserWindow->OnUnhandledKeyChar().BindSP(this, &SWebBrowserView::UnhandledKeyChar);
}
BrowserWindow->OnShowDialog().BindSP(this, &SWebBrowserView::HandleShowDialog);
BrowserWindow->OnDismissAllDialogs().BindSP(this, &SWebBrowserView::HandleDismissAllDialogs);
BrowserWindow->OnShowPopup().AddSP(this, &SWebBrowserView::HandleShowPopup);
BrowserWindow->OnDismissPopup().AddSP(this, &SWebBrowserView::HandleDismissPopup);
BrowserWindow->OnSuppressContextMenu().BindSP(this, &SWebBrowserView::HandleSuppressContextMenu);
OnSuppressContextMenu = InArgs._OnSuppressContextMenu;
BrowserWindow->OnDragWindow().BindSP(this, &SWebBrowserView::HandleDrag);
OnDragWindow = InArgs._OnDragWindow;
BrowserViewport = MakeShareable(new FWebBrowserViewport(BrowserWindow));
#if WITH_CEF3
BrowserWidget->SetViewportInterface(BrowserViewport.ToSharedRef());
#endif
// If we could not obtain the parent window during widget construction, we'll defer and keep trying.
SetupParentWindowHandlers();
}
else
{
OnLoadError.ExecuteIfBound();
}
}
Copying WEX-Staging @ (WEX/Main @ 3740665) to //UE4/Main #lockdown Nick.Penwarden #rb none Copying //UE4/WEX-Staging to //UE4/Dev-Main (Source: //WEX/Main/Engine @ 3740665) #lockdown Nick.Penwarden Change 3739326 by Ben.Zeigler Change iteration order of depends nodes so it lists hard management references before soft management references, this is better for the UI when lots of references exist Update text for loading custom asset registry bin to be clearer Change 3739000 by John.Opila Caching optimization for text widget desired size. Change 3713551 by David.Nikdel Allow Set Properties to recognize Json array values as importable. Change 3712485 by Josh.May Added Pete's fix for the PLATFORM_TVOS/PLATFORM_IOS #define conflict introduced by mach-o/loader.h Change 3700174 by Chris.Babcock Fix setFilters crash on some Android devices Change 3691531 by Josh.May Fixed an intermittent crash that occurred when opening the AssetAuditBrower. AssetManagerEditorModule's CurrentRegistrySource was getting set too early, becoming invalid in the event that RegistrySourceMap is resized. Change 3688409 by Gil.Gribb Critical fix for an extremely rare race condition on async IO. Change 3687529 by josh.may Force layout recalculations for single-pass layout SScaleBoxes when their final scale is zero. This tends to occur in calls to SearchForWidgetRecursively before a SScaleBox's AllottedGeometry has been calculated. Change 3684788 by Peter.Sauerbrei fix for archive generation on the build machines Change 3684320 by john.opila Workaround for widgets disappering. Ensuring scale is never 0 so we don't get divide by zero. Change 3684042 by Peter.Sauerbrei more logging to figure out why there is not data in the Applicaiton diretory of the archive Change 3678620 by Ben.Zeigler Minor text changes to size map Change 3678314 by Ben.Zeigler Add Make Collection With References and Audit References to Size Map to easily allow inspecting the specific set of filtered packages in other tools Change 3677875 by Ben.Zeigler Fix crash in size map from keeping reference to node after map was resized, and undo the Name->DisplayName rename as it could affect licensees Change 3676899 by Peter.Sauerbrei narrowed down to the plist data, trying to figure out if it is missing or not Change 3676570 by Peter.Sauerbrei more logging to track down the archive error Change 3676293 by Peter.Sauerbrei fix for compile failure on IOS Change 3676172 by Peter.Sauerbrei potential fix for missing icons in the ipa when run through the build machines Change 3673544 by Ben.Zeigler Sort AllChunksInfo alphabetically so the order is consistent accross build and platforms to facillitate diffing Change 3671597 by Peter.Sauerbrei Merging //UE4/Dev-Mobile/Engine/... to //WEX/Main/Engine/... Change 3670932 by Ben.Zeigler Change it so cooking with the AssetManager writes out AllChunksInfo.csv next to the DevelopmentAssetRegistry, but not the per-chunk csv files as those are not useful. Also made the size counts platform accurate Change 3670906 by Peter.Sauerbrei update WEX for building with Xcode 9 Change 3660026 by Josh.May Moved SWebBrowserView's parent window "searches" to OnPaint. There's definitely something wrong with FindWidgetWindow... Even after deferring SWebBrowserView's calls to FindWidgetWindow until first Tick, the same widget layout artifacts could occur after opening multiple SWebBrowserViews. And, as Nick pointed out in the related email thread, this approach is also more efficient. Change 3655411 by Josh.May Ensure SWebBrowserView's parent window searches are deferred until after Construct. We haven't puzzled through it yet, but calling FindWidgetWindow during Construct seems to corrupt some Slate state. Deferring this search until later gets around the issue and makes sense anyway, given the widget isn't added to the hierarchy until after Construct. Change 3655407 by John.Opila Sneaking in some stats for SpawnActor. Change 3654649 by Ben.Zeigler Refactor SizeMap and ReferenceViewer into the AssetManagerEditor plugin, and delete the old modules. Fix SizeMap crash that I temporarily added. TreeMap is initialized weirdly Change 3648912 by Ben.Zeigler First half of changes to refactor sizemap/reference viewer into the asset manager editor plugin Add GetAllContentBrowserCommandExtenders to ContentBrowserModule that allows registering commands/keybinds to extend the content browser via plugins Add GetSharedMenu/ToolbarExtensibilityManager to AssetEditorToolkit that allows extending the generic asset editor via plugin Move the code to spawn the Reference Viewer and SizeMap into the AssetManagerEditor plugin so these UIs can be tightly bound and share data. This also enables keybinds for Size Map and Audit. Remove size map from the save as dialog, it created a special modal size map window that will not work after my refactor Change 3639419 by Ben.Marsh Use DirectoryInfo instead of DirectoryReference to enumerate projects. Tracking down UHT compile failures on Mac. Change 3638619 by David.Nikdel AsyncLoading: Suggested change by Gil to add lock prior to changing LoadPhase to WaitingForHeader (presumably to make FArchiveAsync2::StartReadingHeader's assumption about locking true) Change 3633562 by Chris.Babcock Update Android virtual keyboard support Change 3630564 by Peter.Sauerbrei fix for the manifest stage problem Change 3629577 by Chris.Babcock Fix merge errors in GameActivity.java Change 3629154 by David.Nikdel Disable debug device output in shipping builds (even if logs are enabled) Change 3626542 by John.Opila Back out changelist 3603452 Undoing the OpenGL load changes as the initial load time was just too damn high! Change 3620472 by David.Nikdel Fix from Nick to fix a BP that crashes on Compile Change 3618090 by Josh.May Reset inertial scrolling for SScrollboxes and STableView-based Slate widgets when scrolling to specific scroll offsets. Change 3613980 by Chris.Babcock Fix issue with Android password keyboard input Change 3603825 by John.Opila Shader change doesn't seem to like standalone PC. Change 3603452 by John.Opila Moving openGL shader compilation into loading instead of at the last minute. Change 3593008 by David.Nikdel Merging CL 3504471 from //Fortnite/Dev-Cinematics/Engine/... to //WEX/Main/Engine/... ---------------------------------------- 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 ================================================================================================= THESE CHANGES TOUCH MULTIPLE PLATFORMS ================================================================================================= Change 3739931 by Ben.Zeigler changes to some asset manager code modified on WEX, and fix several FStringAssetReference->FSoftObjectPath Change 3723451 by Josh.May Exposed OnBeforePopup to UMG and Blueprint for UWebBrowser. This is triggered by the CEFBrowserHandler when attempting to open hyperlinks targeting _blank and, when not handled, would result in the page never loading. Added OnBeforePopup handling for the HTMLNewsWidget, ensuring the URLs are opened in an external browser. Change 3711256 by Dmitriy.Dyomin Fixed: Friend list invalidation panel relative transform caching issues Also fixed issues with and set slate.cacherenderdata=0 for better batching Change 3698695 by Josh.May Made the UMG default font overridable via config, allowing us to replace it with a game-scope localized Font asset. If there's a better place for this mechanism/accessor to live, please let me know. Added a new 'Default' font that replicates '/Engine/EngineFonts/Roboto'. This also has a localized Font asset variant for zh-Hans. Change 3676085 by Josh.May Implemented MulticastBroadcastReceiver, a BroadcastReceiver capable of "multicasting" intents to other receivers. AppsFlyer defines a similar MultiInstallBroadcastReceiver class specific to the INSTALL_REFERRER intent, but it MUST be the very first one defined (cannot be guaranteed in our build pipeline AFAIK). Added MulticastBroadcastReceiver (for INSTALL_REFERRER) to the AndroidManifest generation logic, allowing BOTH Adjust and AppsFlyer to receive the intent. Added dev channel support for AndroidAppsFlyer, enabled conditionally based on shipping/distribution and whether or not a valid AppsFlyerDevChannel name is specified. For WEX, our dev channel is WEX_Dev. Fixed AppsFlyer_EventAttribute's Java class lookups and constructor signature. Change 3670860 by Ben.Zeigler First version of improvements to tools to analyze chunks Size Map and Reference Viewer now support reading cooked asset data and displaying chunks. Changing the platform dropdown in the Asset Audit window switches the other windows as well Asset Audit window now has "Add Chunks" button, and selecting AllTypes in the Primary Asset drop down will add all primary assets Size Map now shows Disk Size by default, and supports a right click context menu Significant UI improvements to all 3 tools, including keybind support Split Manage references into Hard and Soft, where Hard are set explicitly and soft are inherited. This allows determining why an asset was included in a chunk/primary asset When the AssetManager builds management information for the audit browser/cooker, it now precomputes a chunk mapping for relevant assets. PackageChunkType is used to refer to these virtual primary assets Add callback to content browser delegates to handle adding arbitrary FAssetData to an asset view, used to show chunks Several changes to the ITreeMap UI used by size map Change 3670290 by Josh.May Added AppleAppID configs for AppsFlyer. Added AdSupport and iAd frameworks for IOSAppsFlyer. According to the AppsFlyer documentation, these are required for IDFA and Apple Search Ads tracking. Change 3643531 by Peter.Sauerbrei fix for save game location and certain data backed up to the cloud when it shouldn't Change 3629303 by Ben.Zeigler Merge fix for shared ptr corruption in async loading thread from Main, and enable asnyc loading thread for WEX Copy of CL #3623261 and 3625806 Change 3629219 by Peter.Sauerbrei Merging using WEX_Main_to_UE4_WEX_Staging bringing over the files that Stan didn't have access to Change 3629063 by Stanley.Hayes Engine Merge: Merging using WEX_Main_to_UE4_WEX_Staging(flipped) Change 3618988 by Josh.May Reimplemented DevicePerformanceBucket-based WorldMap class selection to account for the WorldMap actor being pre-serialized into the UMAP. On a related note, ChildActorComponents marked as "editor only" now mark their spawned Actors as Transient to prevent them from getting serialized at cook-time. Change 3597981 by Josh.May Converted WExpCampaignDefinition's RegionDefinition refs back to hard references and, to compensate, converted WExpZoneDefinition's ZoneBoss refs to soft references. This moves the RegionDefinitions and ZoneDefinitions from chunk 2 to chunk 1 without pulling in assets for the ZoneBosses. This also allows us to grab the ZoneBoss refs during UWExpAssetManager::GetMainMenuAssetList. Reworked UWExpAssetManager::GetMainMenuAssetList and UWExpAssetManager::GetLevelAssetList to build more "complete" asset lists by expanding lists of PrimaryAssetIds. Tweaked the WorldMap's ZoneBoss spawning to account for the switch to AssetPtrs. Change 3581214 by Josh.Markiewicz added cookie deletion for Google on logout [CL 3750870 by Stanley Hayes in Main branch]
2017-11-10 17:20:53 -05:00
int32 SWebBrowserView::OnPaint(const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled) const
{
if (!SlateParentWindowPtr.IsValid())
{
SWebBrowserView* MutableThis = const_cast<SWebBrowserView*>(this);
MutableThis->SetupParentWindowHandlers();
}
Copying WEX-Staging @ (WEX/Main @ 3740665) to //UE4/Main #lockdown Nick.Penwarden #rb none Copying //UE4/WEX-Staging to //UE4/Dev-Main (Source: //WEX/Main/Engine @ 3740665) #lockdown Nick.Penwarden Change 3739326 by Ben.Zeigler Change iteration order of depends nodes so it lists hard management references before soft management references, this is better for the UI when lots of references exist Update text for loading custom asset registry bin to be clearer Change 3739000 by John.Opila Caching optimization for text widget desired size. Change 3713551 by David.Nikdel Allow Set Properties to recognize Json array values as importable. Change 3712485 by Josh.May Added Pete's fix for the PLATFORM_TVOS/PLATFORM_IOS #define conflict introduced by mach-o/loader.h Change 3700174 by Chris.Babcock Fix setFilters crash on some Android devices Change 3691531 by Josh.May Fixed an intermittent crash that occurred when opening the AssetAuditBrower. AssetManagerEditorModule's CurrentRegistrySource was getting set too early, becoming invalid in the event that RegistrySourceMap is resized. Change 3688409 by Gil.Gribb Critical fix for an extremely rare race condition on async IO. Change 3687529 by josh.may Force layout recalculations for single-pass layout SScaleBoxes when their final scale is zero. This tends to occur in calls to SearchForWidgetRecursively before a SScaleBox's AllottedGeometry has been calculated. Change 3684788 by Peter.Sauerbrei fix for archive generation on the build machines Change 3684320 by john.opila Workaround for widgets disappering. Ensuring scale is never 0 so we don't get divide by zero. Change 3684042 by Peter.Sauerbrei more logging to figure out why there is not data in the Applicaiton diretory of the archive Change 3678620 by Ben.Zeigler Minor text changes to size map Change 3678314 by Ben.Zeigler Add Make Collection With References and Audit References to Size Map to easily allow inspecting the specific set of filtered packages in other tools Change 3677875 by Ben.Zeigler Fix crash in size map from keeping reference to node after map was resized, and undo the Name->DisplayName rename as it could affect licensees Change 3676899 by Peter.Sauerbrei narrowed down to the plist data, trying to figure out if it is missing or not Change 3676570 by Peter.Sauerbrei more logging to track down the archive error Change 3676293 by Peter.Sauerbrei fix for compile failure on IOS Change 3676172 by Peter.Sauerbrei potential fix for missing icons in the ipa when run through the build machines Change 3673544 by Ben.Zeigler Sort AllChunksInfo alphabetically so the order is consistent accross build and platforms to facillitate diffing Change 3671597 by Peter.Sauerbrei Merging //UE4/Dev-Mobile/Engine/... to //WEX/Main/Engine/... Change 3670932 by Ben.Zeigler Change it so cooking with the AssetManager writes out AllChunksInfo.csv next to the DevelopmentAssetRegistry, but not the per-chunk csv files as those are not useful. Also made the size counts platform accurate Change 3670906 by Peter.Sauerbrei update WEX for building with Xcode 9 Change 3660026 by Josh.May Moved SWebBrowserView's parent window "searches" to OnPaint. There's definitely something wrong with FindWidgetWindow... Even after deferring SWebBrowserView's calls to FindWidgetWindow until first Tick, the same widget layout artifacts could occur after opening multiple SWebBrowserViews. And, as Nick pointed out in the related email thread, this approach is also more efficient. Change 3655411 by Josh.May Ensure SWebBrowserView's parent window searches are deferred until after Construct. We haven't puzzled through it yet, but calling FindWidgetWindow during Construct seems to corrupt some Slate state. Deferring this search until later gets around the issue and makes sense anyway, given the widget isn't added to the hierarchy until after Construct. Change 3655407 by John.Opila Sneaking in some stats for SpawnActor. Change 3654649 by Ben.Zeigler Refactor SizeMap and ReferenceViewer into the AssetManagerEditor plugin, and delete the old modules. Fix SizeMap crash that I temporarily added. TreeMap is initialized weirdly Change 3648912 by Ben.Zeigler First half of changes to refactor sizemap/reference viewer into the asset manager editor plugin Add GetAllContentBrowserCommandExtenders to ContentBrowserModule that allows registering commands/keybinds to extend the content browser via plugins Add GetSharedMenu/ToolbarExtensibilityManager to AssetEditorToolkit that allows extending the generic asset editor via plugin Move the code to spawn the Reference Viewer and SizeMap into the AssetManagerEditor plugin so these UIs can be tightly bound and share data. This also enables keybinds for Size Map and Audit. Remove size map from the save as dialog, it created a special modal size map window that will not work after my refactor Change 3639419 by Ben.Marsh Use DirectoryInfo instead of DirectoryReference to enumerate projects. Tracking down UHT compile failures on Mac. Change 3638619 by David.Nikdel AsyncLoading: Suggested change by Gil to add lock prior to changing LoadPhase to WaitingForHeader (presumably to make FArchiveAsync2::StartReadingHeader's assumption about locking true) Change 3633562 by Chris.Babcock Update Android virtual keyboard support Change 3630564 by Peter.Sauerbrei fix for the manifest stage problem Change 3629577 by Chris.Babcock Fix merge errors in GameActivity.java Change 3629154 by David.Nikdel Disable debug device output in shipping builds (even if logs are enabled) Change 3626542 by John.Opila Back out changelist 3603452 Undoing the OpenGL load changes as the initial load time was just too damn high! Change 3620472 by David.Nikdel Fix from Nick to fix a BP that crashes on Compile Change 3618090 by Josh.May Reset inertial scrolling for SScrollboxes and STableView-based Slate widgets when scrolling to specific scroll offsets. Change 3613980 by Chris.Babcock Fix issue with Android password keyboard input Change 3603825 by John.Opila Shader change doesn't seem to like standalone PC. Change 3603452 by John.Opila Moving openGL shader compilation into loading instead of at the last minute. Change 3593008 by David.Nikdel Merging CL 3504471 from //Fortnite/Dev-Cinematics/Engine/... to //WEX/Main/Engine/... ---------------------------------------- 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 ================================================================================================= THESE CHANGES TOUCH MULTIPLE PLATFORMS ================================================================================================= Change 3739931 by Ben.Zeigler changes to some asset manager code modified on WEX, and fix several FStringAssetReference->FSoftObjectPath Change 3723451 by Josh.May Exposed OnBeforePopup to UMG and Blueprint for UWebBrowser. This is triggered by the CEFBrowserHandler when attempting to open hyperlinks targeting _blank and, when not handled, would result in the page never loading. Added OnBeforePopup handling for the HTMLNewsWidget, ensuring the URLs are opened in an external browser. Change 3711256 by Dmitriy.Dyomin Fixed: Friend list invalidation panel relative transform caching issues Also fixed issues with and set slate.cacherenderdata=0 for better batching Change 3698695 by Josh.May Made the UMG default font overridable via config, allowing us to replace it with a game-scope localized Font asset. If there's a better place for this mechanism/accessor to live, please let me know. Added a new 'Default' font that replicates '/Engine/EngineFonts/Roboto'. This also has a localized Font asset variant for zh-Hans. Change 3676085 by Josh.May Implemented MulticastBroadcastReceiver, a BroadcastReceiver capable of "multicasting" intents to other receivers. AppsFlyer defines a similar MultiInstallBroadcastReceiver class specific to the INSTALL_REFERRER intent, but it MUST be the very first one defined (cannot be guaranteed in our build pipeline AFAIK). Added MulticastBroadcastReceiver (for INSTALL_REFERRER) to the AndroidManifest generation logic, allowing BOTH Adjust and AppsFlyer to receive the intent. Added dev channel support for AndroidAppsFlyer, enabled conditionally based on shipping/distribution and whether or not a valid AppsFlyerDevChannel name is specified. For WEX, our dev channel is WEX_Dev. Fixed AppsFlyer_EventAttribute's Java class lookups and constructor signature. Change 3670860 by Ben.Zeigler First version of improvements to tools to analyze chunks Size Map and Reference Viewer now support reading cooked asset data and displaying chunks. Changing the platform dropdown in the Asset Audit window switches the other windows as well Asset Audit window now has "Add Chunks" button, and selecting AllTypes in the Primary Asset drop down will add all primary assets Size Map now shows Disk Size by default, and supports a right click context menu Significant UI improvements to all 3 tools, including keybind support Split Manage references into Hard and Soft, where Hard are set explicitly and soft are inherited. This allows determining why an asset was included in a chunk/primary asset When the AssetManager builds management information for the audit browser/cooker, it now precomputes a chunk mapping for relevant assets. PackageChunkType is used to refer to these virtual primary assets Add callback to content browser delegates to handle adding arbitrary FAssetData to an asset view, used to show chunks Several changes to the ITreeMap UI used by size map Change 3670290 by Josh.May Added AppleAppID configs for AppsFlyer. Added AdSupport and iAd frameworks for IOSAppsFlyer. According to the AppsFlyer documentation, these are required for IDFA and Apple Search Ads tracking. Change 3643531 by Peter.Sauerbrei fix for save game location and certain data backed up to the cloud when it shouldn't Change 3629303 by Ben.Zeigler Merge fix for shared ptr corruption in async loading thread from Main, and enable asnyc loading thread for WEX Copy of CL #3623261 and 3625806 Change 3629219 by Peter.Sauerbrei Merging using WEX_Main_to_UE4_WEX_Staging bringing over the files that Stan didn't have access to Change 3629063 by Stanley.Hayes Engine Merge: Merging using WEX_Main_to_UE4_WEX_Staging(flipped) Change 3618988 by Josh.May Reimplemented DevicePerformanceBucket-based WorldMap class selection to account for the WorldMap actor being pre-serialized into the UMAP. On a related note, ChildActorComponents marked as "editor only" now mark their spawned Actors as Transient to prevent them from getting serialized at cook-time. Change 3597981 by Josh.May Converted WExpCampaignDefinition's RegionDefinition refs back to hard references and, to compensate, converted WExpZoneDefinition's ZoneBoss refs to soft references. This moves the RegionDefinitions and ZoneDefinitions from chunk 2 to chunk 1 without pulling in assets for the ZoneBosses. This also allows us to grab the ZoneBoss refs during UWExpAssetManager::GetMainMenuAssetList. Reworked UWExpAssetManager::GetMainMenuAssetList and UWExpAssetManager::GetLevelAssetList to build more "complete" asset lists by expanding lists of PrimaryAssetIds. Tweaked the WorldMap's ZoneBoss spawning to account for the switch to AssetPtrs. Change 3581214 by Josh.Markiewicz added cookie deletion for Google on logout [CL 3750870 by Stanley Hayes in Main branch]
2017-11-10 17:20:53 -05:00
int32 Layer = SCompoundWidget::OnPaint(Args, AllottedGeometry, MyCullingRect, OutDrawElements, LayerId, InWidgetStyle, bParentEnabled);
// Cache a reference to our parent window, if we didn't already reference it.
if (!SlateParentWindowPtr.IsValid())
{
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor [at] 4327887) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3813004 by Matt.Kuhlenschmidt Fix dpi scale being wrong when there is a mix of high dpi and low dpi monitors and the editor opens the window on the low dpi monitor Change 3946515 by Michael.Trepka Reverted CL 3813004. We need to save editor's root window size and position in DPI-independent units, as that's what the loading code expects. Change 4052825 by Brandon.Schaefer Add back -funwind-tables for arm This was removed an only tested on x86 which worked just fine. Arm reqiures this for backtrace #jira none Change 4055318 by Brandon.Schaefer Remove extra mallocs when crash handling Still need to look into gmalloc calls, such as using FStrings during Ensure/Crash handling [at]Arciel.Rekman #jira UE-58538 Change 4055623 by Brandon.Schaefer Replace std::endl with "\n" As std::endl is "\n" << std::flush. On windows dump_syms was taking 33 seconds to fflush with std::endl on a 1.2GB file. No longer with "\n". [at]Josh.Engebretson Change 4057102 by Jamie.Dale Added missing API export Change 4057384 by Rex.Hill Fix ReversePolygonFacing crash Change 4067426 by Matt.Kuhlenschmidt PR #4667: Source control history: remove empty spacing in the right of the detail panel (Contributed by SRombauts) Change 4067587 by Matt.Kuhlenschmidt PR #4311: PlacementModeTools shapes searchable and thumbnail (Contributed by projectgheist) Change 4068480 by Cody.Albert Fix display name for Display UI Extension Points Change 4070876 by Brandon.Schaefer Avoid printing when in a signal handler. Put that off until the end #jira UE-36663 [at]Arciel.Rekman, [at]Anthony.Bills Change 4071980 by Brandon.Schaefer Cache files that are invalid or the wrong case sensitivity #jira UE-58250 [at]Arciel.Rekman Change 4079967 by Matt.Kuhlenschmidt Added scale parameter to Canvas::DrawText #jira UE-59023 Change 4080228 by Alexis.Matte Fix the PerPlatformPropertiesWidget to be readable when there is many platform #jira UE-57556 Change 4081171 by Matt.Kuhlenschmidt PR #4272: Fix typo. (Contributed by Damianno19) Change 4081601 by Matt.Kuhlenschmidt GitHub 4077 : Hide SDetailView Filterbox when no actor selected Change 4090114 by Matt.Kuhlenschmidt Fixed touch events simulated through mouse not respecting high dpi #jira UE-59477 Change 4091999 by Matt.Kuhlenschmidt Fixed insert/delete/duplicate children calling PostEditChange on the existing child node not the array Change 4093187 by Arciel.Rekman Do not save window position if running with -nullrhi (UE-52498). - This also fixes a crash on exiting automation tests. #jira UE-52498 Change 4096404 by Richard.TalbotWatkin Resaved test assets to update to latest UStaticMesh serialization format. Change 4096445 by Richard.TalbotWatkin New serialization layout for UMeshDescription. - Only the bare minimum is serialized: any internal values which can be inferred from others in the Mesh Description are omitted. - Triangles are no longer serialized: a triangulation step is performed per polygon when serialized. - Attribute arrays of simple types are now serialized with BulkSerialize for speed; only FName requires element-by-element serialization. Change 4112843 by Brandon.Schaefer Rebuilt replacing std::endl with '\n' avoiding a std::flush *pre* write Was taking 30 seconds to std::flush on a 1.2 GB file #jira none Change 4113422 by Brandon.Schaefer If we are using the native bundled toolchain set LC_ALL=C to avoid locale issues #jira UE-59416 Change 4113849 by Cody.Albert Fix support for toolbar extensions in the UMG editor Change 4118758 by Richard.TalbotWatkin - Refactor to put UStaticMesh Mesh Descriptions in a separate object which is not loaded by default, but which can be requested when needed. This needs to be kept in sync with the number of SourceModel LODs. - Various refactors to import/building. - Changed UMeshDescription to FMeshDescription, and made its preferred semantics pass-by-reference rather than by pointer. - Deprecated UMeshDescription. Change 4119883 by Rex.Hill Cleanup blueprint callable categories Landscape Editor -> Landscape|Editor Landscape Runtime -> Landscape|Runtime Cloth -> Clothing Simulation Cinematics -> Cinematic Utility -> Utilities Change 4119898 by Rex.Hill Cleanup blueprint callable categories x|Magic Leap -> Magic Leap|x Apple ARKit * -> Apple ARKit|* Change 4119972 by Brandon.Schaefer Dont add colors if we are not outputing to a terminal #jira UE-58173 Change 4119994 by Brandon.Schaefer Only check once if we are outputing to a terminal #jira UE-58173 Change 4122654 by Alexis.Matte Fix re import assignment of sections #jira UE-59611 Change 4123536 by Alexis.Matte Add to the fbx importer the possibility to use different sample rate when importing an animation. #jira UE-59444 Change 4124702 by Brandon.Schaefer Fix duplicated struct/class from slightly different submit into main coming back into dev-editor #jira UE-60163 Change 4133449 by Mike.Erwin glTF importer work Foundations of work for Skeletal Mesh import; right now we just support Static Mesh. - node hierarchy - joint IDs & skinning weights - matrix & quaternion values #jira none Change 4133749 by Matt.Kuhlenschmidt PR #4771: Fix access violation for ImportAsset commandlet fbx reimport. (Contributed by UristMcRainmaker) Change 4133758 by Matt.Kuhlenschmidt PR #4675: Properly set TextScale for OnScreenDebugMessages (Contributed by projectgheist) Change 4134543 by Alexis.Matte Update the staticmesh LOD model max deviation when generating a LOD #jira UE-60353 Change 4134559 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - Editor scripting utilities #jira UE-60666 Change 4134560 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - SpeedTreeImporter #jira UE-60667 Change 4135335 by Alexis.Matte Deprecate FRawMesh - GLTF importer #jira UE-60670 Change 4135857 by Alexis.Matte Fix CIS build warning #jira none Change 4137249 by Matt.Kuhlenschmidt Fix tiny fonts from appearing in slow task dialogs Change 4137280 by Matt.Kuhlenschmidt Fix specifying relative paths for the auto-import commandlet not working Change 4137283 by Matt.Kuhlenschmidt PR #4305: Light map index was unintialized (Contributed by DSDambuster) Change 4137290 by Matt.Kuhlenschmidt PR #4382: Prevent error log due to non-existing plugin directory (Contributed by projectgheist) Change 4147032 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - ABC Importer #jira UE-60702 Change 4147978 by Matt.Kuhlenschmidt Fix one of the CIS fails Change 4154874 by Matt.Kuhlenschmidt Fix hidden asset properties in struct details panels. We consider all object properties with "allowedclasses" metadata to be asset properties since they only show an asset picker. Change 4167303 by Matt.Kuhlenschmidt Work around for sync to content browser from details panels not working for interface properties Change 4167388 by Matt.Kuhlenschmidt Make sure when converting relative path filenames in automated import that we convert them relative to the project directory. Change 4171891 by Matt.Kuhlenschmidt Fix preview mesh actor becoming stuck to the cursor when the editor or viewport loses focus #jira UE-61246 Change 4175503 by Cody.Albert Updated variable details panels to not display unusable metadata options for UMG widget references #jira UE-55078 Change 4175736 by Cody.Albert PR #4663: UE-20103: Slate widgets retain their category name v2 (Contributed by projectgheist) Change 4178937 by Rex.Hill Fix crash opening level after removing as sublevel jira: UE-61305 Change 4181097 by Matt.Kuhlenschmidt Fix Linux/Mac CIS Change 4184333 by Alexis.Matte Fix the material ID assignation when re-importing static mesh #jira none Change 4199682 by Arciel.Rekman Linux: enable XGE during cross-builds to see whether the build issues persist. - Licensees are asking for this and XGE folks are eager to help investigating the crashes, if any. Change 4200944 by Cody.Albert Updated VR Mode button to become inactive during SIE (instead of disappearing altogether) #jira UE-50220 Change 4204817 by Alexis.Matte Enable or disable the morph target weight slider depending of the project settings. #jira UE-61671 Change 4204821 by Alexis.Matte Optimize import time for morph targets #jira UE-61670 Change 4207394 by Cody.Albert PR #3299: UMG Slider Additions (Contributed by Dzuelu) Change 4208299 by Brandon.Schaefer Fix warning/error with logical operators #jira none Change 4210660 by Cody.Albert PR #3458: UE-43728: Always show scrollbar when necessary (Contributed by projectgheist) #jira UE-43727, UE-43278 Change 4215684 by Brandon.Schaefer Linux: Implement minimized function for LinuxWindow #jira UE-56023 Change 4217350 by Brandon.Schaefer Linux: Clean up IsMaximized #jira none Change 4217489 by Brandon.Schaefer Linux: Make popup menus BORDERLESS. Slate will give the menu events This appears to fix a lot of our grabs causing compiz to do something issue. #jira UE-59237, UE-54085, UE-51407, UE-50018, UE-53915 Change 4225018 by Cody.Albert UMG Hierarchy now remembers expansion state when being destroyed and recreated (due to closing widget or switching to Graph view) #jira UE-61836 Change 4225088 by Cody.Albert Added hover style for color picker slider Change 4226081 by Richard.TalbotWatkin New attribute array API. Fixed some flaws in the original API, deprecated various methods, and introduced some new features. - Now attribute arrays are accessed via TAttributesRef or TAttributesView (and corresponding const versions). These value types hold references to attribute arrays, and individual elements can be accessed by their element ID and attribute index. Using a value type is safer than the previous method which required assignment to a const-ref (and not doing so would take a temporary copy of the attribute array). - The attribute set has been totally flattened, so all attributes of different types are added to the same container. This greatly improves compile times, prevents attributes from being created with the same name but different types, and permits the view feature. - The class hierarchy has changed to have generic base classes where possible with no particular ElementID type. This reduces the code footprint by no longer generating nearly identical copies of templated methods. - A TAttributesView allows the user to access an attribute array by the type of their choosing, regardless of its actual type. For example, the Normal attribute may be registered with type FPackedVector, but accessed as if it was an FVector. This allows us to move away from very strong typing, and instead transparently store attributes of a more efficient size, while the user is not affected. - A transient attribute flag has been added, to denote that a particular attribute should not be saved. Change 4226083 by Richard.TalbotWatkin Reinstated original mesh editor materials. Change 4226102 by Richard.TalbotWatkin Fixed some deprecation warnings, and a mistake in MeshAttributeArray.h. Change 4226118 by Richard.TalbotWatkin Fix build errors: - Added missing file - Corrected the last fix. Change 4226121 by Richard.TalbotWatkin Bumped static mesh mesh data GUID. Change 4226231 by Richard.TalbotWatkin Removed some test code which got checked in by mistake. Change 4226232 by Richard.TalbotWatkin Fixed typo which caused build errors. Change 4226234 by Richard.TalbotWatkin Fixed a typo in MeshDescriptionTests. Change 4226237 by Richard.TalbotWatkin Removed over-cautious deprecation warnings. Once GetAttributes() is changed to GetAttributesRef(), element access will still work with array syntax. Change 4226625 by Richard.TalbotWatkin Added missing asset. Change 4227365 by Matt.Kuhlenschmidt Fix brush actors not showing the correct icon in scene outliner. - Actors can now supply their own icon if needed #jira UE-61948 Change 4229632 by Alexis.Matte Make the namespace an import option #jira UE-62099 #jira UE-62067 Change 4229637 by Alexis.Matte Fix fbx importer staticmesh the light map index, the index was check before the build. #jira UE-62064 Change 4232793 by Chris.Gagnon Added include to fix non unity builds. #jira UE-62138 Change 4234206 by Brandon.Schaefer Linux: Allow windows that want to be resizable to be resizeable Github PR #3578 thanks hhyyrylainen #jira UE-45847 Change 4234322 by Brandon.Schaefer Continue after starting UnrealVersionSelector to avoid blocking a chain command #jira UE-61530 Change 4234446 by Chris.Gagnon Properly handled FPackageName::TryConvertFilenameToLongPackageName() failing in Cache Thumbnail. #jira UE-61990 Change 4235057 by Brandon.Schaefer Linux: Write to stderr when we fail to find expected to find sym file #jira none Change 4235121 by Brandon.Schaefer Linux: Mark the static bool as soon as we enter the scope #jira none Change 4235399 by Brandon.Schaefer Linux: Check we are not x86 otherwise add unwind tables Copying the change that went over into 4.20.1 here #jira none Change 4240539 by Jamie.Dale Made DataTableUtils::GetX functions take a const data pointer Change 4240646 by Chris.Gagnon Fix for delayed destruction of UWidgets when they are manually removed from a panel as part of tear down. Inspired by the pull request, however I put in a more generic fix. PR #4904: Fix late release of Slate resources managed by UMG slot widgets (Contributed by cmp-) Change 4242975 by Yuriy.ODonnell Moved duplicated code from MeshUtilities and MeshDescriptionOperations (FLayoutUV, FAllocator2D, FOverlappingCorners, etc.) into a new single module MeshUtilitiesCommon. Add a generic opaque mesh view interface FLayoutUV::IMeshView to abstract mesh data access and allow FLayoutUV to be used with any mesh type in any module. Replaced few instances of using an old version of overlapping corners data structure (multi-map) with new specialized FOverlappingCorners container. Change 4243112 by Yuriy.ODonnell Use new attribute array API for accessing FMeshDescription data. Change 4243131 by Brandon.Schaefer Cast our new resize w/h to int before checking if we are already that size #jira UE-52291 Change 4243172 by Brandon.Schaefer Ceil not trunk for this compare #jira none Change 4243271 by Brandon.Schaefer Change address to be more portable MS compiler does not place a '0x' on %p formating. Linux/Mac append a '0x' to the address #jira UE-62325 Change 4243276 by Richard.TalbotWatkin Fixed deprecated MeshDescription calls (merged with Yuriy's changes). Change 4244067 by Lauren.Ridge Preventing crash on floating text if asset container does not exist. VR Editor floating text is now not placeable or blueprintable. #jira UE-62139 Change 4244547 by Lauren.Ridge Changes to more accurately represent android behavior in PIE and UMG #jira UE-62301 Change 4244830 by Alexis.Matte Fix animation Range import, prevent changing the option when validating the anim range. #jira UE-62055 Change 4250565 by Yuriy.ODonnell Removed GeometryCache dependency on MeshUtilitiesCommon in non-editor configs. Change 4254733 by Matt.Kuhlenschmidt Slate Fast Path - Changed FSlateWindowElementList GetWindow to be thread safe. For fast path, this is accessed on multiple threads so it needs to be safe GetWindow is deprecated and GetPaintWindow should be used instead Edigrate from source CL 4254611 Change 4257092 by Chris.Gagnon Improved UMG rename validation to respect the errors from the blueprint validator. This fixes at least the case where it miss reported the issue when the name was greater than the length limit in blueprints. #jira UE-62417 Change 4257124 by Chris.Gagnon PR #4924: UE-62113 Fix Other filters toggling all assets to show up (Contributed by mamoniem) #jira UE-62457 Change 4258696 by Chris.Gagnon Removed Tab Spawner for Color Curve Editor is your not editing the color curve. #jira none Change 4258937 by Chris.Gagnon Simplifed the code in the case of a null CurveOwner. #jira UE-62443 Change 4259162 by Richard.TalbotWatkin Fixed crash when entering mesh editor mode after having loaded a new level. Change 4259909 by Chris.Gagnon Added better check output to try and learn more about a crash in the wild. Added some better const saftey while in there. #jira UE-60696 Change 4259995 by Chris.Gagnon Fix for possible crash if the mesh has invalid materials. Also fixed the fact the FindMaterialIndicesUsingTexture() didn't work as advertised at all. Seems like you'd attemp to paint all materials even when trying to only paint the ones using a particular texture. #jira UE-62488 Change 4261012 by Michael.Dupuis #jira UE-48899: Make sure the RootComponent is valid before trying to use it. Change 4261361 by Michael.Dupuis #jira UE-48899: Fixed the warning about scale Change 4261926 by Michael.Dupuis #jira UE-48899: Only check the root component validity as it's possible that the component is not registered when this get called. Change 4262163 by Richard.TalbotWatkin Fixed uninitialized member. #jira UE-62493 #jira UE-62506 Change 4262549 by Brandon.Schaefer Linux: Update the Slate application what the window size will most likely be As X11 takes a frame to send an Event that a window has had its size changed. This causes things such as the slate renderer to think the window size is different then it actually it. This causes streching of tooltips #jira UE-62555 Change 4262581 by Brandon.Schaefer Linux: Use Show so we preserve our bIsVisible bool and avoid sending SDL_ShowWindow twice (ie. if its already shown) #jira none Change 4262906 by Chris.Gagnon PR #4915: [UMG] Bind UWidgetAnimation from C++ to blueprint created animation (Contributed by TheCodez) Change 4262965 by Chris.Gagnon PR #4932: Fix to generate cleaner C++ files when using "New C++ Class" (Contributed by TheCodez) Change 4263177 by Chris.Gagnon PR #4935: Prevent crash when clicking use selected game mode multiple times (Contributed by projectgheist) Change 4264723 by Christina.TempelaarL Fixed SceneCaptureComponent so ShowOnlyActors property is writeable in blueprints. #jira UE-62547 Change 4266029 by Michael.Dupuis #jira none: Guarded against the scene being null Change 4266356 by Richard.TalbotWatkin Changed FMeshDescription to a struct from a class. Added log errors when loading UMeshDescription objects (now deprecated), in preparation to resave any which remain. Once all serialized UMeshDescriptions are wiped out (they only exist internally), FMeshDescription will become a USTRUCT. Change 4266621 by Matt.Kuhlenschmidt Fix UE4 icon to be the correct one Change 4266635 by Chris.Gagnon Added Message Log output for invalid software cursor as opposed to ensure/log. #jira UE-62554 Change 4268136 by Matt.Kuhlenschmidt Fix outline colors not updating when changing on the fly #jira UE-42116 Change 4269184 by Chris.Gagnon Fix for possible nullptr dereference. #jira none Change 4269902 by Brandon.Schaefer Slate dialog modal window was not settings its parent window #jira UE-62608 Change 4272083 by Chris.Gagnon Fix for case where the the property noded arn't rebuilt in time and custom property ui can be using stale data. #jira UE-62499 Change 4272869 by Michael.Trepka Make sure ShooterGame sets correct input modes/mouse capture in menus and in game to avoid problems with keyboard not working in menus after alt-tab #jira UE-61017 Change 4275155 by Michael.Dupuis #jira UE-62526: Update lightmap/shadow UV mapping after lighting build on HISMC. ISM will get also updated due to the Edit() that will reapply the values on CreateSceneProxy Change 4275298 by Lauren.Ridge Fixed string parsing when looking at parent cvar values #jira UE-62301 Change 4275391 by Lauren.Ridge Fix for resolutions increasing when swapping landscape/portrait Change 4275606 by Lauren.Ridge Moving all asset container access to PostActorCreated to avoid VR editor assets in cooks #jira UE-57797 Change 4275807 by Lauren.Ridge Duplicating color themes now dupllicates the color labels as well #jira UE-60697 Change 4275989 by Lauren.Ridge When selecting a node while the details panel is behind a different panel in the same dock tab, the details panel is brought forward #jira UETOOL-1325 Change 4276146 by Lauren.Ridge Fix for new texture sample nodes not taking the selected texture from the content browser as the starting value. #jira UETOOL-1322 Change 4276412 by Lauren.Ridge Assets that can be dragged into the material graph now indicate that with a checkmark #jira UE-56024 Change 4279549 by Lauren.Ridge Fixed recursion of calls through SetDesignerFlags to avoid double-recursion with many nested panels #jira none Change 4279894 by Lauren.Ridge Adding check for RootWidget existing Change 4279969 by Michael.Trepka Updated FDesktopPlatformMac::FileDialogShared() to handle a case where no extensions were specified in FileTypes string #jira UE-62421 Change 4280317 by Lauren.Ridge Adding if WITH_EDITOR Change 4280716 by Chris.Gagnon PR #4979: UE-62795: Deprecate bAutoWrapText in TextBlock (Contributed by projectgheist) Slightly modified, the base syncronize sets the autowrap value. Change 4280847 by Lauren.Ridge Single property setting changes will now also call OnModified delegate for their section #jira UE-58276 Change 4280850 by Chris.Gagnon Added early out and log if focus is attempted to be set when the window is suppost to be be disabled due to a modal window being up. #jira UE-62742 Change 4280931 by Brandon.Schaefer Linux: Use MallocCrash when hitting out of memory issues in BinnedAllocFromOS #jira FORT-108267 Change 4281460 by Lauren.Ridge Clearing focus on a variable once it is committed. Fixes assert on undo #jira UE-61872 Change 4283706 by tim.gautier QAGame: Adding HISM test map / assets Change 4283980 by Michael.Trepka Unshelved from pending changelist '4238012': Xcode project generator improvements - Per-project precompiled header that wraps UnrealEd.h with #ifdef __cplusplus to allow Xcode to compile the pch in ObjC mode. Later we could replace UnrealEd.h with some other header file for non-editor targets - Moved commands that disable compile warnings from MacToolChain's GetCompileArguments_Global to ApplePlatformCompilerPreSetup.h. Thanks to this we can have all the Xcode recommended warnings enabled in the project, but still allow Clang to index our code without reporting warnings - Few more minor changes to fix Xcode's project validation and indexing warnings Also, unify compile warning flags across all Apple platforms. #jira UE-47965, UE-44327 Change 4284062 by Michael.Trepka Copy of CL 4222794 from 4.20 Fixed a crash at exit in Mac editor caused by an attempt to use MetalProfiler after deleting it #jira none Change 4284266 by Brandon.Schaefer Linux: Fix deadlock in a file cache which could be locked in a crash handler #jira UE-62808 Change 4284469 by Lauren.Ridge Fix for material parameter node crashing Change 4284541 by Lauren.Ridge Blueprints inheriting from UWidget will now show up in the palette view even if they are not loaded. #jira UE-59164 Change 4284542 by Michael.Trepka Copy of CL 4222797 Fixed a problem with FMacPlatformMisc::NormalizePath allocating an autorelease pool during crash handling, which resulted in the OS killing the process before we spawn CrashReportClient. Now this function is identical to Linux version. #jira UE-61779 Change 4285288 by Cody.Albert Fixed crash when changing "Show Coalesced" setting in profiler Change 4285483 by Chris.Gagnon PR #4936: Duplicate widget functionality for UMG editor (Contributed by projectgheist) Fixed up some variable names. #jira UE-62528 Change 4287219 by Brandon.Schaefer dump_syms: Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation #jira FORT-670 Change 4287247 by Brandon.Schaefer BreakpadSymbolEncoder: If the file doesnt have a newline at EOF handle that as a seperate case #jira none Change 4287259 by Brandon.Schaefer dump_syms: Build on centos7 #jira none Change 4287269 by Brandon.Schaefer Linux: Disable generating CFI info when running dump_syms #jira none Change 4287326 by Brandon.Schaefer dump_syms: Update to disabling the CFI generation version #jira none Change 4287902 by Brandon.Schaefer TestPAL: Add cases for testing inline callstacks #jira UEENGQA-21414 Change 4288365 by Lauren.Ridge PR #4422: Set default material parameter name (Contributed by projectgheist) Change 4292002 by Brandon.Schaefer Linux: If our default settings are empty help fill in the proper name #jira UE-62910 Change 4292496 by Lauren.Ridge Now all renamable nodes do name verification also Change 4292532 by Lauren.Ridge PR #4989: Add icons to folder context menu favorites (Contributed by projectgheist) Change 4293043 by tim.gautier QAGame: Added a panner to ML_Albedo Change 4295326 by Richard.TalbotWatkin - Updated MeshDescription attribute calls to fix deprecation warnings. - Removed TMeshAttributeArraySet::AddArray because the functionality was already available as part of SetNumIndices. - Renamed TMeshAttributeArraySet::InsertArray, RemoveArray to InsertIndex, RemoveIndex for naming convention consistency (these methods deal with attribute indices, not with arrays). Added support for them in other attribute classes, and made them virtual so they can be called as part of an AttributesView. - Removed redundant code in FUSDStaticMeshImportState::AddPolygons, when determining the number of UVs in the mesh description. Change 4295795 by Richard.TalbotWatkin Corrected MAX_MESH_TEXTURE_COORDS_MD references. Change 4297308 by Cody.Albert Fixed bug with InputPreProcessorsHelper::Add not correctly adding input processors Change 4297799 by Brandon.Schaefer Linux: Dont assume DISPlAY=:0 #jira UE-63050 Change 4298150 by Brandon.Schaefer dump_syms: This is rebuilding dump_sym changes from CL 4287219 for Mac Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation Source code changes for dump_syms was changed at CL 4287219 #jira none Change 4298369 by Brandon.Schaefer dump_syms: Rebuild for Linux/Windows to fix a possible crash when missing debug_ranges in the debug section Source changed in CL 4298150 #jira none Change 4301952 by Lauren.Ridge Fixing input labels on material function inputs #jira UE-63077 Change 4302388 by Brandon.Schaefer Linux: If we have a 0 LineNumber lets try to use to the previous Record. Still an issue with non-virtual thunks reporting line number zero but it seems even windows skips these frames. GDB reports a different callsite that doesnt seem super related (possibly?) Nothing to do with thunking though. #jira UE-62930 Change 4304835 by Alexis.Matte Add imported framerate info to anime sequence #jira UE-51302 Change 4307480 by Brandon.Schaefer SDL2: Update to newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4307481 by Brandon.Schaefer SDL2: Rebuild with the newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4308264 by Brandon.Schaefer Linux: Make both DLLIMPORT the same value #jira UE-61174 Change 4308640 by Matt.Kuhlenschmidt Added a "report bug" menu entry to the help menu #jira UE-63182 Change 4309508 by Brandon.Schaefer nvTextureTools: Rebuild on Linux using our libc++ and not libstdc++ Move to the proper runtime depend location #jira UE-54892 UE-61705 Change 4309554 by Brandon.Schaefer SDL2: Add last missing folder #jira none Change 4309955 by Chris.Gagnon PR #5017: UE-63105: Modify SGraphActionMenu::OnKeyDown to use a different branc. (Contributed by projectgheist) Change 4311008 by Brandon.Schaefer nvTextureTools: Actually remove libstdc++ from Linux build #jira UE-54892 Change 4312195 by Alexis.Matte - Fix the set range feature to always use the file sample rate so the range match what the user see in the DCC - Also add some fbx file information to the import dialog #jira UE-62504 Change 4315347 by Brandon.Schaefer Linux: Disable XGE builds as it appears to be lower casing folders when the build platform is Windows #jira UE-63296 Change 4318704 by Lauren.Ridge Fix for crash on opening map built data #jira UE-63301 Change 4319999 by Lauren.Ridge Fix for crash in vr mode #jira UE-63376 Change 4320144 by Chris.Gagnon Fix for smoke content that set the hovered size different to the normal size on the UMG slider handle. #jira UE-63367 Change 4327887 by Michael.Trepka Disable nonportable-include-path warning in iOS toolchain to allow incorrect case in paths to headers passed using -include #jira UE-63408 Change 4217622 by Brandon.Schaefer Linux: Pass a command line argument to crash reporter to show or skip a user agreement popup #jira none Change 4312048 by Brandon.Schaefer Linux: Dont disable ICU by default on Servers #jira UE-59113 Change 4320173 by Chris.Gagnon Fix for startup movie streamer on xbox not finishing. #ROBOMERGE-OWNER: jason.bestimt #ROBOMERGE-SOURCE: CL 4329255 in //UE4/Main/... #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 4329265 by chris gagnon in Dev-VR branch]
2018-08-29 18:37:17 -04:00
SWindow* ParentWindow = OutDrawElements.GetPaintWindow();
Copying WEX-Staging @ (WEX/Main @ 3740665) to //UE4/Main #lockdown Nick.Penwarden #rb none Copying //UE4/WEX-Staging to //UE4/Dev-Main (Source: //WEX/Main/Engine @ 3740665) #lockdown Nick.Penwarden Change 3739326 by Ben.Zeigler Change iteration order of depends nodes so it lists hard management references before soft management references, this is better for the UI when lots of references exist Update text for loading custom asset registry bin to be clearer Change 3739000 by John.Opila Caching optimization for text widget desired size. Change 3713551 by David.Nikdel Allow Set Properties to recognize Json array values as importable. Change 3712485 by Josh.May Added Pete's fix for the PLATFORM_TVOS/PLATFORM_IOS #define conflict introduced by mach-o/loader.h Change 3700174 by Chris.Babcock Fix setFilters crash on some Android devices Change 3691531 by Josh.May Fixed an intermittent crash that occurred when opening the AssetAuditBrower. AssetManagerEditorModule's CurrentRegistrySource was getting set too early, becoming invalid in the event that RegistrySourceMap is resized. Change 3688409 by Gil.Gribb Critical fix for an extremely rare race condition on async IO. Change 3687529 by josh.may Force layout recalculations for single-pass layout SScaleBoxes when their final scale is zero. This tends to occur in calls to SearchForWidgetRecursively before a SScaleBox's AllottedGeometry has been calculated. Change 3684788 by Peter.Sauerbrei fix for archive generation on the build machines Change 3684320 by john.opila Workaround for widgets disappering. Ensuring scale is never 0 so we don't get divide by zero. Change 3684042 by Peter.Sauerbrei more logging to figure out why there is not data in the Applicaiton diretory of the archive Change 3678620 by Ben.Zeigler Minor text changes to size map Change 3678314 by Ben.Zeigler Add Make Collection With References and Audit References to Size Map to easily allow inspecting the specific set of filtered packages in other tools Change 3677875 by Ben.Zeigler Fix crash in size map from keeping reference to node after map was resized, and undo the Name->DisplayName rename as it could affect licensees Change 3676899 by Peter.Sauerbrei narrowed down to the plist data, trying to figure out if it is missing or not Change 3676570 by Peter.Sauerbrei more logging to track down the archive error Change 3676293 by Peter.Sauerbrei fix for compile failure on IOS Change 3676172 by Peter.Sauerbrei potential fix for missing icons in the ipa when run through the build machines Change 3673544 by Ben.Zeigler Sort AllChunksInfo alphabetically so the order is consistent accross build and platforms to facillitate diffing Change 3671597 by Peter.Sauerbrei Merging //UE4/Dev-Mobile/Engine/... to //WEX/Main/Engine/... Change 3670932 by Ben.Zeigler Change it so cooking with the AssetManager writes out AllChunksInfo.csv next to the DevelopmentAssetRegistry, but not the per-chunk csv files as those are not useful. Also made the size counts platform accurate Change 3670906 by Peter.Sauerbrei update WEX for building with Xcode 9 Change 3660026 by Josh.May Moved SWebBrowserView's parent window "searches" to OnPaint. There's definitely something wrong with FindWidgetWindow... Even after deferring SWebBrowserView's calls to FindWidgetWindow until first Tick, the same widget layout artifacts could occur after opening multiple SWebBrowserViews. And, as Nick pointed out in the related email thread, this approach is also more efficient. Change 3655411 by Josh.May Ensure SWebBrowserView's parent window searches are deferred until after Construct. We haven't puzzled through it yet, but calling FindWidgetWindow during Construct seems to corrupt some Slate state. Deferring this search until later gets around the issue and makes sense anyway, given the widget isn't added to the hierarchy until after Construct. Change 3655407 by John.Opila Sneaking in some stats for SpawnActor. Change 3654649 by Ben.Zeigler Refactor SizeMap and ReferenceViewer into the AssetManagerEditor plugin, and delete the old modules. Fix SizeMap crash that I temporarily added. TreeMap is initialized weirdly Change 3648912 by Ben.Zeigler First half of changes to refactor sizemap/reference viewer into the asset manager editor plugin Add GetAllContentBrowserCommandExtenders to ContentBrowserModule that allows registering commands/keybinds to extend the content browser via plugins Add GetSharedMenu/ToolbarExtensibilityManager to AssetEditorToolkit that allows extending the generic asset editor via plugin Move the code to spawn the Reference Viewer and SizeMap into the AssetManagerEditor plugin so these UIs can be tightly bound and share data. This also enables keybinds for Size Map and Audit. Remove size map from the save as dialog, it created a special modal size map window that will not work after my refactor Change 3639419 by Ben.Marsh Use DirectoryInfo instead of DirectoryReference to enumerate projects. Tracking down UHT compile failures on Mac. Change 3638619 by David.Nikdel AsyncLoading: Suggested change by Gil to add lock prior to changing LoadPhase to WaitingForHeader (presumably to make FArchiveAsync2::StartReadingHeader's assumption about locking true) Change 3633562 by Chris.Babcock Update Android virtual keyboard support Change 3630564 by Peter.Sauerbrei fix for the manifest stage problem Change 3629577 by Chris.Babcock Fix merge errors in GameActivity.java Change 3629154 by David.Nikdel Disable debug device output in shipping builds (even if logs are enabled) Change 3626542 by John.Opila Back out changelist 3603452 Undoing the OpenGL load changes as the initial load time was just too damn high! Change 3620472 by David.Nikdel Fix from Nick to fix a BP that crashes on Compile Change 3618090 by Josh.May Reset inertial scrolling for SScrollboxes and STableView-based Slate widgets when scrolling to specific scroll offsets. Change 3613980 by Chris.Babcock Fix issue with Android password keyboard input Change 3603825 by John.Opila Shader change doesn't seem to like standalone PC. Change 3603452 by John.Opila Moving openGL shader compilation into loading instead of at the last minute. Change 3593008 by David.Nikdel Merging CL 3504471 from //Fortnite/Dev-Cinematics/Engine/... to //WEX/Main/Engine/... ---------------------------------------- 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 ================================================================================================= THESE CHANGES TOUCH MULTIPLE PLATFORMS ================================================================================================= Change 3739931 by Ben.Zeigler changes to some asset manager code modified on WEX, and fix several FStringAssetReference->FSoftObjectPath Change 3723451 by Josh.May Exposed OnBeforePopup to UMG and Blueprint for UWebBrowser. This is triggered by the CEFBrowserHandler when attempting to open hyperlinks targeting _blank and, when not handled, would result in the page never loading. Added OnBeforePopup handling for the HTMLNewsWidget, ensuring the URLs are opened in an external browser. Change 3711256 by Dmitriy.Dyomin Fixed: Friend list invalidation panel relative transform caching issues Also fixed issues with and set slate.cacherenderdata=0 for better batching Change 3698695 by Josh.May Made the UMG default font overridable via config, allowing us to replace it with a game-scope localized Font asset. If there's a better place for this mechanism/accessor to live, please let me know. Added a new 'Default' font that replicates '/Engine/EngineFonts/Roboto'. This also has a localized Font asset variant for zh-Hans. Change 3676085 by Josh.May Implemented MulticastBroadcastReceiver, a BroadcastReceiver capable of "multicasting" intents to other receivers. AppsFlyer defines a similar MultiInstallBroadcastReceiver class specific to the INSTALL_REFERRER intent, but it MUST be the very first one defined (cannot be guaranteed in our build pipeline AFAIK). Added MulticastBroadcastReceiver (for INSTALL_REFERRER) to the AndroidManifest generation logic, allowing BOTH Adjust and AppsFlyer to receive the intent. Added dev channel support for AndroidAppsFlyer, enabled conditionally based on shipping/distribution and whether or not a valid AppsFlyerDevChannel name is specified. For WEX, our dev channel is WEX_Dev. Fixed AppsFlyer_EventAttribute's Java class lookups and constructor signature. Change 3670860 by Ben.Zeigler First version of improvements to tools to analyze chunks Size Map and Reference Viewer now support reading cooked asset data and displaying chunks. Changing the platform dropdown in the Asset Audit window switches the other windows as well Asset Audit window now has "Add Chunks" button, and selecting AllTypes in the Primary Asset drop down will add all primary assets Size Map now shows Disk Size by default, and supports a right click context menu Significant UI improvements to all 3 tools, including keybind support Split Manage references into Hard and Soft, where Hard are set explicitly and soft are inherited. This allows determining why an asset was included in a chunk/primary asset When the AssetManager builds management information for the audit browser/cooker, it now precomputes a chunk mapping for relevant assets. PackageChunkType is used to refer to these virtual primary assets Add callback to content browser delegates to handle adding arbitrary FAssetData to an asset view, used to show chunks Several changes to the ITreeMap UI used by size map Change 3670290 by Josh.May Added AppleAppID configs for AppsFlyer. Added AdSupport and iAd frameworks for IOSAppsFlyer. According to the AppsFlyer documentation, these are required for IDFA and Apple Search Ads tracking. Change 3643531 by Peter.Sauerbrei fix for save game location and certain data backed up to the cloud when it shouldn't Change 3629303 by Ben.Zeigler Merge fix for shared ptr corruption in async loading thread from Main, and enable asnyc loading thread for WEX Copy of CL #3623261 and 3625806 Change 3629219 by Peter.Sauerbrei Merging using WEX_Main_to_UE4_WEX_Staging bringing over the files that Stan didn't have access to Change 3629063 by Stanley.Hayes Engine Merge: Merging using WEX_Main_to_UE4_WEX_Staging(flipped) Change 3618988 by Josh.May Reimplemented DevicePerformanceBucket-based WorldMap class selection to account for the WorldMap actor being pre-serialized into the UMAP. On a related note, ChildActorComponents marked as "editor only" now mark their spawned Actors as Transient to prevent them from getting serialized at cook-time. Change 3597981 by Josh.May Converted WExpCampaignDefinition's RegionDefinition refs back to hard references and, to compensate, converted WExpZoneDefinition's ZoneBoss refs to soft references. This moves the RegionDefinitions and ZoneDefinitions from chunk 2 to chunk 1 without pulling in assets for the ZoneBosses. This also allows us to grab the ZoneBoss refs during UWExpAssetManager::GetMainMenuAssetList. Reworked UWExpAssetManager::GetMainMenuAssetList and UWExpAssetManager::GetLevelAssetList to build more "complete" asset lists by expanding lists of PrimaryAssetIds. Tweaked the WorldMap's ZoneBoss spawning to account for the switch to AssetPtrs. Change 3581214 by Josh.Markiewicz added cookie deletion for Google on logout [CL 3750870 by Stanley Hayes in Main branch]
2017-11-10 17:20:53 -05:00
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor [at] 4327887) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3813004 by Matt.Kuhlenschmidt Fix dpi scale being wrong when there is a mix of high dpi and low dpi monitors and the editor opens the window on the low dpi monitor Change 3946515 by Michael.Trepka Reverted CL 3813004. We need to save editor's root window size and position in DPI-independent units, as that's what the loading code expects. Change 4052825 by Brandon.Schaefer Add back -funwind-tables for arm This was removed an only tested on x86 which worked just fine. Arm reqiures this for backtrace #jira none Change 4055318 by Brandon.Schaefer Remove extra mallocs when crash handling Still need to look into gmalloc calls, such as using FStrings during Ensure/Crash handling [at]Arciel.Rekman #jira UE-58538 Change 4055623 by Brandon.Schaefer Replace std::endl with "\n" As std::endl is "\n" << std::flush. On windows dump_syms was taking 33 seconds to fflush with std::endl on a 1.2GB file. No longer with "\n". [at]Josh.Engebretson Change 4057102 by Jamie.Dale Added missing API export Change 4057384 by Rex.Hill Fix ReversePolygonFacing crash Change 4067426 by Matt.Kuhlenschmidt PR #4667: Source control history: remove empty spacing in the right of the detail panel (Contributed by SRombauts) Change 4067587 by Matt.Kuhlenschmidt PR #4311: PlacementModeTools shapes searchable and thumbnail (Contributed by projectgheist) Change 4068480 by Cody.Albert Fix display name for Display UI Extension Points Change 4070876 by Brandon.Schaefer Avoid printing when in a signal handler. Put that off until the end #jira UE-36663 [at]Arciel.Rekman, [at]Anthony.Bills Change 4071980 by Brandon.Schaefer Cache files that are invalid or the wrong case sensitivity #jira UE-58250 [at]Arciel.Rekman Change 4079967 by Matt.Kuhlenschmidt Added scale parameter to Canvas::DrawText #jira UE-59023 Change 4080228 by Alexis.Matte Fix the PerPlatformPropertiesWidget to be readable when there is many platform #jira UE-57556 Change 4081171 by Matt.Kuhlenschmidt PR #4272: Fix typo. (Contributed by Damianno19) Change 4081601 by Matt.Kuhlenschmidt GitHub 4077 : Hide SDetailView Filterbox when no actor selected Change 4090114 by Matt.Kuhlenschmidt Fixed touch events simulated through mouse not respecting high dpi #jira UE-59477 Change 4091999 by Matt.Kuhlenschmidt Fixed insert/delete/duplicate children calling PostEditChange on the existing child node not the array Change 4093187 by Arciel.Rekman Do not save window position if running with -nullrhi (UE-52498). - This also fixes a crash on exiting automation tests. #jira UE-52498 Change 4096404 by Richard.TalbotWatkin Resaved test assets to update to latest UStaticMesh serialization format. Change 4096445 by Richard.TalbotWatkin New serialization layout for UMeshDescription. - Only the bare minimum is serialized: any internal values which can be inferred from others in the Mesh Description are omitted. - Triangles are no longer serialized: a triangulation step is performed per polygon when serialized. - Attribute arrays of simple types are now serialized with BulkSerialize for speed; only FName requires element-by-element serialization. Change 4112843 by Brandon.Schaefer Rebuilt replacing std::endl with '\n' avoiding a std::flush *pre* write Was taking 30 seconds to std::flush on a 1.2 GB file #jira none Change 4113422 by Brandon.Schaefer If we are using the native bundled toolchain set LC_ALL=C to avoid locale issues #jira UE-59416 Change 4113849 by Cody.Albert Fix support for toolbar extensions in the UMG editor Change 4118758 by Richard.TalbotWatkin - Refactor to put UStaticMesh Mesh Descriptions in a separate object which is not loaded by default, but which can be requested when needed. This needs to be kept in sync with the number of SourceModel LODs. - Various refactors to import/building. - Changed UMeshDescription to FMeshDescription, and made its preferred semantics pass-by-reference rather than by pointer. - Deprecated UMeshDescription. Change 4119883 by Rex.Hill Cleanup blueprint callable categories Landscape Editor -> Landscape|Editor Landscape Runtime -> Landscape|Runtime Cloth -> Clothing Simulation Cinematics -> Cinematic Utility -> Utilities Change 4119898 by Rex.Hill Cleanup blueprint callable categories x|Magic Leap -> Magic Leap|x Apple ARKit * -> Apple ARKit|* Change 4119972 by Brandon.Schaefer Dont add colors if we are not outputing to a terminal #jira UE-58173 Change 4119994 by Brandon.Schaefer Only check once if we are outputing to a terminal #jira UE-58173 Change 4122654 by Alexis.Matte Fix re import assignment of sections #jira UE-59611 Change 4123536 by Alexis.Matte Add to the fbx importer the possibility to use different sample rate when importing an animation. #jira UE-59444 Change 4124702 by Brandon.Schaefer Fix duplicated struct/class from slightly different submit into main coming back into dev-editor #jira UE-60163 Change 4133449 by Mike.Erwin glTF importer work Foundations of work for Skeletal Mesh import; right now we just support Static Mesh. - node hierarchy - joint IDs & skinning weights - matrix & quaternion values #jira none Change 4133749 by Matt.Kuhlenschmidt PR #4771: Fix access violation for ImportAsset commandlet fbx reimport. (Contributed by UristMcRainmaker) Change 4133758 by Matt.Kuhlenschmidt PR #4675: Properly set TextScale for OnScreenDebugMessages (Contributed by projectgheist) Change 4134543 by Alexis.Matte Update the staticmesh LOD model max deviation when generating a LOD #jira UE-60353 Change 4134559 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - Editor scripting utilities #jira UE-60666 Change 4134560 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - SpeedTreeImporter #jira UE-60667 Change 4135335 by Alexis.Matte Deprecate FRawMesh - GLTF importer #jira UE-60670 Change 4135857 by Alexis.Matte Fix CIS build warning #jira none Change 4137249 by Matt.Kuhlenschmidt Fix tiny fonts from appearing in slow task dialogs Change 4137280 by Matt.Kuhlenschmidt Fix specifying relative paths for the auto-import commandlet not working Change 4137283 by Matt.Kuhlenschmidt PR #4305: Light map index was unintialized (Contributed by DSDambuster) Change 4137290 by Matt.Kuhlenschmidt PR #4382: Prevent error log due to non-existing plugin directory (Contributed by projectgheist) Change 4147032 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - ABC Importer #jira UE-60702 Change 4147978 by Matt.Kuhlenschmidt Fix one of the CIS fails Change 4154874 by Matt.Kuhlenschmidt Fix hidden asset properties in struct details panels. We consider all object properties with "allowedclasses" metadata to be asset properties since they only show an asset picker. Change 4167303 by Matt.Kuhlenschmidt Work around for sync to content browser from details panels not working for interface properties Change 4167388 by Matt.Kuhlenschmidt Make sure when converting relative path filenames in automated import that we convert them relative to the project directory. Change 4171891 by Matt.Kuhlenschmidt Fix preview mesh actor becoming stuck to the cursor when the editor or viewport loses focus #jira UE-61246 Change 4175503 by Cody.Albert Updated variable details panels to not display unusable metadata options for UMG widget references #jira UE-55078 Change 4175736 by Cody.Albert PR #4663: UE-20103: Slate widgets retain their category name v2 (Contributed by projectgheist) Change 4178937 by Rex.Hill Fix crash opening level after removing as sublevel jira: UE-61305 Change 4181097 by Matt.Kuhlenschmidt Fix Linux/Mac CIS Change 4184333 by Alexis.Matte Fix the material ID assignation when re-importing static mesh #jira none Change 4199682 by Arciel.Rekman Linux: enable XGE during cross-builds to see whether the build issues persist. - Licensees are asking for this and XGE folks are eager to help investigating the crashes, if any. Change 4200944 by Cody.Albert Updated VR Mode button to become inactive during SIE (instead of disappearing altogether) #jira UE-50220 Change 4204817 by Alexis.Matte Enable or disable the morph target weight slider depending of the project settings. #jira UE-61671 Change 4204821 by Alexis.Matte Optimize import time for morph targets #jira UE-61670 Change 4207394 by Cody.Albert PR #3299: UMG Slider Additions (Contributed by Dzuelu) Change 4208299 by Brandon.Schaefer Fix warning/error with logical operators #jira none Change 4210660 by Cody.Albert PR #3458: UE-43728: Always show scrollbar when necessary (Contributed by projectgheist) #jira UE-43727, UE-43278 Change 4215684 by Brandon.Schaefer Linux: Implement minimized function for LinuxWindow #jira UE-56023 Change 4217350 by Brandon.Schaefer Linux: Clean up IsMaximized #jira none Change 4217489 by Brandon.Schaefer Linux: Make popup menus BORDERLESS. Slate will give the menu events This appears to fix a lot of our grabs causing compiz to do something issue. #jira UE-59237, UE-54085, UE-51407, UE-50018, UE-53915 Change 4225018 by Cody.Albert UMG Hierarchy now remembers expansion state when being destroyed and recreated (due to closing widget or switching to Graph view) #jira UE-61836 Change 4225088 by Cody.Albert Added hover style for color picker slider Change 4226081 by Richard.TalbotWatkin New attribute array API. Fixed some flaws in the original API, deprecated various methods, and introduced some new features. - Now attribute arrays are accessed via TAttributesRef or TAttributesView (and corresponding const versions). These value types hold references to attribute arrays, and individual elements can be accessed by their element ID and attribute index. Using a value type is safer than the previous method which required assignment to a const-ref (and not doing so would take a temporary copy of the attribute array). - The attribute set has been totally flattened, so all attributes of different types are added to the same container. This greatly improves compile times, prevents attributes from being created with the same name but different types, and permits the view feature. - The class hierarchy has changed to have generic base classes where possible with no particular ElementID type. This reduces the code footprint by no longer generating nearly identical copies of templated methods. - A TAttributesView allows the user to access an attribute array by the type of their choosing, regardless of its actual type. For example, the Normal attribute may be registered with type FPackedVector, but accessed as if it was an FVector. This allows us to move away from very strong typing, and instead transparently store attributes of a more efficient size, while the user is not affected. - A transient attribute flag has been added, to denote that a particular attribute should not be saved. Change 4226083 by Richard.TalbotWatkin Reinstated original mesh editor materials. Change 4226102 by Richard.TalbotWatkin Fixed some deprecation warnings, and a mistake in MeshAttributeArray.h. Change 4226118 by Richard.TalbotWatkin Fix build errors: - Added missing file - Corrected the last fix. Change 4226121 by Richard.TalbotWatkin Bumped static mesh mesh data GUID. Change 4226231 by Richard.TalbotWatkin Removed some test code which got checked in by mistake. Change 4226232 by Richard.TalbotWatkin Fixed typo which caused build errors. Change 4226234 by Richard.TalbotWatkin Fixed a typo in MeshDescriptionTests. Change 4226237 by Richard.TalbotWatkin Removed over-cautious deprecation warnings. Once GetAttributes() is changed to GetAttributesRef(), element access will still work with array syntax. Change 4226625 by Richard.TalbotWatkin Added missing asset. Change 4227365 by Matt.Kuhlenschmidt Fix brush actors not showing the correct icon in scene outliner. - Actors can now supply their own icon if needed #jira UE-61948 Change 4229632 by Alexis.Matte Make the namespace an import option #jira UE-62099 #jira UE-62067 Change 4229637 by Alexis.Matte Fix fbx importer staticmesh the light map index, the index was check before the build. #jira UE-62064 Change 4232793 by Chris.Gagnon Added include to fix non unity builds. #jira UE-62138 Change 4234206 by Brandon.Schaefer Linux: Allow windows that want to be resizable to be resizeable Github PR #3578 thanks hhyyrylainen #jira UE-45847 Change 4234322 by Brandon.Schaefer Continue after starting UnrealVersionSelector to avoid blocking a chain command #jira UE-61530 Change 4234446 by Chris.Gagnon Properly handled FPackageName::TryConvertFilenameToLongPackageName() failing in Cache Thumbnail. #jira UE-61990 Change 4235057 by Brandon.Schaefer Linux: Write to stderr when we fail to find expected to find sym file #jira none Change 4235121 by Brandon.Schaefer Linux: Mark the static bool as soon as we enter the scope #jira none Change 4235399 by Brandon.Schaefer Linux: Check we are not x86 otherwise add unwind tables Copying the change that went over into 4.20.1 here #jira none Change 4240539 by Jamie.Dale Made DataTableUtils::GetX functions take a const data pointer Change 4240646 by Chris.Gagnon Fix for delayed destruction of UWidgets when they are manually removed from a panel as part of tear down. Inspired by the pull request, however I put in a more generic fix. PR #4904: Fix late release of Slate resources managed by UMG slot widgets (Contributed by cmp-) Change 4242975 by Yuriy.ODonnell Moved duplicated code from MeshUtilities and MeshDescriptionOperations (FLayoutUV, FAllocator2D, FOverlappingCorners, etc.) into a new single module MeshUtilitiesCommon. Add a generic opaque mesh view interface FLayoutUV::IMeshView to abstract mesh data access and allow FLayoutUV to be used with any mesh type in any module. Replaced few instances of using an old version of overlapping corners data structure (multi-map) with new specialized FOverlappingCorners container. Change 4243112 by Yuriy.ODonnell Use new attribute array API for accessing FMeshDescription data. Change 4243131 by Brandon.Schaefer Cast our new resize w/h to int before checking if we are already that size #jira UE-52291 Change 4243172 by Brandon.Schaefer Ceil not trunk for this compare #jira none Change 4243271 by Brandon.Schaefer Change address to be more portable MS compiler does not place a '0x' on %p formating. Linux/Mac append a '0x' to the address #jira UE-62325 Change 4243276 by Richard.TalbotWatkin Fixed deprecated MeshDescription calls (merged with Yuriy's changes). Change 4244067 by Lauren.Ridge Preventing crash on floating text if asset container does not exist. VR Editor floating text is now not placeable or blueprintable. #jira UE-62139 Change 4244547 by Lauren.Ridge Changes to more accurately represent android behavior in PIE and UMG #jira UE-62301 Change 4244830 by Alexis.Matte Fix animation Range import, prevent changing the option when validating the anim range. #jira UE-62055 Change 4250565 by Yuriy.ODonnell Removed GeometryCache dependency on MeshUtilitiesCommon in non-editor configs. Change 4254733 by Matt.Kuhlenschmidt Slate Fast Path - Changed FSlateWindowElementList GetWindow to be thread safe. For fast path, this is accessed on multiple threads so it needs to be safe GetWindow is deprecated and GetPaintWindow should be used instead Edigrate from source CL 4254611 Change 4257092 by Chris.Gagnon Improved UMG rename validation to respect the errors from the blueprint validator. This fixes at least the case where it miss reported the issue when the name was greater than the length limit in blueprints. #jira UE-62417 Change 4257124 by Chris.Gagnon PR #4924: UE-62113 Fix Other filters toggling all assets to show up (Contributed by mamoniem) #jira UE-62457 Change 4258696 by Chris.Gagnon Removed Tab Spawner for Color Curve Editor is your not editing the color curve. #jira none Change 4258937 by Chris.Gagnon Simplifed the code in the case of a null CurveOwner. #jira UE-62443 Change 4259162 by Richard.TalbotWatkin Fixed crash when entering mesh editor mode after having loaded a new level. Change 4259909 by Chris.Gagnon Added better check output to try and learn more about a crash in the wild. Added some better const saftey while in there. #jira UE-60696 Change 4259995 by Chris.Gagnon Fix for possible crash if the mesh has invalid materials. Also fixed the fact the FindMaterialIndicesUsingTexture() didn't work as advertised at all. Seems like you'd attemp to paint all materials even when trying to only paint the ones using a particular texture. #jira UE-62488 Change 4261012 by Michael.Dupuis #jira UE-48899: Make sure the RootComponent is valid before trying to use it. Change 4261361 by Michael.Dupuis #jira UE-48899: Fixed the warning about scale Change 4261926 by Michael.Dupuis #jira UE-48899: Only check the root component validity as it's possible that the component is not registered when this get called. Change 4262163 by Richard.TalbotWatkin Fixed uninitialized member. #jira UE-62493 #jira UE-62506 Change 4262549 by Brandon.Schaefer Linux: Update the Slate application what the window size will most likely be As X11 takes a frame to send an Event that a window has had its size changed. This causes things such as the slate renderer to think the window size is different then it actually it. This causes streching of tooltips #jira UE-62555 Change 4262581 by Brandon.Schaefer Linux: Use Show so we preserve our bIsVisible bool and avoid sending SDL_ShowWindow twice (ie. if its already shown) #jira none Change 4262906 by Chris.Gagnon PR #4915: [UMG] Bind UWidgetAnimation from C++ to blueprint created animation (Contributed by TheCodez) Change 4262965 by Chris.Gagnon PR #4932: Fix to generate cleaner C++ files when using "New C++ Class" (Contributed by TheCodez) Change 4263177 by Chris.Gagnon PR #4935: Prevent crash when clicking use selected game mode multiple times (Contributed by projectgheist) Change 4264723 by Christina.TempelaarL Fixed SceneCaptureComponent so ShowOnlyActors property is writeable in blueprints. #jira UE-62547 Change 4266029 by Michael.Dupuis #jira none: Guarded against the scene being null Change 4266356 by Richard.TalbotWatkin Changed FMeshDescription to a struct from a class. Added log errors when loading UMeshDescription objects (now deprecated), in preparation to resave any which remain. Once all serialized UMeshDescriptions are wiped out (they only exist internally), FMeshDescription will become a USTRUCT. Change 4266621 by Matt.Kuhlenschmidt Fix UE4 icon to be the correct one Change 4266635 by Chris.Gagnon Added Message Log output for invalid software cursor as opposed to ensure/log. #jira UE-62554 Change 4268136 by Matt.Kuhlenschmidt Fix outline colors not updating when changing on the fly #jira UE-42116 Change 4269184 by Chris.Gagnon Fix for possible nullptr dereference. #jira none Change 4269902 by Brandon.Schaefer Slate dialog modal window was not settings its parent window #jira UE-62608 Change 4272083 by Chris.Gagnon Fix for case where the the property noded arn't rebuilt in time and custom property ui can be using stale data. #jira UE-62499 Change 4272869 by Michael.Trepka Make sure ShooterGame sets correct input modes/mouse capture in menus and in game to avoid problems with keyboard not working in menus after alt-tab #jira UE-61017 Change 4275155 by Michael.Dupuis #jira UE-62526: Update lightmap/shadow UV mapping after lighting build on HISMC. ISM will get also updated due to the Edit() that will reapply the values on CreateSceneProxy Change 4275298 by Lauren.Ridge Fixed string parsing when looking at parent cvar values #jira UE-62301 Change 4275391 by Lauren.Ridge Fix for resolutions increasing when swapping landscape/portrait Change 4275606 by Lauren.Ridge Moving all asset container access to PostActorCreated to avoid VR editor assets in cooks #jira UE-57797 Change 4275807 by Lauren.Ridge Duplicating color themes now dupllicates the color labels as well #jira UE-60697 Change 4275989 by Lauren.Ridge When selecting a node while the details panel is behind a different panel in the same dock tab, the details panel is brought forward #jira UETOOL-1325 Change 4276146 by Lauren.Ridge Fix for new texture sample nodes not taking the selected texture from the content browser as the starting value. #jira UETOOL-1322 Change 4276412 by Lauren.Ridge Assets that can be dragged into the material graph now indicate that with a checkmark #jira UE-56024 Change 4279549 by Lauren.Ridge Fixed recursion of calls through SetDesignerFlags to avoid double-recursion with many nested panels #jira none Change 4279894 by Lauren.Ridge Adding check for RootWidget existing Change 4279969 by Michael.Trepka Updated FDesktopPlatformMac::FileDialogShared() to handle a case where no extensions were specified in FileTypes string #jira UE-62421 Change 4280317 by Lauren.Ridge Adding if WITH_EDITOR Change 4280716 by Chris.Gagnon PR #4979: UE-62795: Deprecate bAutoWrapText in TextBlock (Contributed by projectgheist) Slightly modified, the base syncronize sets the autowrap value. Change 4280847 by Lauren.Ridge Single property setting changes will now also call OnModified delegate for their section #jira UE-58276 Change 4280850 by Chris.Gagnon Added early out and log if focus is attempted to be set when the window is suppost to be be disabled due to a modal window being up. #jira UE-62742 Change 4280931 by Brandon.Schaefer Linux: Use MallocCrash when hitting out of memory issues in BinnedAllocFromOS #jira FORT-108267 Change 4281460 by Lauren.Ridge Clearing focus on a variable once it is committed. Fixes assert on undo #jira UE-61872 Change 4283706 by tim.gautier QAGame: Adding HISM test map / assets Change 4283980 by Michael.Trepka Unshelved from pending changelist '4238012': Xcode project generator improvements - Per-project precompiled header that wraps UnrealEd.h with #ifdef __cplusplus to allow Xcode to compile the pch in ObjC mode. Later we could replace UnrealEd.h with some other header file for non-editor targets - Moved commands that disable compile warnings from MacToolChain's GetCompileArguments_Global to ApplePlatformCompilerPreSetup.h. Thanks to this we can have all the Xcode recommended warnings enabled in the project, but still allow Clang to index our code without reporting warnings - Few more minor changes to fix Xcode's project validation and indexing warnings Also, unify compile warning flags across all Apple platforms. #jira UE-47965, UE-44327 Change 4284062 by Michael.Trepka Copy of CL 4222794 from 4.20 Fixed a crash at exit in Mac editor caused by an attempt to use MetalProfiler after deleting it #jira none Change 4284266 by Brandon.Schaefer Linux: Fix deadlock in a file cache which could be locked in a crash handler #jira UE-62808 Change 4284469 by Lauren.Ridge Fix for material parameter node crashing Change 4284541 by Lauren.Ridge Blueprints inheriting from UWidget will now show up in the palette view even if they are not loaded. #jira UE-59164 Change 4284542 by Michael.Trepka Copy of CL 4222797 Fixed a problem with FMacPlatformMisc::NormalizePath allocating an autorelease pool during crash handling, which resulted in the OS killing the process before we spawn CrashReportClient. Now this function is identical to Linux version. #jira UE-61779 Change 4285288 by Cody.Albert Fixed crash when changing "Show Coalesced" setting in profiler Change 4285483 by Chris.Gagnon PR #4936: Duplicate widget functionality for UMG editor (Contributed by projectgheist) Fixed up some variable names. #jira UE-62528 Change 4287219 by Brandon.Schaefer dump_syms: Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation #jira FORT-670 Change 4287247 by Brandon.Schaefer BreakpadSymbolEncoder: If the file doesnt have a newline at EOF handle that as a seperate case #jira none Change 4287259 by Brandon.Schaefer dump_syms: Build on centos7 #jira none Change 4287269 by Brandon.Schaefer Linux: Disable generating CFI info when running dump_syms #jira none Change 4287326 by Brandon.Schaefer dump_syms: Update to disabling the CFI generation version #jira none Change 4287902 by Brandon.Schaefer TestPAL: Add cases for testing inline callstacks #jira UEENGQA-21414 Change 4288365 by Lauren.Ridge PR #4422: Set default material parameter name (Contributed by projectgheist) Change 4292002 by Brandon.Schaefer Linux: If our default settings are empty help fill in the proper name #jira UE-62910 Change 4292496 by Lauren.Ridge Now all renamable nodes do name verification also Change 4292532 by Lauren.Ridge PR #4989: Add icons to folder context menu favorites (Contributed by projectgheist) Change 4293043 by tim.gautier QAGame: Added a panner to ML_Albedo Change 4295326 by Richard.TalbotWatkin - Updated MeshDescription attribute calls to fix deprecation warnings. - Removed TMeshAttributeArraySet::AddArray because the functionality was already available as part of SetNumIndices. - Renamed TMeshAttributeArraySet::InsertArray, RemoveArray to InsertIndex, RemoveIndex for naming convention consistency (these methods deal with attribute indices, not with arrays). Added support for them in other attribute classes, and made them virtual so they can be called as part of an AttributesView. - Removed redundant code in FUSDStaticMeshImportState::AddPolygons, when determining the number of UVs in the mesh description. Change 4295795 by Richard.TalbotWatkin Corrected MAX_MESH_TEXTURE_COORDS_MD references. Change 4297308 by Cody.Albert Fixed bug with InputPreProcessorsHelper::Add not correctly adding input processors Change 4297799 by Brandon.Schaefer Linux: Dont assume DISPlAY=:0 #jira UE-63050 Change 4298150 by Brandon.Schaefer dump_syms: This is rebuilding dump_sym changes from CL 4287219 for Mac Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation Source code changes for dump_syms was changed at CL 4287219 #jira none Change 4298369 by Brandon.Schaefer dump_syms: Rebuild for Linux/Windows to fix a possible crash when missing debug_ranges in the debug section Source changed in CL 4298150 #jira none Change 4301952 by Lauren.Ridge Fixing input labels on material function inputs #jira UE-63077 Change 4302388 by Brandon.Schaefer Linux: If we have a 0 LineNumber lets try to use to the previous Record. Still an issue with non-virtual thunks reporting line number zero but it seems even windows skips these frames. GDB reports a different callsite that doesnt seem super related (possibly?) Nothing to do with thunking though. #jira UE-62930 Change 4304835 by Alexis.Matte Add imported framerate info to anime sequence #jira UE-51302 Change 4307480 by Brandon.Schaefer SDL2: Update to newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4307481 by Brandon.Schaefer SDL2: Rebuild with the newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4308264 by Brandon.Schaefer Linux: Make both DLLIMPORT the same value #jira UE-61174 Change 4308640 by Matt.Kuhlenschmidt Added a "report bug" menu entry to the help menu #jira UE-63182 Change 4309508 by Brandon.Schaefer nvTextureTools: Rebuild on Linux using our libc++ and not libstdc++ Move to the proper runtime depend location #jira UE-54892 UE-61705 Change 4309554 by Brandon.Schaefer SDL2: Add last missing folder #jira none Change 4309955 by Chris.Gagnon PR #5017: UE-63105: Modify SGraphActionMenu::OnKeyDown to use a different branc. (Contributed by projectgheist) Change 4311008 by Brandon.Schaefer nvTextureTools: Actually remove libstdc++ from Linux build #jira UE-54892 Change 4312195 by Alexis.Matte - Fix the set range feature to always use the file sample rate so the range match what the user see in the DCC - Also add some fbx file information to the import dialog #jira UE-62504 Change 4315347 by Brandon.Schaefer Linux: Disable XGE builds as it appears to be lower casing folders when the build platform is Windows #jira UE-63296 Change 4318704 by Lauren.Ridge Fix for crash on opening map built data #jira UE-63301 Change 4319999 by Lauren.Ridge Fix for crash in vr mode #jira UE-63376 Change 4320144 by Chris.Gagnon Fix for smoke content that set the hovered size different to the normal size on the UMG slider handle. #jira UE-63367 Change 4327887 by Michael.Trepka Disable nonportable-include-path warning in iOS toolchain to allow incorrect case in paths to headers passed using -include #jira UE-63408 Change 4217622 by Brandon.Schaefer Linux: Pass a command line argument to crash reporter to show or skip a user agreement popup #jira none Change 4312048 by Brandon.Schaefer Linux: Dont disable ICU by default on Servers #jira UE-59113 Change 4320173 by Chris.Gagnon Fix for startup movie streamer on xbox not finishing. #ROBOMERGE-OWNER: jason.bestimt #ROBOMERGE-SOURCE: CL 4329255 in //UE4/Main/... #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 4329265 by chris gagnon in Dev-VR branch]
2018-08-29 18:37:17 -04:00
TSharedRef<SWindow> SlateParentWindowRef = StaticCastSharedRef<SWindow>(ParentWindow->AsShared());
SlateParentWindowPtr = SlateParentWindowRef;
Copying WEX-Staging @ (WEX/Main @ 3740665) to //UE4/Main #lockdown Nick.Penwarden #rb none Copying //UE4/WEX-Staging to //UE4/Dev-Main (Source: //WEX/Main/Engine @ 3740665) #lockdown Nick.Penwarden Change 3739326 by Ben.Zeigler Change iteration order of depends nodes so it lists hard management references before soft management references, this is better for the UI when lots of references exist Update text for loading custom asset registry bin to be clearer Change 3739000 by John.Opila Caching optimization for text widget desired size. Change 3713551 by David.Nikdel Allow Set Properties to recognize Json array values as importable. Change 3712485 by Josh.May Added Pete's fix for the PLATFORM_TVOS/PLATFORM_IOS #define conflict introduced by mach-o/loader.h Change 3700174 by Chris.Babcock Fix setFilters crash on some Android devices Change 3691531 by Josh.May Fixed an intermittent crash that occurred when opening the AssetAuditBrower. AssetManagerEditorModule's CurrentRegistrySource was getting set too early, becoming invalid in the event that RegistrySourceMap is resized. Change 3688409 by Gil.Gribb Critical fix for an extremely rare race condition on async IO. Change 3687529 by josh.may Force layout recalculations for single-pass layout SScaleBoxes when their final scale is zero. This tends to occur in calls to SearchForWidgetRecursively before a SScaleBox's AllottedGeometry has been calculated. Change 3684788 by Peter.Sauerbrei fix for archive generation on the build machines Change 3684320 by john.opila Workaround for widgets disappering. Ensuring scale is never 0 so we don't get divide by zero. Change 3684042 by Peter.Sauerbrei more logging to figure out why there is not data in the Applicaiton diretory of the archive Change 3678620 by Ben.Zeigler Minor text changes to size map Change 3678314 by Ben.Zeigler Add Make Collection With References and Audit References to Size Map to easily allow inspecting the specific set of filtered packages in other tools Change 3677875 by Ben.Zeigler Fix crash in size map from keeping reference to node after map was resized, and undo the Name->DisplayName rename as it could affect licensees Change 3676899 by Peter.Sauerbrei narrowed down to the plist data, trying to figure out if it is missing or not Change 3676570 by Peter.Sauerbrei more logging to track down the archive error Change 3676293 by Peter.Sauerbrei fix for compile failure on IOS Change 3676172 by Peter.Sauerbrei potential fix for missing icons in the ipa when run through the build machines Change 3673544 by Ben.Zeigler Sort AllChunksInfo alphabetically so the order is consistent accross build and platforms to facillitate diffing Change 3671597 by Peter.Sauerbrei Merging //UE4/Dev-Mobile/Engine/... to //WEX/Main/Engine/... Change 3670932 by Ben.Zeigler Change it so cooking with the AssetManager writes out AllChunksInfo.csv next to the DevelopmentAssetRegistry, but not the per-chunk csv files as those are not useful. Also made the size counts platform accurate Change 3670906 by Peter.Sauerbrei update WEX for building with Xcode 9 Change 3660026 by Josh.May Moved SWebBrowserView's parent window "searches" to OnPaint. There's definitely something wrong with FindWidgetWindow... Even after deferring SWebBrowserView's calls to FindWidgetWindow until first Tick, the same widget layout artifacts could occur after opening multiple SWebBrowserViews. And, as Nick pointed out in the related email thread, this approach is also more efficient. Change 3655411 by Josh.May Ensure SWebBrowserView's parent window searches are deferred until after Construct. We haven't puzzled through it yet, but calling FindWidgetWindow during Construct seems to corrupt some Slate state. Deferring this search until later gets around the issue and makes sense anyway, given the widget isn't added to the hierarchy until after Construct. Change 3655407 by John.Opila Sneaking in some stats for SpawnActor. Change 3654649 by Ben.Zeigler Refactor SizeMap and ReferenceViewer into the AssetManagerEditor plugin, and delete the old modules. Fix SizeMap crash that I temporarily added. TreeMap is initialized weirdly Change 3648912 by Ben.Zeigler First half of changes to refactor sizemap/reference viewer into the asset manager editor plugin Add GetAllContentBrowserCommandExtenders to ContentBrowserModule that allows registering commands/keybinds to extend the content browser via plugins Add GetSharedMenu/ToolbarExtensibilityManager to AssetEditorToolkit that allows extending the generic asset editor via plugin Move the code to spawn the Reference Viewer and SizeMap into the AssetManagerEditor plugin so these UIs can be tightly bound and share data. This also enables keybinds for Size Map and Audit. Remove size map from the save as dialog, it created a special modal size map window that will not work after my refactor Change 3639419 by Ben.Marsh Use DirectoryInfo instead of DirectoryReference to enumerate projects. Tracking down UHT compile failures on Mac. Change 3638619 by David.Nikdel AsyncLoading: Suggested change by Gil to add lock prior to changing LoadPhase to WaitingForHeader (presumably to make FArchiveAsync2::StartReadingHeader's assumption about locking true) Change 3633562 by Chris.Babcock Update Android virtual keyboard support Change 3630564 by Peter.Sauerbrei fix for the manifest stage problem Change 3629577 by Chris.Babcock Fix merge errors in GameActivity.java Change 3629154 by David.Nikdel Disable debug device output in shipping builds (even if logs are enabled) Change 3626542 by John.Opila Back out changelist 3603452 Undoing the OpenGL load changes as the initial load time was just too damn high! Change 3620472 by David.Nikdel Fix from Nick to fix a BP that crashes on Compile Change 3618090 by Josh.May Reset inertial scrolling for SScrollboxes and STableView-based Slate widgets when scrolling to specific scroll offsets. Change 3613980 by Chris.Babcock Fix issue with Android password keyboard input Change 3603825 by John.Opila Shader change doesn't seem to like standalone PC. Change 3603452 by John.Opila Moving openGL shader compilation into loading instead of at the last minute. Change 3593008 by David.Nikdel Merging CL 3504471 from //Fortnite/Dev-Cinematics/Engine/... to //WEX/Main/Engine/... ---------------------------------------- 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 ================================================================================================= THESE CHANGES TOUCH MULTIPLE PLATFORMS ================================================================================================= Change 3739931 by Ben.Zeigler changes to some asset manager code modified on WEX, and fix several FStringAssetReference->FSoftObjectPath Change 3723451 by Josh.May Exposed OnBeforePopup to UMG and Blueprint for UWebBrowser. This is triggered by the CEFBrowserHandler when attempting to open hyperlinks targeting _blank and, when not handled, would result in the page never loading. Added OnBeforePopup handling for the HTMLNewsWidget, ensuring the URLs are opened in an external browser. Change 3711256 by Dmitriy.Dyomin Fixed: Friend list invalidation panel relative transform caching issues Also fixed issues with and set slate.cacherenderdata=0 for better batching Change 3698695 by Josh.May Made the UMG default font overridable via config, allowing us to replace it with a game-scope localized Font asset. If there's a better place for this mechanism/accessor to live, please let me know. Added a new 'Default' font that replicates '/Engine/EngineFonts/Roboto'. This also has a localized Font asset variant for zh-Hans. Change 3676085 by Josh.May Implemented MulticastBroadcastReceiver, a BroadcastReceiver capable of "multicasting" intents to other receivers. AppsFlyer defines a similar MultiInstallBroadcastReceiver class specific to the INSTALL_REFERRER intent, but it MUST be the very first one defined (cannot be guaranteed in our build pipeline AFAIK). Added MulticastBroadcastReceiver (for INSTALL_REFERRER) to the AndroidManifest generation logic, allowing BOTH Adjust and AppsFlyer to receive the intent. Added dev channel support for AndroidAppsFlyer, enabled conditionally based on shipping/distribution and whether or not a valid AppsFlyerDevChannel name is specified. For WEX, our dev channel is WEX_Dev. Fixed AppsFlyer_EventAttribute's Java class lookups and constructor signature. Change 3670860 by Ben.Zeigler First version of improvements to tools to analyze chunks Size Map and Reference Viewer now support reading cooked asset data and displaying chunks. Changing the platform dropdown in the Asset Audit window switches the other windows as well Asset Audit window now has "Add Chunks" button, and selecting AllTypes in the Primary Asset drop down will add all primary assets Size Map now shows Disk Size by default, and supports a right click context menu Significant UI improvements to all 3 tools, including keybind support Split Manage references into Hard and Soft, where Hard are set explicitly and soft are inherited. This allows determining why an asset was included in a chunk/primary asset When the AssetManager builds management information for the audit browser/cooker, it now precomputes a chunk mapping for relevant assets. PackageChunkType is used to refer to these virtual primary assets Add callback to content browser delegates to handle adding arbitrary FAssetData to an asset view, used to show chunks Several changes to the ITreeMap UI used by size map Change 3670290 by Josh.May Added AppleAppID configs for AppsFlyer. Added AdSupport and iAd frameworks for IOSAppsFlyer. According to the AppsFlyer documentation, these are required for IDFA and Apple Search Ads tracking. Change 3643531 by Peter.Sauerbrei fix for save game location and certain data backed up to the cloud when it shouldn't Change 3629303 by Ben.Zeigler Merge fix for shared ptr corruption in async loading thread from Main, and enable asnyc loading thread for WEX Copy of CL #3623261 and 3625806 Change 3629219 by Peter.Sauerbrei Merging using WEX_Main_to_UE4_WEX_Staging bringing over the files that Stan didn't have access to Change 3629063 by Stanley.Hayes Engine Merge: Merging using WEX_Main_to_UE4_WEX_Staging(flipped) Change 3618988 by Josh.May Reimplemented DevicePerformanceBucket-based WorldMap class selection to account for the WorldMap actor being pre-serialized into the UMAP. On a related note, ChildActorComponents marked as "editor only" now mark their spawned Actors as Transient to prevent them from getting serialized at cook-time. Change 3597981 by Josh.May Converted WExpCampaignDefinition's RegionDefinition refs back to hard references and, to compensate, converted WExpZoneDefinition's ZoneBoss refs to soft references. This moves the RegionDefinitions and ZoneDefinitions from chunk 2 to chunk 1 without pulling in assets for the ZoneBosses. This also allows us to grab the ZoneBoss refs during UWExpAssetManager::GetMainMenuAssetList. Reworked UWExpAssetManager::GetMainMenuAssetList and UWExpAssetManager::GetLevelAssetList to build more "complete" asset lists by expanding lists of PrimaryAssetIds. Tweaked the WorldMap's ZoneBoss spawning to account for the switch to AssetPtrs. Change 3581214 by Josh.Markiewicz added cookie deletion for Google on logout [CL 3750870 by Stanley Hayes in Main branch]
2017-11-10 17:20:53 -05:00
if (BrowserWindow.IsValid())
{
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor [at] 4327887) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3813004 by Matt.Kuhlenschmidt Fix dpi scale being wrong when there is a mix of high dpi and low dpi monitors and the editor opens the window on the low dpi monitor Change 3946515 by Michael.Trepka Reverted CL 3813004. We need to save editor's root window size and position in DPI-independent units, as that's what the loading code expects. Change 4052825 by Brandon.Schaefer Add back -funwind-tables for arm This was removed an only tested on x86 which worked just fine. Arm reqiures this for backtrace #jira none Change 4055318 by Brandon.Schaefer Remove extra mallocs when crash handling Still need to look into gmalloc calls, such as using FStrings during Ensure/Crash handling [at]Arciel.Rekman #jira UE-58538 Change 4055623 by Brandon.Schaefer Replace std::endl with "\n" As std::endl is "\n" << std::flush. On windows dump_syms was taking 33 seconds to fflush with std::endl on a 1.2GB file. No longer with "\n". [at]Josh.Engebretson Change 4057102 by Jamie.Dale Added missing API export Change 4057384 by Rex.Hill Fix ReversePolygonFacing crash Change 4067426 by Matt.Kuhlenschmidt PR #4667: Source control history: remove empty spacing in the right of the detail panel (Contributed by SRombauts) Change 4067587 by Matt.Kuhlenschmidt PR #4311: PlacementModeTools shapes searchable and thumbnail (Contributed by projectgheist) Change 4068480 by Cody.Albert Fix display name for Display UI Extension Points Change 4070876 by Brandon.Schaefer Avoid printing when in a signal handler. Put that off until the end #jira UE-36663 [at]Arciel.Rekman, [at]Anthony.Bills Change 4071980 by Brandon.Schaefer Cache files that are invalid or the wrong case sensitivity #jira UE-58250 [at]Arciel.Rekman Change 4079967 by Matt.Kuhlenschmidt Added scale parameter to Canvas::DrawText #jira UE-59023 Change 4080228 by Alexis.Matte Fix the PerPlatformPropertiesWidget to be readable when there is many platform #jira UE-57556 Change 4081171 by Matt.Kuhlenschmidt PR #4272: Fix typo. (Contributed by Damianno19) Change 4081601 by Matt.Kuhlenschmidt GitHub 4077 : Hide SDetailView Filterbox when no actor selected Change 4090114 by Matt.Kuhlenschmidt Fixed touch events simulated through mouse not respecting high dpi #jira UE-59477 Change 4091999 by Matt.Kuhlenschmidt Fixed insert/delete/duplicate children calling PostEditChange on the existing child node not the array Change 4093187 by Arciel.Rekman Do not save window position if running with -nullrhi (UE-52498). - This also fixes a crash on exiting automation tests. #jira UE-52498 Change 4096404 by Richard.TalbotWatkin Resaved test assets to update to latest UStaticMesh serialization format. Change 4096445 by Richard.TalbotWatkin New serialization layout for UMeshDescription. - Only the bare minimum is serialized: any internal values which can be inferred from others in the Mesh Description are omitted. - Triangles are no longer serialized: a triangulation step is performed per polygon when serialized. - Attribute arrays of simple types are now serialized with BulkSerialize for speed; only FName requires element-by-element serialization. Change 4112843 by Brandon.Schaefer Rebuilt replacing std::endl with '\n' avoiding a std::flush *pre* write Was taking 30 seconds to std::flush on a 1.2 GB file #jira none Change 4113422 by Brandon.Schaefer If we are using the native bundled toolchain set LC_ALL=C to avoid locale issues #jira UE-59416 Change 4113849 by Cody.Albert Fix support for toolbar extensions in the UMG editor Change 4118758 by Richard.TalbotWatkin - Refactor to put UStaticMesh Mesh Descriptions in a separate object which is not loaded by default, but which can be requested when needed. This needs to be kept in sync with the number of SourceModel LODs. - Various refactors to import/building. - Changed UMeshDescription to FMeshDescription, and made its preferred semantics pass-by-reference rather than by pointer. - Deprecated UMeshDescription. Change 4119883 by Rex.Hill Cleanup blueprint callable categories Landscape Editor -> Landscape|Editor Landscape Runtime -> Landscape|Runtime Cloth -> Clothing Simulation Cinematics -> Cinematic Utility -> Utilities Change 4119898 by Rex.Hill Cleanup blueprint callable categories x|Magic Leap -> Magic Leap|x Apple ARKit * -> Apple ARKit|* Change 4119972 by Brandon.Schaefer Dont add colors if we are not outputing to a terminal #jira UE-58173 Change 4119994 by Brandon.Schaefer Only check once if we are outputing to a terminal #jira UE-58173 Change 4122654 by Alexis.Matte Fix re import assignment of sections #jira UE-59611 Change 4123536 by Alexis.Matte Add to the fbx importer the possibility to use different sample rate when importing an animation. #jira UE-59444 Change 4124702 by Brandon.Schaefer Fix duplicated struct/class from slightly different submit into main coming back into dev-editor #jira UE-60163 Change 4133449 by Mike.Erwin glTF importer work Foundations of work for Skeletal Mesh import; right now we just support Static Mesh. - node hierarchy - joint IDs & skinning weights - matrix & quaternion values #jira none Change 4133749 by Matt.Kuhlenschmidt PR #4771: Fix access violation for ImportAsset commandlet fbx reimport. (Contributed by UristMcRainmaker) Change 4133758 by Matt.Kuhlenschmidt PR #4675: Properly set TextScale for OnScreenDebugMessages (Contributed by projectgheist) Change 4134543 by Alexis.Matte Update the staticmesh LOD model max deviation when generating a LOD #jira UE-60353 Change 4134559 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - Editor scripting utilities #jira UE-60666 Change 4134560 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - SpeedTreeImporter #jira UE-60667 Change 4135335 by Alexis.Matte Deprecate FRawMesh - GLTF importer #jira UE-60670 Change 4135857 by Alexis.Matte Fix CIS build warning #jira none Change 4137249 by Matt.Kuhlenschmidt Fix tiny fonts from appearing in slow task dialogs Change 4137280 by Matt.Kuhlenschmidt Fix specifying relative paths for the auto-import commandlet not working Change 4137283 by Matt.Kuhlenschmidt PR #4305: Light map index was unintialized (Contributed by DSDambuster) Change 4137290 by Matt.Kuhlenschmidt PR #4382: Prevent error log due to non-existing plugin directory (Contributed by projectgheist) Change 4147032 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - ABC Importer #jira UE-60702 Change 4147978 by Matt.Kuhlenschmidt Fix one of the CIS fails Change 4154874 by Matt.Kuhlenschmidt Fix hidden asset properties in struct details panels. We consider all object properties with "allowedclasses" metadata to be asset properties since they only show an asset picker. Change 4167303 by Matt.Kuhlenschmidt Work around for sync to content browser from details panels not working for interface properties Change 4167388 by Matt.Kuhlenschmidt Make sure when converting relative path filenames in automated import that we convert them relative to the project directory. Change 4171891 by Matt.Kuhlenschmidt Fix preview mesh actor becoming stuck to the cursor when the editor or viewport loses focus #jira UE-61246 Change 4175503 by Cody.Albert Updated variable details panels to not display unusable metadata options for UMG widget references #jira UE-55078 Change 4175736 by Cody.Albert PR #4663: UE-20103: Slate widgets retain their category name v2 (Contributed by projectgheist) Change 4178937 by Rex.Hill Fix crash opening level after removing as sublevel jira: UE-61305 Change 4181097 by Matt.Kuhlenschmidt Fix Linux/Mac CIS Change 4184333 by Alexis.Matte Fix the material ID assignation when re-importing static mesh #jira none Change 4199682 by Arciel.Rekman Linux: enable XGE during cross-builds to see whether the build issues persist. - Licensees are asking for this and XGE folks are eager to help investigating the crashes, if any. Change 4200944 by Cody.Albert Updated VR Mode button to become inactive during SIE (instead of disappearing altogether) #jira UE-50220 Change 4204817 by Alexis.Matte Enable or disable the morph target weight slider depending of the project settings. #jira UE-61671 Change 4204821 by Alexis.Matte Optimize import time for morph targets #jira UE-61670 Change 4207394 by Cody.Albert PR #3299: UMG Slider Additions (Contributed by Dzuelu) Change 4208299 by Brandon.Schaefer Fix warning/error with logical operators #jira none Change 4210660 by Cody.Albert PR #3458: UE-43728: Always show scrollbar when necessary (Contributed by projectgheist) #jira UE-43727, UE-43278 Change 4215684 by Brandon.Schaefer Linux: Implement minimized function for LinuxWindow #jira UE-56023 Change 4217350 by Brandon.Schaefer Linux: Clean up IsMaximized #jira none Change 4217489 by Brandon.Schaefer Linux: Make popup menus BORDERLESS. Slate will give the menu events This appears to fix a lot of our grabs causing compiz to do something issue. #jira UE-59237, UE-54085, UE-51407, UE-50018, UE-53915 Change 4225018 by Cody.Albert UMG Hierarchy now remembers expansion state when being destroyed and recreated (due to closing widget or switching to Graph view) #jira UE-61836 Change 4225088 by Cody.Albert Added hover style for color picker slider Change 4226081 by Richard.TalbotWatkin New attribute array API. Fixed some flaws in the original API, deprecated various methods, and introduced some new features. - Now attribute arrays are accessed via TAttributesRef or TAttributesView (and corresponding const versions). These value types hold references to attribute arrays, and individual elements can be accessed by their element ID and attribute index. Using a value type is safer than the previous method which required assignment to a const-ref (and not doing so would take a temporary copy of the attribute array). - The attribute set has been totally flattened, so all attributes of different types are added to the same container. This greatly improves compile times, prevents attributes from being created with the same name but different types, and permits the view feature. - The class hierarchy has changed to have generic base classes where possible with no particular ElementID type. This reduces the code footprint by no longer generating nearly identical copies of templated methods. - A TAttributesView allows the user to access an attribute array by the type of their choosing, regardless of its actual type. For example, the Normal attribute may be registered with type FPackedVector, but accessed as if it was an FVector. This allows us to move away from very strong typing, and instead transparently store attributes of a more efficient size, while the user is not affected. - A transient attribute flag has been added, to denote that a particular attribute should not be saved. Change 4226083 by Richard.TalbotWatkin Reinstated original mesh editor materials. Change 4226102 by Richard.TalbotWatkin Fixed some deprecation warnings, and a mistake in MeshAttributeArray.h. Change 4226118 by Richard.TalbotWatkin Fix build errors: - Added missing file - Corrected the last fix. Change 4226121 by Richard.TalbotWatkin Bumped static mesh mesh data GUID. Change 4226231 by Richard.TalbotWatkin Removed some test code which got checked in by mistake. Change 4226232 by Richard.TalbotWatkin Fixed typo which caused build errors. Change 4226234 by Richard.TalbotWatkin Fixed a typo in MeshDescriptionTests. Change 4226237 by Richard.TalbotWatkin Removed over-cautious deprecation warnings. Once GetAttributes() is changed to GetAttributesRef(), element access will still work with array syntax. Change 4226625 by Richard.TalbotWatkin Added missing asset. Change 4227365 by Matt.Kuhlenschmidt Fix brush actors not showing the correct icon in scene outliner. - Actors can now supply their own icon if needed #jira UE-61948 Change 4229632 by Alexis.Matte Make the namespace an import option #jira UE-62099 #jira UE-62067 Change 4229637 by Alexis.Matte Fix fbx importer staticmesh the light map index, the index was check before the build. #jira UE-62064 Change 4232793 by Chris.Gagnon Added include to fix non unity builds. #jira UE-62138 Change 4234206 by Brandon.Schaefer Linux: Allow windows that want to be resizable to be resizeable Github PR #3578 thanks hhyyrylainen #jira UE-45847 Change 4234322 by Brandon.Schaefer Continue after starting UnrealVersionSelector to avoid blocking a chain command #jira UE-61530 Change 4234446 by Chris.Gagnon Properly handled FPackageName::TryConvertFilenameToLongPackageName() failing in Cache Thumbnail. #jira UE-61990 Change 4235057 by Brandon.Schaefer Linux: Write to stderr when we fail to find expected to find sym file #jira none Change 4235121 by Brandon.Schaefer Linux: Mark the static bool as soon as we enter the scope #jira none Change 4235399 by Brandon.Schaefer Linux: Check we are not x86 otherwise add unwind tables Copying the change that went over into 4.20.1 here #jira none Change 4240539 by Jamie.Dale Made DataTableUtils::GetX functions take a const data pointer Change 4240646 by Chris.Gagnon Fix for delayed destruction of UWidgets when they are manually removed from a panel as part of tear down. Inspired by the pull request, however I put in a more generic fix. PR #4904: Fix late release of Slate resources managed by UMG slot widgets (Contributed by cmp-) Change 4242975 by Yuriy.ODonnell Moved duplicated code from MeshUtilities and MeshDescriptionOperations (FLayoutUV, FAllocator2D, FOverlappingCorners, etc.) into a new single module MeshUtilitiesCommon. Add a generic opaque mesh view interface FLayoutUV::IMeshView to abstract mesh data access and allow FLayoutUV to be used with any mesh type in any module. Replaced few instances of using an old version of overlapping corners data structure (multi-map) with new specialized FOverlappingCorners container. Change 4243112 by Yuriy.ODonnell Use new attribute array API for accessing FMeshDescription data. Change 4243131 by Brandon.Schaefer Cast our new resize w/h to int before checking if we are already that size #jira UE-52291 Change 4243172 by Brandon.Schaefer Ceil not trunk for this compare #jira none Change 4243271 by Brandon.Schaefer Change address to be more portable MS compiler does not place a '0x' on %p formating. Linux/Mac append a '0x' to the address #jira UE-62325 Change 4243276 by Richard.TalbotWatkin Fixed deprecated MeshDescription calls (merged with Yuriy's changes). Change 4244067 by Lauren.Ridge Preventing crash on floating text if asset container does not exist. VR Editor floating text is now not placeable or blueprintable. #jira UE-62139 Change 4244547 by Lauren.Ridge Changes to more accurately represent android behavior in PIE and UMG #jira UE-62301 Change 4244830 by Alexis.Matte Fix animation Range import, prevent changing the option when validating the anim range. #jira UE-62055 Change 4250565 by Yuriy.ODonnell Removed GeometryCache dependency on MeshUtilitiesCommon in non-editor configs. Change 4254733 by Matt.Kuhlenschmidt Slate Fast Path - Changed FSlateWindowElementList GetWindow to be thread safe. For fast path, this is accessed on multiple threads so it needs to be safe GetWindow is deprecated and GetPaintWindow should be used instead Edigrate from source CL 4254611 Change 4257092 by Chris.Gagnon Improved UMG rename validation to respect the errors from the blueprint validator. This fixes at least the case where it miss reported the issue when the name was greater than the length limit in blueprints. #jira UE-62417 Change 4257124 by Chris.Gagnon PR #4924: UE-62113 Fix Other filters toggling all assets to show up (Contributed by mamoniem) #jira UE-62457 Change 4258696 by Chris.Gagnon Removed Tab Spawner for Color Curve Editor is your not editing the color curve. #jira none Change 4258937 by Chris.Gagnon Simplifed the code in the case of a null CurveOwner. #jira UE-62443 Change 4259162 by Richard.TalbotWatkin Fixed crash when entering mesh editor mode after having loaded a new level. Change 4259909 by Chris.Gagnon Added better check output to try and learn more about a crash in the wild. Added some better const saftey while in there. #jira UE-60696 Change 4259995 by Chris.Gagnon Fix for possible crash if the mesh has invalid materials. Also fixed the fact the FindMaterialIndicesUsingTexture() didn't work as advertised at all. Seems like you'd attemp to paint all materials even when trying to only paint the ones using a particular texture. #jira UE-62488 Change 4261012 by Michael.Dupuis #jira UE-48899: Make sure the RootComponent is valid before trying to use it. Change 4261361 by Michael.Dupuis #jira UE-48899: Fixed the warning about scale Change 4261926 by Michael.Dupuis #jira UE-48899: Only check the root component validity as it's possible that the component is not registered when this get called. Change 4262163 by Richard.TalbotWatkin Fixed uninitialized member. #jira UE-62493 #jira UE-62506 Change 4262549 by Brandon.Schaefer Linux: Update the Slate application what the window size will most likely be As X11 takes a frame to send an Event that a window has had its size changed. This causes things such as the slate renderer to think the window size is different then it actually it. This causes streching of tooltips #jira UE-62555 Change 4262581 by Brandon.Schaefer Linux: Use Show so we preserve our bIsVisible bool and avoid sending SDL_ShowWindow twice (ie. if its already shown) #jira none Change 4262906 by Chris.Gagnon PR #4915: [UMG] Bind UWidgetAnimation from C++ to blueprint created animation (Contributed by TheCodez) Change 4262965 by Chris.Gagnon PR #4932: Fix to generate cleaner C++ files when using "New C++ Class" (Contributed by TheCodez) Change 4263177 by Chris.Gagnon PR #4935: Prevent crash when clicking use selected game mode multiple times (Contributed by projectgheist) Change 4264723 by Christina.TempelaarL Fixed SceneCaptureComponent so ShowOnlyActors property is writeable in blueprints. #jira UE-62547 Change 4266029 by Michael.Dupuis #jira none: Guarded against the scene being null Change 4266356 by Richard.TalbotWatkin Changed FMeshDescription to a struct from a class. Added log errors when loading UMeshDescription objects (now deprecated), in preparation to resave any which remain. Once all serialized UMeshDescriptions are wiped out (they only exist internally), FMeshDescription will become a USTRUCT. Change 4266621 by Matt.Kuhlenschmidt Fix UE4 icon to be the correct one Change 4266635 by Chris.Gagnon Added Message Log output for invalid software cursor as opposed to ensure/log. #jira UE-62554 Change 4268136 by Matt.Kuhlenschmidt Fix outline colors not updating when changing on the fly #jira UE-42116 Change 4269184 by Chris.Gagnon Fix for possible nullptr dereference. #jira none Change 4269902 by Brandon.Schaefer Slate dialog modal window was not settings its parent window #jira UE-62608 Change 4272083 by Chris.Gagnon Fix for case where the the property noded arn't rebuilt in time and custom property ui can be using stale data. #jira UE-62499 Change 4272869 by Michael.Trepka Make sure ShooterGame sets correct input modes/mouse capture in menus and in game to avoid problems with keyboard not working in menus after alt-tab #jira UE-61017 Change 4275155 by Michael.Dupuis #jira UE-62526: Update lightmap/shadow UV mapping after lighting build on HISMC. ISM will get also updated due to the Edit() that will reapply the values on CreateSceneProxy Change 4275298 by Lauren.Ridge Fixed string parsing when looking at parent cvar values #jira UE-62301 Change 4275391 by Lauren.Ridge Fix for resolutions increasing when swapping landscape/portrait Change 4275606 by Lauren.Ridge Moving all asset container access to PostActorCreated to avoid VR editor assets in cooks #jira UE-57797 Change 4275807 by Lauren.Ridge Duplicating color themes now dupllicates the color labels as well #jira UE-60697 Change 4275989 by Lauren.Ridge When selecting a node while the details panel is behind a different panel in the same dock tab, the details panel is brought forward #jira UETOOL-1325 Change 4276146 by Lauren.Ridge Fix for new texture sample nodes not taking the selected texture from the content browser as the starting value. #jira UETOOL-1322 Change 4276412 by Lauren.Ridge Assets that can be dragged into the material graph now indicate that with a checkmark #jira UE-56024 Change 4279549 by Lauren.Ridge Fixed recursion of calls through SetDesignerFlags to avoid double-recursion with many nested panels #jira none Change 4279894 by Lauren.Ridge Adding check for RootWidget existing Change 4279969 by Michael.Trepka Updated FDesktopPlatformMac::FileDialogShared() to handle a case where no extensions were specified in FileTypes string #jira UE-62421 Change 4280317 by Lauren.Ridge Adding if WITH_EDITOR Change 4280716 by Chris.Gagnon PR #4979: UE-62795: Deprecate bAutoWrapText in TextBlock (Contributed by projectgheist) Slightly modified, the base syncronize sets the autowrap value. Change 4280847 by Lauren.Ridge Single property setting changes will now also call OnModified delegate for their section #jira UE-58276 Change 4280850 by Chris.Gagnon Added early out and log if focus is attempted to be set when the window is suppost to be be disabled due to a modal window being up. #jira UE-62742 Change 4280931 by Brandon.Schaefer Linux: Use MallocCrash when hitting out of memory issues in BinnedAllocFromOS #jira FORT-108267 Change 4281460 by Lauren.Ridge Clearing focus on a variable once it is committed. Fixes assert on undo #jira UE-61872 Change 4283706 by tim.gautier QAGame: Adding HISM test map / assets Change 4283980 by Michael.Trepka Unshelved from pending changelist '4238012': Xcode project generator improvements - Per-project precompiled header that wraps UnrealEd.h with #ifdef __cplusplus to allow Xcode to compile the pch in ObjC mode. Later we could replace UnrealEd.h with some other header file for non-editor targets - Moved commands that disable compile warnings from MacToolChain's GetCompileArguments_Global to ApplePlatformCompilerPreSetup.h. Thanks to this we can have all the Xcode recommended warnings enabled in the project, but still allow Clang to index our code without reporting warnings - Few more minor changes to fix Xcode's project validation and indexing warnings Also, unify compile warning flags across all Apple platforms. #jira UE-47965, UE-44327 Change 4284062 by Michael.Trepka Copy of CL 4222794 from 4.20 Fixed a crash at exit in Mac editor caused by an attempt to use MetalProfiler after deleting it #jira none Change 4284266 by Brandon.Schaefer Linux: Fix deadlock in a file cache which could be locked in a crash handler #jira UE-62808 Change 4284469 by Lauren.Ridge Fix for material parameter node crashing Change 4284541 by Lauren.Ridge Blueprints inheriting from UWidget will now show up in the palette view even if they are not loaded. #jira UE-59164 Change 4284542 by Michael.Trepka Copy of CL 4222797 Fixed a problem with FMacPlatformMisc::NormalizePath allocating an autorelease pool during crash handling, which resulted in the OS killing the process before we spawn CrashReportClient. Now this function is identical to Linux version. #jira UE-61779 Change 4285288 by Cody.Albert Fixed crash when changing "Show Coalesced" setting in profiler Change 4285483 by Chris.Gagnon PR #4936: Duplicate widget functionality for UMG editor (Contributed by projectgheist) Fixed up some variable names. #jira UE-62528 Change 4287219 by Brandon.Schaefer dump_syms: Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation #jira FORT-670 Change 4287247 by Brandon.Schaefer BreakpadSymbolEncoder: If the file doesnt have a newline at EOF handle that as a seperate case #jira none Change 4287259 by Brandon.Schaefer dump_syms: Build on centos7 #jira none Change 4287269 by Brandon.Schaefer Linux: Disable generating CFI info when running dump_syms #jira none Change 4287326 by Brandon.Schaefer dump_syms: Update to disabling the CFI generation version #jira none Change 4287902 by Brandon.Schaefer TestPAL: Add cases for testing inline callstacks #jira UEENGQA-21414 Change 4288365 by Lauren.Ridge PR #4422: Set default material parameter name (Contributed by projectgheist) Change 4292002 by Brandon.Schaefer Linux: If our default settings are empty help fill in the proper name #jira UE-62910 Change 4292496 by Lauren.Ridge Now all renamable nodes do name verification also Change 4292532 by Lauren.Ridge PR #4989: Add icons to folder context menu favorites (Contributed by projectgheist) Change 4293043 by tim.gautier QAGame: Added a panner to ML_Albedo Change 4295326 by Richard.TalbotWatkin - Updated MeshDescription attribute calls to fix deprecation warnings. - Removed TMeshAttributeArraySet::AddArray because the functionality was already available as part of SetNumIndices. - Renamed TMeshAttributeArraySet::InsertArray, RemoveArray to InsertIndex, RemoveIndex for naming convention consistency (these methods deal with attribute indices, not with arrays). Added support for them in other attribute classes, and made them virtual so they can be called as part of an AttributesView. - Removed redundant code in FUSDStaticMeshImportState::AddPolygons, when determining the number of UVs in the mesh description. Change 4295795 by Richard.TalbotWatkin Corrected MAX_MESH_TEXTURE_COORDS_MD references. Change 4297308 by Cody.Albert Fixed bug with InputPreProcessorsHelper::Add not correctly adding input processors Change 4297799 by Brandon.Schaefer Linux: Dont assume DISPlAY=:0 #jira UE-63050 Change 4298150 by Brandon.Schaefer dump_syms: This is rebuilding dump_sym changes from CL 4287219 for Mac Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation Source code changes for dump_syms was changed at CL 4287219 #jira none Change 4298369 by Brandon.Schaefer dump_syms: Rebuild for Linux/Windows to fix a possible crash when missing debug_ranges in the debug section Source changed in CL 4298150 #jira none Change 4301952 by Lauren.Ridge Fixing input labels on material function inputs #jira UE-63077 Change 4302388 by Brandon.Schaefer Linux: If we have a 0 LineNumber lets try to use to the previous Record. Still an issue with non-virtual thunks reporting line number zero but it seems even windows skips these frames. GDB reports a different callsite that doesnt seem super related (possibly?) Nothing to do with thunking though. #jira UE-62930 Change 4304835 by Alexis.Matte Add imported framerate info to anime sequence #jira UE-51302 Change 4307480 by Brandon.Schaefer SDL2: Update to newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4307481 by Brandon.Schaefer SDL2: Rebuild with the newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4308264 by Brandon.Schaefer Linux: Make both DLLIMPORT the same value #jira UE-61174 Change 4308640 by Matt.Kuhlenschmidt Added a "report bug" menu entry to the help menu #jira UE-63182 Change 4309508 by Brandon.Schaefer nvTextureTools: Rebuild on Linux using our libc++ and not libstdc++ Move to the proper runtime depend location #jira UE-54892 UE-61705 Change 4309554 by Brandon.Schaefer SDL2: Add last missing folder #jira none Change 4309955 by Chris.Gagnon PR #5017: UE-63105: Modify SGraphActionMenu::OnKeyDown to use a different branc. (Contributed by projectgheist) Change 4311008 by Brandon.Schaefer nvTextureTools: Actually remove libstdc++ from Linux build #jira UE-54892 Change 4312195 by Alexis.Matte - Fix the set range feature to always use the file sample rate so the range match what the user see in the DCC - Also add some fbx file information to the import dialog #jira UE-62504 Change 4315347 by Brandon.Schaefer Linux: Disable XGE builds as it appears to be lower casing folders when the build platform is Windows #jira UE-63296 Change 4318704 by Lauren.Ridge Fix for crash on opening map built data #jira UE-63301 Change 4319999 by Lauren.Ridge Fix for crash in vr mode #jira UE-63376 Change 4320144 by Chris.Gagnon Fix for smoke content that set the hovered size different to the normal size on the UMG slider handle. #jira UE-63367 Change 4327887 by Michael.Trepka Disable nonportable-include-path warning in iOS toolchain to allow incorrect case in paths to headers passed using -include #jira UE-63408 Change 4217622 by Brandon.Schaefer Linux: Pass a command line argument to crash reporter to show or skip a user agreement popup #jira none Change 4312048 by Brandon.Schaefer Linux: Dont disable ICU by default on Servers #jira UE-59113 Change 4320173 by Chris.Gagnon Fix for startup movie streamer on xbox not finishing. #ROBOMERGE-OWNER: jason.bestimt #ROBOMERGE-SOURCE: CL 4329255 in //UE4/Main/... #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 4329265 by chris gagnon in Dev-VR branch]
2018-08-29 18:37:17 -04:00
BrowserWindow->SetParentWindow(SlateParentWindowRef);
Copying WEX-Staging @ (WEX/Main @ 3740665) to //UE4/Main #lockdown Nick.Penwarden #rb none Copying //UE4/WEX-Staging to //UE4/Dev-Main (Source: //WEX/Main/Engine @ 3740665) #lockdown Nick.Penwarden Change 3739326 by Ben.Zeigler Change iteration order of depends nodes so it lists hard management references before soft management references, this is better for the UI when lots of references exist Update text for loading custom asset registry bin to be clearer Change 3739000 by John.Opila Caching optimization for text widget desired size. Change 3713551 by David.Nikdel Allow Set Properties to recognize Json array values as importable. Change 3712485 by Josh.May Added Pete's fix for the PLATFORM_TVOS/PLATFORM_IOS #define conflict introduced by mach-o/loader.h Change 3700174 by Chris.Babcock Fix setFilters crash on some Android devices Change 3691531 by Josh.May Fixed an intermittent crash that occurred when opening the AssetAuditBrower. AssetManagerEditorModule's CurrentRegistrySource was getting set too early, becoming invalid in the event that RegistrySourceMap is resized. Change 3688409 by Gil.Gribb Critical fix for an extremely rare race condition on async IO. Change 3687529 by josh.may Force layout recalculations for single-pass layout SScaleBoxes when their final scale is zero. This tends to occur in calls to SearchForWidgetRecursively before a SScaleBox's AllottedGeometry has been calculated. Change 3684788 by Peter.Sauerbrei fix for archive generation on the build machines Change 3684320 by john.opila Workaround for widgets disappering. Ensuring scale is never 0 so we don't get divide by zero. Change 3684042 by Peter.Sauerbrei more logging to figure out why there is not data in the Applicaiton diretory of the archive Change 3678620 by Ben.Zeigler Minor text changes to size map Change 3678314 by Ben.Zeigler Add Make Collection With References and Audit References to Size Map to easily allow inspecting the specific set of filtered packages in other tools Change 3677875 by Ben.Zeigler Fix crash in size map from keeping reference to node after map was resized, and undo the Name->DisplayName rename as it could affect licensees Change 3676899 by Peter.Sauerbrei narrowed down to the plist data, trying to figure out if it is missing or not Change 3676570 by Peter.Sauerbrei more logging to track down the archive error Change 3676293 by Peter.Sauerbrei fix for compile failure on IOS Change 3676172 by Peter.Sauerbrei potential fix for missing icons in the ipa when run through the build machines Change 3673544 by Ben.Zeigler Sort AllChunksInfo alphabetically so the order is consistent accross build and platforms to facillitate diffing Change 3671597 by Peter.Sauerbrei Merging //UE4/Dev-Mobile/Engine/... to //WEX/Main/Engine/... Change 3670932 by Ben.Zeigler Change it so cooking with the AssetManager writes out AllChunksInfo.csv next to the DevelopmentAssetRegistry, but not the per-chunk csv files as those are not useful. Also made the size counts platform accurate Change 3670906 by Peter.Sauerbrei update WEX for building with Xcode 9 Change 3660026 by Josh.May Moved SWebBrowserView's parent window "searches" to OnPaint. There's definitely something wrong with FindWidgetWindow... Even after deferring SWebBrowserView's calls to FindWidgetWindow until first Tick, the same widget layout artifacts could occur after opening multiple SWebBrowserViews. And, as Nick pointed out in the related email thread, this approach is also more efficient. Change 3655411 by Josh.May Ensure SWebBrowserView's parent window searches are deferred until after Construct. We haven't puzzled through it yet, but calling FindWidgetWindow during Construct seems to corrupt some Slate state. Deferring this search until later gets around the issue and makes sense anyway, given the widget isn't added to the hierarchy until after Construct. Change 3655407 by John.Opila Sneaking in some stats for SpawnActor. Change 3654649 by Ben.Zeigler Refactor SizeMap and ReferenceViewer into the AssetManagerEditor plugin, and delete the old modules. Fix SizeMap crash that I temporarily added. TreeMap is initialized weirdly Change 3648912 by Ben.Zeigler First half of changes to refactor sizemap/reference viewer into the asset manager editor plugin Add GetAllContentBrowserCommandExtenders to ContentBrowserModule that allows registering commands/keybinds to extend the content browser via plugins Add GetSharedMenu/ToolbarExtensibilityManager to AssetEditorToolkit that allows extending the generic asset editor via plugin Move the code to spawn the Reference Viewer and SizeMap into the AssetManagerEditor plugin so these UIs can be tightly bound and share data. This also enables keybinds for Size Map and Audit. Remove size map from the save as dialog, it created a special modal size map window that will not work after my refactor Change 3639419 by Ben.Marsh Use DirectoryInfo instead of DirectoryReference to enumerate projects. Tracking down UHT compile failures on Mac. Change 3638619 by David.Nikdel AsyncLoading: Suggested change by Gil to add lock prior to changing LoadPhase to WaitingForHeader (presumably to make FArchiveAsync2::StartReadingHeader's assumption about locking true) Change 3633562 by Chris.Babcock Update Android virtual keyboard support Change 3630564 by Peter.Sauerbrei fix for the manifest stage problem Change 3629577 by Chris.Babcock Fix merge errors in GameActivity.java Change 3629154 by David.Nikdel Disable debug device output in shipping builds (even if logs are enabled) Change 3626542 by John.Opila Back out changelist 3603452 Undoing the OpenGL load changes as the initial load time was just too damn high! Change 3620472 by David.Nikdel Fix from Nick to fix a BP that crashes on Compile Change 3618090 by Josh.May Reset inertial scrolling for SScrollboxes and STableView-based Slate widgets when scrolling to specific scroll offsets. Change 3613980 by Chris.Babcock Fix issue with Android password keyboard input Change 3603825 by John.Opila Shader change doesn't seem to like standalone PC. Change 3603452 by John.Opila Moving openGL shader compilation into loading instead of at the last minute. Change 3593008 by David.Nikdel Merging CL 3504471 from //Fortnite/Dev-Cinematics/Engine/... to //WEX/Main/Engine/... ---------------------------------------- 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 ================================================================================================= THESE CHANGES TOUCH MULTIPLE PLATFORMS ================================================================================================= Change 3739931 by Ben.Zeigler changes to some asset manager code modified on WEX, and fix several FStringAssetReference->FSoftObjectPath Change 3723451 by Josh.May Exposed OnBeforePopup to UMG and Blueprint for UWebBrowser. This is triggered by the CEFBrowserHandler when attempting to open hyperlinks targeting _blank and, when not handled, would result in the page never loading. Added OnBeforePopup handling for the HTMLNewsWidget, ensuring the URLs are opened in an external browser. Change 3711256 by Dmitriy.Dyomin Fixed: Friend list invalidation panel relative transform caching issues Also fixed issues with and set slate.cacherenderdata=0 for better batching Change 3698695 by Josh.May Made the UMG default font overridable via config, allowing us to replace it with a game-scope localized Font asset. If there's a better place for this mechanism/accessor to live, please let me know. Added a new 'Default' font that replicates '/Engine/EngineFonts/Roboto'. This also has a localized Font asset variant for zh-Hans. Change 3676085 by Josh.May Implemented MulticastBroadcastReceiver, a BroadcastReceiver capable of "multicasting" intents to other receivers. AppsFlyer defines a similar MultiInstallBroadcastReceiver class specific to the INSTALL_REFERRER intent, but it MUST be the very first one defined (cannot be guaranteed in our build pipeline AFAIK). Added MulticastBroadcastReceiver (for INSTALL_REFERRER) to the AndroidManifest generation logic, allowing BOTH Adjust and AppsFlyer to receive the intent. Added dev channel support for AndroidAppsFlyer, enabled conditionally based on shipping/distribution and whether or not a valid AppsFlyerDevChannel name is specified. For WEX, our dev channel is WEX_Dev. Fixed AppsFlyer_EventAttribute's Java class lookups and constructor signature. Change 3670860 by Ben.Zeigler First version of improvements to tools to analyze chunks Size Map and Reference Viewer now support reading cooked asset data and displaying chunks. Changing the platform dropdown in the Asset Audit window switches the other windows as well Asset Audit window now has "Add Chunks" button, and selecting AllTypes in the Primary Asset drop down will add all primary assets Size Map now shows Disk Size by default, and supports a right click context menu Significant UI improvements to all 3 tools, including keybind support Split Manage references into Hard and Soft, where Hard are set explicitly and soft are inherited. This allows determining why an asset was included in a chunk/primary asset When the AssetManager builds management information for the audit browser/cooker, it now precomputes a chunk mapping for relevant assets. PackageChunkType is used to refer to these virtual primary assets Add callback to content browser delegates to handle adding arbitrary FAssetData to an asset view, used to show chunks Several changes to the ITreeMap UI used by size map Change 3670290 by Josh.May Added AppleAppID configs for AppsFlyer. Added AdSupport and iAd frameworks for IOSAppsFlyer. According to the AppsFlyer documentation, these are required for IDFA and Apple Search Ads tracking. Change 3643531 by Peter.Sauerbrei fix for save game location and certain data backed up to the cloud when it shouldn't Change 3629303 by Ben.Zeigler Merge fix for shared ptr corruption in async loading thread from Main, and enable asnyc loading thread for WEX Copy of CL #3623261 and 3625806 Change 3629219 by Peter.Sauerbrei Merging using WEX_Main_to_UE4_WEX_Staging bringing over the files that Stan didn't have access to Change 3629063 by Stanley.Hayes Engine Merge: Merging using WEX_Main_to_UE4_WEX_Staging(flipped) Change 3618988 by Josh.May Reimplemented DevicePerformanceBucket-based WorldMap class selection to account for the WorldMap actor being pre-serialized into the UMAP. On a related note, ChildActorComponents marked as "editor only" now mark their spawned Actors as Transient to prevent them from getting serialized at cook-time. Change 3597981 by Josh.May Converted WExpCampaignDefinition's RegionDefinition refs back to hard references and, to compensate, converted WExpZoneDefinition's ZoneBoss refs to soft references. This moves the RegionDefinitions and ZoneDefinitions from chunk 2 to chunk 1 without pulling in assets for the ZoneBosses. This also allows us to grab the ZoneBoss refs during UWExpAssetManager::GetMainMenuAssetList. Reworked UWExpAssetManager::GetMainMenuAssetList and UWExpAssetManager::GetLevelAssetList to build more "complete" asset lists by expanding lists of PrimaryAssetIds. Tweaked the WorldMap's ZoneBoss spawning to account for the switch to AssetPtrs. Change 3581214 by Josh.Markiewicz added cookie deletion for Google on logout [CL 3750870 by Stanley Hayes in Main branch]
2017-11-10 17:20:53 -05:00
}
}
return Layer;
}
void SWebBrowserView::HandleWindowDeactivated()
{
if (BrowserViewport.IsValid())
{
BrowserViewport->OnFocusLost(FFocusEvent());
}
}
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 SWebBrowserView::HandleWindowActivated()
{
if (BrowserViewport.IsValid())
{
if (HasAnyUserFocusOrFocusedDescendants())
{
BrowserViewport->OnFocusReceived(FFocusEvent());
}
}
}
void SWebBrowserView::LoadURL(FString NewURL)
{
AddressBarUrl = FText::FromString(NewURL);
if (BrowserWindow.IsValid())
{
BrowserWindow->LoadURL(NewURL);
}
}
void SWebBrowserView::LoadString(FString Contents, FString DummyURL)
{
if (BrowserWindow.IsValid())
{
BrowserWindow->LoadString(Contents, DummyURL);
}
}
void SWebBrowserView::Reload()
{
if (BrowserWindow.IsValid())
{
BrowserWindow->Reload();
}
}
void SWebBrowserView::StopLoad()
{
if (BrowserWindow.IsValid())
{
BrowserWindow->StopLoad();
}
}
FText SWebBrowserView::GetTitleText() const
{
if (BrowserWindow.IsValid())
{
return FText::FromString(BrowserWindow->GetTitle());
}
return LOCTEXT("InvalidWindow", "Browser Window is not valid/supported");
}
FString SWebBrowserView::GetUrl() const
{
if (BrowserWindow.IsValid())
{
return BrowserWindow->GetUrl();
}
return FString();
}
FText SWebBrowserView::GetAddressBarUrlText() const
{
if(BrowserWindow.IsValid())
{
return AddressBarUrl;
}
return FText::GetEmpty();
}
bool SWebBrowserView::IsLoaded() const
{
if (BrowserWindow.IsValid())
{
return (BrowserWindow->GetDocumentLoadingState() == EWebBrowserDocumentState::Completed);
}
return false;
}
bool SWebBrowserView::IsLoading() const
{
if (BrowserWindow.IsValid())
{
return (BrowserWindow->GetDocumentLoadingState() == EWebBrowserDocumentState::Loading);
}
return false;
}
bool SWebBrowserView::CanGoBack() const
{
if (BrowserWindow.IsValid())
{
return BrowserWindow->CanGoBack();
}
return false;
}
void SWebBrowserView::GoBack()
{
if (BrowserWindow.IsValid())
{
BrowserWindow->GoBack();
}
}
bool SWebBrowserView::CanGoForward() const
{
if (BrowserWindow.IsValid())
{
return BrowserWindow->CanGoForward();
}
return false;
}
void SWebBrowserView::GoForward()
{
if (BrowserWindow.IsValid())
{
BrowserWindow->GoForward();
}
}
bool SWebBrowserView::IsInitialized() const
{
return BrowserWindow.IsValid() && BrowserWindow->IsInitialized();
}
void SWebBrowserView::SetupParentWindowHandlers()
{
if (!SlateParentWindowPtr.IsValid())
{
SlateParentWindowPtr = FSlateApplication::Get().FindWidgetWindow(SharedThis(this));
TSharedPtr<SWindow> SlateParentWindow = SlateParentWindowPtr.Pin();
if (SlateParentWindow.IsValid() && BrowserWindow.IsValid())
{
if (!SlateParentWindow->GetOnWindowDeactivatedEvent().IsBoundToObject(this))
{
SlateParentWindow->GetOnWindowDeactivatedEvent().AddSP(this, &SWebBrowserView::HandleWindowDeactivated);
}
if (!SlateParentWindow->GetOnWindowActivatedEvent().IsBoundToObject(this))
{
SlateParentWindow->GetOnWindowActivatedEvent().AddSP(this, &SWebBrowserView::HandleWindowActivated);
}
BrowserWindow->SetParentWindow(SlateParentWindow);
}
}
}
void SWebBrowserView::HandleBrowserWindowDocumentStateChanged(EWebBrowserDocumentState NewState)
{
switch (NewState)
{
case EWebBrowserDocumentState::Completed:
{
if (BrowserWindow.IsValid())
{
for (auto Adapter : Adapters)
{
Adapter->ConnectTo(BrowserWindow.ToSharedRef());
}
}
OnLoadCompleted.ExecuteIfBound();
}
break;
case EWebBrowserDocumentState::Error:
OnLoadError.ExecuteIfBound();
break;
case EWebBrowserDocumentState::Loading:
OnLoadStarted.ExecuteIfBound();
break;
}
}
void SWebBrowserView::HandleBrowserWindowNeedsRedraw()
{
if (FSlateApplication::Get().IsSlateAsleep())
{
// Tell slate that the widget needs to wake up for one frame to get redrawn
RegisterActiveTimer(0.f, FWidgetActiveTimerDelegate::CreateLambda([this](double InCurrentTime, float InDeltaTime) { return EActiveTimerReturnType::Stop; }));
}
}
void SWebBrowserView::HandleTitleChanged( FString NewTitle )
{
const FText NewTitleText = FText::FromString(NewTitle);
OnTitleChanged.ExecuteIfBound(NewTitleText);
}
void SWebBrowserView::HandleUrlChanged( FString NewUrl )
{
AddressBarUrl = FText::FromString(NewUrl);
OnUrlChanged.ExecuteIfBound(AddressBarUrl);
}
void SWebBrowserView::HandleToolTip(FString ToolTipText)
{
if(ToolTipText.IsEmpty())
{
FSlateApplication::Get().CloseToolTip();
SetToolTip(nullptr);
}
else if (OnCreateToolTip.IsBound())
{
SetToolTip(OnCreateToolTip.Execute(FText::FromString(ToolTipText)));
FSlateApplication::Get().UpdateToolTip(true);
}
else
{
SetToolTipText(FText::FromString(ToolTipText));
FSlateApplication::Get().UpdateToolTip(true);
}
}
bool SWebBrowserView::HandleBeforeNavigation(const FString& Url, const FWebNavigationRequest& Request)
{
if(OnBeforeNavigation.IsBound())
{
return OnBeforeNavigation.Execute(Url, Request);
}
return false;
}
bool SWebBrowserView::HandleLoadUrl(const FString& Method, const FString& Url, FString& OutResponse)
{
if(OnLoadUrl.IsBound())
{
return OnLoadUrl.Execute(Method, Url, OutResponse);
}
return false;
}
EWebBrowserDialogEventResponse SWebBrowserView::HandleShowDialog(const TWeakPtr<IWebBrowserDialog>& DialogParams)
{
if(OnShowDialog.IsBound())
{
return OnShowDialog.Execute(DialogParams);
}
return EWebBrowserDialogEventResponse::Unhandled;
}
void SWebBrowserView::HandleDismissAllDialogs()
{
OnDismissAllDialogs.ExecuteIfBound();
}
bool SWebBrowserView::HandleBeforePopup(FString URL, FString Target)
{
if (OnBeforePopup.IsBound())
{
return OnBeforePopup.Execute(URL, Target);
}
return false;
}
void SWebBrowserView::ExecuteJavascript(const FString& ScriptText)
{
if (BrowserWindow.IsValid())
{
BrowserWindow->ExecuteJavascript(ScriptText);
}
}
void SWebBrowserView::GetSource(TFunction<void (const FString&)> Callback) const
{
if (BrowserWindow.IsValid())
{
BrowserWindow->GetSource(Callback);
}
}
bool SWebBrowserView::HandleCreateWindow(const TWeakPtr<IWebBrowserWindow>& NewBrowserWindow, const TWeakPtr<IWebBrowserPopupFeatures>& PopupFeatures)
{
if(OnCreateWindow.IsBound())
{
return OnCreateWindow.Execute(NewBrowserWindow, PopupFeatures);
}
return false;
}
bool SWebBrowserView::HandleCloseWindow(const TWeakPtr<IWebBrowserWindow>& NewBrowserWindow)
{
if(OnCloseWindow.IsBound())
{
return OnCloseWindow.Execute(NewBrowserWindow);
}
return false;
}
void SWebBrowserView::BindUObject(const FString& Name, UObject* Object, bool bIsPermanent)
{
if (BrowserWindow.IsValid())
{
BrowserWindow->BindUObject(Name, Object, bIsPermanent);
}
}
void SWebBrowserView::UnbindUObject(const FString& Name, UObject* Object, bool bIsPermanent)
{
if (BrowserWindow.IsValid())
{
BrowserWindow->UnbindUObject(Name, Object, bIsPermanent);
}
}
void SWebBrowserView::BindAdapter(const TSharedRef<IWebBrowserAdapter>& Adapter)
{
Adapters.Add(Adapter);
if (BrowserWindow.IsValid())
{
Adapter->ConnectTo(BrowserWindow.ToSharedRef());
}
}
void SWebBrowserView::UnbindAdapter(const TSharedRef<IWebBrowserAdapter>& Adapter)
{
Adapters.Remove(Adapter);
if (BrowserWindow.IsValid())
{
Adapter->DisconnectFrom(BrowserWindow.ToSharedRef());
}
}
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 SWebBrowserView::BindInputMethodSystem(ITextInputMethodSystem* TextInputMethodSystem)
{
if (BrowserWindow.IsValid())
{
BrowserWindow->BindInputMethodSystem(TextInputMethodSystem);
}
}
void SWebBrowserView::UnbindInputMethodSystem()
{
if (BrowserWindow.IsValid())
{
BrowserWindow->UnbindInputMethodSystem();
}
}
void SWebBrowserView::HandleShowPopup(const FIntRect& PopupSize)
{
check(!PopupMenuPtr.IsValid())
TSharedPtr<SViewport> MenuContent;
SAssignNew(MenuContent, SViewport)
.ViewportSize(PopupSize.Size())
.EnableGammaCorrection(false)
.EnableBlending(false)
.IgnoreTextureAlpha(true)
.Visibility(EVisibility::Visible);
MenuViewport = MakeShareable(new FWebBrowserViewport(BrowserWindow, true));
MenuContent->SetViewportInterface(MenuViewport.ToSharedRef());
FWidgetPath WidgetPath;
FSlateApplication::Get().GeneratePathToWidgetUnchecked(SharedThis(this), WidgetPath);
if (WidgetPath.IsValid())
{
TSharedRef< SWidget > MenuContentRef = MenuContent.ToSharedRef();
const FGeometry& BrowserGeometry = WidgetPath.Widgets.Last().Geometry;
const FVector2D NewPosition = BrowserGeometry.LocalToAbsolute(PopupSize.Min);
// Open the pop-up. The popup method will be queried from the widget path passed in.
TSharedPtr<IMenu> NewMenu = FSlateApplication::Get().PushMenu(SharedThis(this), WidgetPath, MenuContentRef, NewPosition, FPopupTransitionEffect( FPopupTransitionEffect::ComboButton ), false);
NewMenu->GetOnMenuDismissed().AddSP(this, &SWebBrowserView::HandleMenuDismissed);
PopupMenuPtr = NewMenu;
}
}
void SWebBrowserView::HandleMenuDismissed(TSharedRef<IMenu>)
{
PopupMenuPtr.Reset();
}
void SWebBrowserView::HandleDismissPopup()
{
if (PopupMenuPtr.IsValid())
{
PopupMenuPtr.Pin()->Dismiss();
FSlateApplication::Get().SetKeyboardFocus(SharedThis(this), EFocusCause::SetDirectly);
}
}
bool SWebBrowserView::HandleSuppressContextMenu()
{
if (OnSuppressContextMenu.IsBound())
{
return OnSuppressContextMenu.Execute();
}
return false;
}
bool SWebBrowserView::HandleDrag(const FPointerEvent& MouseEvent)
{
if (OnDragWindow.IsBound())
{
return OnDragWindow.Execute(MouseEvent);
}
return false;
}
bool SWebBrowserView::UnhandledKeyDown(const FKeyEvent& KeyEvent)
{
if (OnUnhandledKeyDown.IsBound())
{
return OnUnhandledKeyDown.Execute(KeyEvent);
}
return false;
}
bool SWebBrowserView::UnhandledKeyUp(const FKeyEvent& KeyEvent)
{
if (OnUnhandledKeyUp.IsBound())
{
return OnUnhandledKeyUp.Execute(KeyEvent);
}
return false;
}
bool SWebBrowserView::UnhandledKeyChar(const FCharacterEvent& CharacterEvent)
{
if (OnUnhandledKeyChar.IsBound())
{
return OnUnhandledKeyChar.Execute(CharacterEvent);
}
return false;
}
#undef LOCTEXT_NAMESPACE