Commit Graph

268 Commits

Author SHA1 Message Date
chris bunner
5b8a365653 Addition of iPhone 11, 11 Pro, and 11 Pro Max device profiles
#rb none
#author Peter.Sauerbrei
[FYI] josh.adams, jack.porter


#ROBOMERGE-SOURCE: CL 8906568 via CL 8906726 via CL 8906746 via CL 8906809
#ROBOMERGE-BOT: (v427-8887818)

[CL 8906837 by chris bunner in Main branch]
2019-09-19 16:40:14 -04:00
Marcus Wassmer
6517c68ef5 Copying //UE4/Dev-RenderPlat-Staging@8684824 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 8684840 by Marcus Wassmer in Main branch]
2019-09-14 09:45:25 -04:00
Leigh Swift
3b246bc3db Copying //UE4/Portal-Staging to //UE4/Main (Source: //Portal/Main/Engine @ 8661229)
Change 8553543 by Wes.Fudala

	We now set a fixed value of 24 to CEF screenInfo colorDepth when off screen rendering is enabled.

Change 8235770 by Wes.Fudala

	Fix for CEFJsScripting memory stomp and memory alignment errors called out by the stomp memory allocator when running with -stompmalloc on the commandline.

Change 8065597 by Leigh.Swift

	BuildPatchServices: Improving ChunkBuildDirectory behaviour when dealing with empty build or builds only containing empty files.
	This is now fully supported as part of the generation flow rather than an early detected edge case.

Change 7641628 by Leigh.Swift

	BuildPatchServices: Tweaks to serialisation safety.
	BuildPatchServices: DiskChunkStore fix for crash when chunkdump serialisation fails due to disk space.

Change 7436869 by Leigh.Swift

	BuildPatchServices: Fix regression in BPT package chunks for cloud save improvements now require message pumping.

Change 7326553 by Wes.Fudala

	BuildPatchServices: Attempt to restore functionality of the -SkipBuildPatchPrereq commandline.  This stopped functioning in CL# 6655502 with the BPS DLC related refactors.
	The issue was reported by a number of users that were relying on this commandline as a last resort workaround for prereq install issues.

Change 7323945 by Leigh.Swift

	BuildPatchServices: BuildPatchTool: Install time coefficient values exposed by DiffManifests.
	This gives an indicative install duration.
	The time is not necessarily accurate, but the simulation is a constant and so the value is highly comparable between different builds.

Change 7310352 by Antony.Carter

	BuildPatchServices: Adding support for overriding http path for chunk requests. This allows the ability to support signed urls when downloading patch data.

Change 7095282 by Leigh.Swift

	BuildPatchServices: Fix regression with manifests that have no core files.

Change 7092198 by leigh.swift

	BuildPatchServices: Reuse existing code from FBuildPatchAppManifest::GetChunkShaHash in FBuildPatchManifestSet::GetChunkShaHash.
	This fixes an issue where older manifest files that did not ship with chunk sha values in them, can skip sha validation of chunks like pre-DLC launcher did.

Change 6959115 by Wes.Fudala

	Added functionality that will optionally expose embedded browser console logs to the client.

Change 6835841 by Leigh.Swift

	BuildPatchServices: Rearranging manifest save logic to avoid unnecessary seeking forwards, which avoids an assert when undetected write failures occur.

Change 6684994 by Leigh.Swift

	BuildPatchServices: Don't clean empty directories if staging only.

Change 6655502 by Mike.Erickson, Leigh.Swift, Wes.Fudala

	BuildPatchServices: Restructuring how installers are configured and make use of manifest files in order to combine multiple actions on an installation directory into one installer.
	This resembles a feature set for a better DLC installation experience.

Change 6404031 by Richard.Fawcett

	BuildPatchTool: Only append ".manifest" to output filename if output filename has been specified on the command line.
	This was causing a manifest file called literally ".manifest" to be output to the clouddir if -OutputFilename was not specified.

Change 6077240 by Wes.Fudala

	Execution of browser resource load complete delegate now happens on the main thread.

Change 6076171 by Leigh.Swift

	BuildPatchTool: PatchGeneration: ChunkDeltaOptimise: PackageChunks: Improved corrupt output protection against ill timed taskkill, by serialising to temp filename, and then rename on success.
	BuildPatchTool: PatchGeneration: Manifest file extension added if not provided, fixing an oversight and inconsistency with other mode behaviours.
	BuildPatchTool: Compactify: Only warn when failing to get a file size, if the file still exists. Otherwise log instead.

Change 6049003 by Leigh.Swift

	BuildPatchServices: Adding ProcessRequiredDiskSpace to Launcher.Install.Stats which represents how much disk space the install/update process needed to complete.
	BuildPatchServices: Adding ProcessAvailableDiskSpace to Launcher.Install.Stats which represents how much disk space was available at the time of checking required disk space.

Change 5915157 by Leigh.Swift

	BuildPatchTool: Adding a statistic to diffmanifests for temporary disk space requirement to apply the patch.

Change 5934838 by Leigh.Swift

	BuildPatchTool: PackageChunks: Adding support to provide a tagset for the previous build manifest when producing chunkdbs. This allows expanding the chunks saved out to cover tagsets not installed in the previous build.

Change 5838666 by wes.fudala

	Browser can now bubble up the state of completed web resource loads.

Change 5689493 by Leigh.Swift

	Adding new x86 and x64 MS VC141 CRT redist, version 14.16.27012

Change 5689462 by Leigh.Swift

	Fixing process handle leaks on windows.
	Core was leaking for getting an application name.

Change 5500917 by Leigh.Swift

	BuildPatchTool: Adding new arg DiffAbortThreshold to ChunkDeltaOptimise mode which allows skipping of the operation if the original delta is so large that it would take too long to process, and likely have little benefit.
	BuildPatchTool: Switching some Log output to use Display so that it will appear in EC and CMD windows.

Change 5337482 by Leigh.Swift

	BuildPatchTool: Fix for DiffManifests mode not accurately representing delta size for tagged install sets.

Change 5261246 by Leigh.Swift

	BuildPatchServices: Fix for file download needing to mock response codes for higher layer statistics code which tracks data sizes and speeds.
	This is a regression from previous change to correct download failure vs corruption statistics.

Change 5224725 by Leigh.Swift

	BuildPatchServices: Fix for delta download of more than 0 bytes when no update is necessary.
	BuildPatchServices: Skip requesting delta metafile if no file changes are actually required for a patch.
	BuildPatchTool: Reduce unnecessary data produced by BPT ChunkDeltaOptimise mode.

Change 5010941 by Mike.Erickson

	BuildPatchServices: Add download scaling based on average speed per request, maximum count, and download health.

Change 5010845 by Wes.Fudala

	BuildPatchServices: IDownload refactored to have specific request and response success functions, to make it clearer that a successful request does not mean the response was also good.
	BuildPatchServices: Fixed issues with download failures reporting as corruptions.

Change 5000643 by Wes.Hunt

	Remove HttpServiceTracker from UE4.

Change 4884381 by Leigh.Swift

	BuildPatchTool: Fix for Package Chunks mode hanging when no chunks were required.

Change 4848675 by Justin.Sargent, Leigh.Swift

	Speculative fixes for graphics device lost related crash, by adding additional d3d api result checks.
	Improved logging for graphics device lost handling.
	Improved logging for tracking down common font loading failure resulting in an ensure.

Change 4831134 by Leigh.Swift

	BuildPatchTool: Fix for crash in patchgeneration when fast-forward path replays no match.

Change 4801714 by Wes.Fudala

	Fix for CEF issue encountered when building using Mac Mojave + XCode10.

Change 4719149 by Leigh.Swift

	BuildPatchTool: PatchGeneration mode cyclic data optimisation, reduces SHA calculation requirement counts for cyclic data.
	BuildPatchTool: PatchGeneration mode fix for a bug causing non-optimal match insertion idx searching when there are 10k+ matches per scanner.

Change 4680963 by Leigh.Swift

	BuildPatchTool: ChunkDeltaOptimise mode is now FeatureLevel upgrade / downgrade aware.

Change 4680947 by Leigh.Swift

	BuildPatchTool: Compactify speed improvements for massive network cloud directories.

Change 4656991 by Leigh.Swift

	BuildPatchServices: Make sure chunk writer robustly discovers if a chunk fails to save out.

Change 4647815 by Leigh.Swift

	Upping the minimum wait time for UdpMessageBeacon thread so that it will not always wait 0ms when network sends are failing, reducing disconnect CPU usage.
	Adding configurable tick rate logic to XmppConnectionJingle thread. It will now default to 100Hz max.

Change 4627355 by Michael.Trepka

	Fixed a problem with CEF being unable to find locale pak files on Mac for certain language/region combinations

Change 4620800 by Leigh.Swift

	Fix for CEF crash when disabling a web window that has not yet got a parent window. There's no need to worry about focus in this case.

Change 4590207 by Leigh.Swift

	BuildPatchTool: PackageChunks mode now supports FeatureLevel arg

Change 4590103 by leigh.swift

	BuildPatchTool: Adding new mode ChunkDeltaOptimise which reducing the download size when patching between two specific builds in a specific direction.
	BuildPatchTool: Updated Enumeration, DiffManifests, Compactify, PackageChunks, and VerifyChunks modes to take account of new delta data.
	BuildPatchServices: Installers now have a single shared memory chunk store, which reduces the requirement for booting

Change 4590089 by Leigh.Swift

	BuildPatchTool: Adding new mode ChunkDeltaOptimise which reducing the download size when patching between two specific builds in a specific direction.
	BuildPatchTool: Updated Enumeration, DiffManifests, Compactify, PackageChunks, and VerifyChunks modes to take account of new delta data.
	BuildPatchServices: Installers now have a single shared memory chunk store, which reduces the requirement for booting

Change 4341076 by Leigh.Swift

	BuildPatchServices: Making FBuildPatchAppManifest::GetRemovableFiles  more robust to handle directories with or without trailing slash.

Change 4331754 by Leigh.Swift

	BuildPatchTool: Added support for selecting ChunkWindowSize when generating patches.
	BuildPatchTool: Added support for providing the FeatureLevel command-line argument to indicate the data version that should be saved out by patch generation. This warns about defaulting to LatestJson if not provided.
	BuildPatchTool: Added support for generating patches with recognition for any chunks with any ChunkWindowSize found in the provided CloudDir.
	BuildPatchTool: Added command-line -IgnoreOtherWindowSizes param which if provided, the generation code will only accept chunk matches that are the same as ChunkWindowSize.

	BuildPatchServices: Fixes for supporting installations that use any ChunkWindowSize.
	BuildPatchServices: New manifest file format to reduce file size, this is now raw compressed binary data.

#lockdown Nick.Penwarden
#rb none

[CL 8675597 by Leigh Swift in Main branch]
2019-09-13 13:24:23 -04:00
brandon schaefer
a715ea4f14 Deprecate GIsRequestingExit
Get GIsRequestingExit now by IsEngineRequestingExit()

Set GIsRequestingExit now by RequestEngineExit(const TCHAR* Reason) or RequestEngineExit(const FString& Reason)
NOTE If Reason is 4 or less chars it will generate an ensure to force a reason to exit

The reason behind this change is right now setting GIsRequestingExit to true can cause many things to break mainly early on and with out any sort of log warning we have entered this state. We should wrap this behind a function to allow for proper handling

#rb Chris.Babcock, Michael.Trepka, Michael.Noland
#jira UE-79933
[FYI] Michael.Noland


#ROBOMERGE-SOURCE: CL 8649683 via CL 8653683
#ROBOMERGE-BOT: (v417-8656536)

[CL 8658680 by brandon schaefer in Main branch]
2019-09-12 14:21:26 -04:00
chris babcock
6177bdf44d Fix controller v2 firmware button mapping when connected to certain phones.
#rb Arciel.Rekman
#android


#ROBOMERGE-SOURCE: CL 8642666 via CL 8642690 via CL 8642800 via CL 8652900
#ROBOMERGE-BOT: (v417-8656536)

[CL 8657909 by chris babcock in Main branch]
2019-09-12 13:58:14 -04:00
michael kirzinger
2089528f9b Don't make unnecessary AVAudioSession setCategory calls
VivoxVoiceChat - enable voice chat before calling JoinChannel

[REVIEW] [at]josh.adams, [at]sam.zamani, [at]chris.varnsverry


#ROBOMERGE-SOURCE: CL 8635594 via CL 8635688 via CL 8635692 via CL 8649766
#ROBOMERGE-BOT: (v412-8640799)

[CL 8649922 by michael kirzinger in Main branch]
2019-09-12 02:05:44 -04:00
ben marsh
a6cc4468b7 More IncludeTool fixes.
#rb none
#jira
#rnx

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 8371085 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v406-8472469)

[CL 8497721 by ben marsh in Main branch]
2019-09-04 15:28:59 -04:00
thomas ross
c240aa31f9 Fix for background crash. Reverting part of CL 5959301 to change the ApplicationWillEnterBackgroundDelegate delegate to always called on GameThread on iOS again.
#rb none
#tests iOS Client
[REVIEW] Josh.Adams, Peter.sauerbrei


#ROBOMERGE-SOURCE: CL 8388186 via CL 8388187 via CL 8388188 via CL 8388189 via CL 8389868
#ROBOMERGE-BOT: (v403-8382528)

[CL 8389921 by thomas ross in Main branch]
2019-08-31 02:18:32 -04:00
Marcus Wassmer
da3a03e47c Copying //UE4/Dev-Mobile@8387500 to Dev-RenderPlat-Staging (//UE4/Dev-RenderPlat-Staging)
#rb none

[CL 8387580 by Marcus Wassmer in Dev-RenderPlat-Staging branch]
2019-08-30 17:54:29 -04:00
michael kirzinger
0cc80f7f17 Use NSString* instead of AVAudioSessionCategory
[CODEREVIEW] [at]peter.sauerbrei


#ROBOMERGE-SOURCE: CL 8293583 via CL 8293585 via CL 8353679
#ROBOMERGE-BOT: (v401-8057353)

[CL 8353872 by michael kirzinger in Main branch]
2019-08-27 17:19:11 -04:00
michael kirzinger
14fa1099fd Fix iOS build
#ROBOMERGE-SOURCE: CL 8293066 via CL 8293258
#ROBOMERGE-BOT: (v401-8057353)

[CL 8293268 by michael kirzinger in Main branch]
2019-08-26 09:45:39 -04:00
michael kirzinger
0ef3ff2678 Restructure how we set AVAudioSession to give the application more control over it
Workaround an issue in the vivox-sdk that causes the iOS recording notification to be displayed if the application is backgrounded while the sdk is initialized and the AVAudioSessionCategory is set to Ambient

[at]Ethan.Geller, [at]Josh.Adams, [at]Peter.Sauerbrei, [at]Chris.Varnsverry
[FYI] Brian.Zaugg


#ROBOMERGE-OWNER: michael.kirzinger
#ROBOMERGE-AUTHOR: michael.kirzinger
#ROBOMERGE-SOURCE: CL 8292997 via CL 8293014 via CL 8293252
#ROBOMERGE-BOT: (v401-8057353)

[CL 8293259 by michael kirzinger in Main branch]
2019-08-26 09:45:27 -04:00
maxwell hayes
1a7ead2658 Fix for build error with Mac Editor. Unwanted compilation of iOS AudioMixer platform was being triggered, resulting in missing include
#rb Aaron.McLeran
#jira UE-79246
[FYI] Thomas Green


#ROBOMERGE-SOURCE: CL 8216998 via CL 8217000 via CL 8229421
#ROBOMERGE-BOT: (v401-8057353)

[CL 8230444 by maxwell hayes in Main branch]
2019-08-23 11:59:12 -04:00
Ben Marsh
f6564eb124 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 8194620 by Ben Marsh in Dev-Build branch]
2019-08-21 16:28:23 -04:00
brandon schaefer
74b0d60488 With some specific DPI settings the barriers for confined cursor can end up touching the border
Allowing for OS resize to happen while in some locked game. Add a percentage to make the barrier
smaller around the edges

#jira none
#rb none
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 8184274 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v401-8057353)

[CL 8184284 by brandon schaefer in Main branch]
2019-08-21 14:37:36 -04:00
brandon schaefer
4d5e78e431 Should be popup here not borderless
#jira none
#rb none
[FYI] Michael.Sartain
#lockdown cristina.riveron

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 8130115 in //UE4/Release-4.23/... via CL 8130116
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v401-8057353)

[CL 8170249 by brandon schaefer in Dev-Build branch]
2019-08-21 10:40:16 -04:00
chris babcock
af0807d679 Add controller lighting and force feedback support to android input interface
#android

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 8119376 via CL 8119377 via CL 8119818 via CL 8123228 via CL 8124927
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v401-8057353)

[CL 8166405 by chris babcock in Dev-Build branch]
2019-08-21 10:18:26 -04:00
peter sauerbrei
36cbff8a7e fix for OOM file remaining when the user exits the application while the game thread is doing a bit of work (GC or audio thread wait)
#rb chris.bunner


#ROBOMERGE-SOURCE: CL 8129558 via CL 8129566 via CL 8129567 via CL 8133405
#ROBOMERGE-BOT: (v401-8057353)

[CL 8159314 by peter sauerbrei in Main branch]
2019-08-21 09:25:58 -04:00
brandon schaefer
78da82a7a5 Should be popup here not borderless
#jira none
#rb none
[FYI] Michael.Sartain
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 8130115 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v401-8057353)

[CL 8130116 by brandon schaefer in Main branch]
2019-08-20 17:01:56 -04:00
chris babcock
aa4b444e66 Add controller lighting and force feedback support to android input interface
#android


#ROBOMERGE-SOURCE: CL 8119376 via CL 8119377 via CL 8119818 via CL 8123228
#ROBOMERGE-BOT: (v401-8057353)

[CL 8124927 by chris babcock in Main branch]
2019-08-20 10:01:57 -04:00
simon tourangeau
aeb5dd072f Path Selection Window
When user selects target path for exporting or saving, we need to refresh content from server. So we add OnPathSelected event to FSharedAssetDialogConfig and SAssetDialog.
Changed files: IContentBrowserSingleton.h, SAssetDialog.h, SAssetDialog.cpp.

GPumpingMessages
When files and folders are deleted or created by user, we want to save these changes to server. So we monitor such changes through IAssetRegistry. But we need to determine whether it�s triggered by user. So we add GPumpingMessages, a global flag indicating that application is processing Windows messages. Which means it�s triggered by user input.
Another possible choice is adding delegates. But this requires more changes and is less general.
Changed files: CoreGlobals.h, CoreGlobals.cpp, WindowsPlatformApplicationMisc.cpp.

Mesh Editor Small Fix
Fix an issue where vertex colors in Toolbar didn't work in 4.22.
Changed file is SStaticMeshEditorViewport.cpp.

#jira UE-78897

PR #6121: Editor changes for NVIDIA USD plugin

#rb chris.gagnon
#lockdown nick.penwarden

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: simon.tourangeau
#ROBOMERGE-SOURCE: CL 8042071 in //UE4/Release-4.23/... via CL 8042138
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v400-8057353)

[CL 8058403 by simon tourangeau in Dev-Build branch]
2019-08-15 08:35:47 -04:00
simon tourangeau
5ecedcab2d Path Selection Window
When user selects target path for exporting or saving, we need to refresh content from server. So we add OnPathSelected event to FSharedAssetDialogConfig and SAssetDialog.
Changed files: IContentBrowserSingleton.h, SAssetDialog.h, SAssetDialog.cpp.

GPumpingMessages
When files and folders are deleted or created by user, we want to save these changes to server. So we monitor such changes through IAssetRegistry. But we need to determine whether it�s triggered by user. So we add GPumpingMessages, a global flag indicating that application is processing Windows messages. Which means it�s triggered by user input.
Another possible choice is adding delegates. But this requires more changes and is less general.
Changed files: CoreGlobals.h, CoreGlobals.cpp, WindowsPlatformApplicationMisc.cpp.

Mesh Editor Small Fix
Fix an issue where vertex colors in Toolbar didn't work in 4.22.
Changed file is SStaticMeshEditorViewport.cpp.

#jira UE-78897

PR #6121: Editor changes for NVIDIA USD plugin

#rb chris.gagnon
#lockdown nick.penwarden

#ROBOMERGE-SOURCE: CL 8042071 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v399-8035122)

[CL 8042138 by simon tourangeau in Main branch]
2019-08-14 16:18:58 -04:00
marc audy
a6b5d44ae5 Copying //UE4/Dev-Framework to Dev-Main (//UE4/Dev-Main) [at] 7987668
#rb
#rnx

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 7988574 in //UE4/Main/...
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v399-8035122)

[CL 8039505 by marc audy in Dev-Build branch]
2019-08-14 13:20:31 -04:00
peter sauerbrei
952045d24e addition of MMIO memory tracking with LLM
#rb nope

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: peter.sauerbrei
#ROBOMERGE-SOURCE: CL 7952393 via CL 7952436 via CL 7954433 via CL 7955931 via CL 7956083
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v399-8035122)

[CL 8038504 by peter sauerbrei in Dev-Build branch]
2019-08-14 13:03:33 -04:00
michael trepka
cda0dfb86e Use FString::GetNSString() instead of FPlatformString::TCHARToCFString in Mac ClipboardCopy() as it should be more reliable. Also, handle the case where a string object wasn't created and print a warning to the log instead of crashing.
#rb Matt.Collins
#jira UE-78660

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: michael.trepka
#ROBOMERGE-SOURCE: CL 7951715 in //UE4/Release-4.23/... via CL 7951721
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v399-8035122)

[CL 8036844 by michael trepka in Dev-Build branch]
2019-08-14 12:37:55 -04:00