Commit Graph

57 Commits

Author SHA1 Message Date
Ben Marsh
75fa4e9e6d Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3386108)
#rb none
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3345860 on 2017/03/14 by Daniel.Lamb

	Fixed crash when building DLC

	#test Cook paragon.

Change 3347324 on 2017/03/15 by Gil.Gribb

	UE4 - Removed old code relating to FAsyncArchive, FAsyncIOSubsystemBase and package level compression. The editor now uses the lowest levels on the new async IO scheme.

Change 3347331 on 2017/03/15 by Robert.Manuszewski

	Fix for a crash caused by GC killing BP class (due to no strong references) but its CDO is being kept alive because it was in the same cluster as the class and was not marked as pending kill.

	#jira UE-42732

Change 3347371 on 2017/03/15 by Graeme.Thornton

	Fix for runtime asset cache not invalidating files with an outdated version number

Change 3349161 on 2017/03/16 by Steve.Robb

	Generated UFUNCTION FNames no longer exported.
	Misc refactors of code generation.

Change 3349167 on 2017/03/16 by Steve.Robb

	Unused TBoolConstant removed (the more general TIntegralConstant should be used instead).

Change 3349274 on 2017/03/16 by Gil.Gribb

	UE4 - Fix loading a package that is already loaded.

Change 3349534 on 2017/03/16 by Ben.Marsh

	UBT: Check that the SN-DBS service is running before attempting to use it.

Change 3349612 on 2017/03/16 by Gil.Gribb

	UE4 - Increased estimate of summary size.

Change 3350021 on 2017/03/16 by Gil.Gribb

	UE4 - Fixed crash in signature checks when mounting pak files.

Change 3350052 on 2017/03/16 by Ben.Marsh

	Remove invalid characters from macro names before passing as macro values. Prevents compile errors for projects which have apostrophes in the name.

Change 3350360 on 2017/03/16 by Ben.Marsh

	UAT: Fix non-threadsafe access of ExeToTimeInMs when spawning external processes.

Change 3351670 on 2017/03/17 by Ben.Marsh

	UBT: Ignore all default libraries when creating import libs. Sometimes #pragma comment(lib, ...) directives can add force additional libraries onto the linker/librarian command line. We don't want or need these included when generating import libraries, but they can cause errors due to search paths not being able to find them.

Change 3352289 on 2017/03/17 by Ben.Marsh

	Fix issues working with > 2GB archives caused by truncation of the return value from FArchive::Tell() down to 32-bits.

Change 3352390 on 2017/03/17 by Ben.Marsh

	Remove unused/out of date binaries for CrashReporter.

Change 3352392 on 2017/03/17 by Ben.Marsh

	Remove UnrealDocTool binaries. This is distributed through a Visual Studio plugin now.

Change 3352410 on 2017/03/17 by Ben.Marsh

	Remove P4ChangeReporter. I don't believe this is used any more.

Change 3352450 on 2017/03/17 by Ben.Marsh

	Disable including CrashReporter by default when packaging projects. This is only useful with a CrashReporter backend set up, which only usually applies to Epic internal projects.

Change 3352455 on 2017/03/17 by Ben.Marsh

	Remove RegisterPII and TranslatedWordsCountEstimator executables. Don't believe these are used any more.

Change 3352940 on 2017/03/17 by Wes.Hunt

	Update CRP to not send Slack queue size updates unless the waiting time is greater  than 1 minute.
	#codereview: jin.zhang

Change 3353658 on 2017/03/20 by Steve.Robb

	Fix for crash when importing a BP which has a populated TMap with an enum class key.

Change 3354056 on 2017/03/20 by Steve.Robb

	TAssetPtr<T> can now be constructed from a nullptr without a full definition of T.

Change 3356111 on 2017/03/21 by Graeme.Thornton

	Fix for UE-34131
	 - Support double and fname stat types in UFE stat export to CSV

	#jira UE-34131

Change 3358584 on 2017/03/22 by Daniel.Lamb

	Fixed the garbage collection keep flags when cleaning the sandbox for iterative cooking.

	#test Cook shootergame

Change 3360379 on 2017/03/23 by Gil.Gribb

	UE4 - Avoid adding a linker annotation if it actually hasn't changed. Improves ConditionalBeginDestroy performance.

Change 3360623 on 2017/03/23 by Gil.Gribb

	UE4 - Change from MarcA to avoid a redudnant removal of PrimitiveComponent from the streaming managers during ConditionalBeginDestroy.

Change 3360627 on 2017/03/23 by Gil.Gribb

	UE4 - Optimized UObject hash tables for speed and space.

Change 3361183 on 2017/03/23 by Gil.Gribb

	UE4 - Fixed change to NotifyPrimitiveDetached so that it works in the editor.

Change 3361906 on 2017/03/23 by Steve.Robb

	Fix for a bad hint index when instantiating map property subobjects when the defaults has fewer but non-zero elements.

	#jira UE-43272

Change 3362839 on 2017/03/24 by Gil.Gribb

	UE4 - Fixed hash table lock optimization.

Change 3367348 on 2017/03/28 by Robert.Manuszewski

	Making sure streamed-in SoundWaves get added to GC clusters.

Change 3367386 on 2017/03/28 by Ben.Marsh

	EC: Pass the Semaphores property from a build type as a parameter to new build jobs.

Change 3367422 on 2017/03/28 by Ben.Marsh

	EC: Allow limiting the number of scheduled jobs that will be automatically run at a particular time. Each build type can have a 'Semaphores' property in the branch settings file, which will be copied to newly created jobs. Before scheduling new jobs, EC is queried for the 'Semaphores' property on any running jobs, and build types with existing semaphores will be skipped. Does not prevent jobs from being run manually.

Change 3367469 on 2017/03/28 by Ben.Marsh

	EC: Prevent multiple incremental jobs running at once.

Change 3367640 on 2017/03/28 by Ben.Marsh

	Plugins: Add an optional EngineVersion field back into the plugin descriptor. If set, the engine will warn if the plugin is not compatible with the current engine version. Plugins will set this field by default when packaging; pass -Unversioned to override.

Change 3367836 on 2017/03/28 by Uriel.Doyon

	Improved handled of references in the streaming manager

Change 3369354 on 2017/03/29 by Graeme.Thornton

	Added AES encrypt/decrypt functions that take a byte array for the key

Change 3369804 on 2017/03/29 by Ben.Marsh

	Remove incorrect "EngineVersion" settings from plugin descriptors.

Change 3370462 on 2017/03/29 by Ben.Marsh

	Editor: Install Visual Studio 2017 by default, instead of Visual Studio 2015. Changed to use ExecElevatedProcess() to prevent installer failing to run if the current user is not already an administrator.

	#jira UE-43467

Change 3371598 on 2017/03/30 by Ben.Marsh

	UBT: Fix message for missing toolchain in VS2017.

Change 3372827 on 2017/03/30 by Ben.Marsh

	BuildGraph: Output an error at the end of each step if any previous build products have been modified.

Change 3372947 on 2017/03/30 by Ben.Marsh

	[Merge] Always add the host editor platform as supported in an installed build. Not doing so prevents the build platform being registered in UBT, which prevents doing any platform-specific staging operations in UAT.

Change 3372958 on 2017/03/30 by Ben.Marsh

	[Merge] Simplify log output for cooks. Suppress additional timestamps from the editor when running through UAT.

Change 3372981 on 2017/03/30 by Ben.Marsh

	[Merge] Modular game fixes for UAT

	* Store list of executable names from the receipts instead of generating them from Target/Platform/Config/Architecture combination
	* Get full list of staged executables from receipts instead of assuming only non-code projects are in Engine
	* Always pass short project name as Bootstrap argument, so that modular game exe knows which project to start

Change 3373024 on 2017/03/30 by Ben.Marsh

	[Merge] Add an option to UAT (-CookOutputDir=...) and the cooker (-OutputDir=...) which allows overriding the output directory for cooked files, and fix situations where the directory becomes too deep.

Change 3373041 on 2017/03/30 by Ben.Marsh

	[Merge] Added UAT script to replace assets with another source
	Renamed ReplaceAssetsCommandlet to GenerateAssetsManifest as it now outputs a list of files and has nothing specific about replacing files

Change 3373052 on 2017/03/30 by Ben.Marsh

	[Merge] Changed CopyUsingDistillFileSet command so that it can use a pre-existing manifest file instead of running commandlet

Change 3373092 on 2017/03/30 by Ben.Marsh

	[Merge] Fixed crash attempting to load cooked static mesh in editor

Change 3373112 on 2017/03/30 by Ben.Marsh

	[Merge] Fixed crash caused by loading cooked StaticMesh in editor that didn't have any SourceModels

Change 3373132 on 2017/03/30 by Ben.Marsh

	[Merge] Added Additional Maps that are always cooked to the GenerateDistillFileSetsCommandlet

Change 3373138 on 2017/03/30 by Ben.Marsh

	[Merge] Fixed code issue with playback of cooked SoundCues
	Skip over code using editor only data when editor data has been stripped

Change 3373143 on 2017/03/30 by Ben.Marsh

	[Merge] Fixed crash when attempting to open multiple cooked assets

Change 3373156 on 2017/03/30 by Ben.Marsh

	[Merge] Added commandlet to replace game assets with those from another source (intended for cooked asset replacement)

Change 3373161 on 2017/03/30 by Ben.Marsh

	[Merge] Prevented crash by not attempting to Load Mips again if a package has cooked data

Change 3373168 on 2017/03/30 by Ben.Marsh

	[Merge] Fix output path for DLC pak file, so it can be discovered by the engine and automatically mounted (and to stop it colliding with the main game pak file).

Change 3373204 on 2017/03/30 by Ben.Marsh

	[Merge] Fix crash when switching levels in PIE, due to bulk data already having been discarded for cooked assets. Cooking sets BULKDATA_SingleUse for textures, but PIEing needs to keep bulk data around.

Change 3373209 on 2017/03/30 by Ben.Marsh

	[Merge] Fix missing material in mod editor for cooked assets.

Change 3373388 on 2017/03/30 by Ben.Marsh

	[Merge] Various improvements to the plugin browser and new plugin wizard from Robo Recall.

Change 3374200 on 2017/03/31 by Ben.Marsh

	[Merge] Latest OdinEditor plugin from //Odin/Main, to fix build failures. Re-made change to OdinUnrealEdEngine to remove dependencies on analytics.

Change 3374279 on 2017/03/31 by Ben.Marsh

	PR #3441: Invalid JSON in FeaturePacks (Contributed by projectgheist)

Change 3374331 on 2017/03/31 by Ben.Marsh

	UBT: Disable warning pragmas on Mono; not supported on current compiler.

	#jira UE-43451

Change 3375108 on 2017/03/31 by Ben.Marsh

	Removing another plugin EngineVersion property.

Change 3375126 on 2017/03/31 by Ben.Marsh

	Fix incorrect executable paths being generated for Windows.

Change 3375159 on 2017/03/31 by Graeme.Thornton

	Pak Index Encryption
	 - Added "-encryptindex" option to unrealpak which will encrypt the pak index, making the pak file unreadable without the associated decryption key
	 - Added "-encryptpakindex" option to UAT to force on index encryption
	 - Added "bEncryptPakIndex" setting to project packaging settings so pak encryption can be controlled via the editor

Change 3375197 on 2017/03/31 by Graeme.Thornton

	Enable pak index encryption in shootergame

Change 3375377 on 2017/03/31 by Ben.Marsh

	Add build node to submit updated UnrealPak binaries for Win64, Mac and Linux. Currently has to be run via a custom build on EC, with the target set to "Submit UnrealPak Binaries".

Change 3376418 on 2017/04/03 by Ben.Marsh

	BuildGraph: Always clear the cached node state when running locally without having to manually specify the -ClearHistory argument. The -Resume argument allows the previous behavior of continuing a previous build.

Change 3376447 on 2017/04/03 by Ben.Marsh

	Build: Remove some unused stream settings

Change 3376469 on 2017/04/03 by Ben.Marsh

	Build: Add a customizable field for the script to use for custom builds in every branch.

Change 3376654 on 2017/04/03 by Ben.Marsh

	Add a fatal error message containing the module with an outstanding reference when trying to unload it.

	#jira UE-42423

Change 3376747 on 2017/04/03 by Gil.Gribb

	UE4 - Fixed crash relating to FGenericAsyncReadFileHandle when not using the EDL.

Change 3377173 on 2017/04/03 by Ben.Marsh

	Make sure callstacks are written to stdout following a crash on a background thread.

Change 3377183 on 2017/04/03 by Ben.Marsh

	Removing support for building VS2013 targets. Ability to generate VS2013 project files is still allowed, but unsupported (via the -2013unsupported command line argument).

Change 3377280 on 2017/04/03 by Ben.Marsh

	Build: Post UGS badges for all UE4 development streams, with the project set to $(Branch)/...

Change 3377311 on 2017/04/03 by Ben.Marsh

	Build: Set the 'Semaphores' parameter for any jobs started from a schedule.

Change 3377326 on 2017/04/03 by Ben.Marsh

	UGS: Show badges which match an entire subtree if the project field ends with "...".

Change 3377392 on 2017/04/03 by Ben.Marsh

	Add badges to UE4/Main and UE4/Release streams, and change the names of the builds in development streams to distinguish them.

Change 3377895 on 2017/04/03 by Ben.Marsh

	EC: Send notification emails whenever UAT fails to compile.

Change 3377923 on 2017/04/03 by Ben.Marsh

	Build: Use a different semaphore for the common editors build target to the incremental compile build target.

Change 3378297 on 2017/04/04 by Graeme.Thornton

	Fix incorrect generation of UE_ENGINE_DIRECTORY in UBT

Change 3378301 on 2017/04/04 by Ben.Marsh

	UBT: Try enabling bAdaptiveUnityDisablesPCH by default, to reduce the number of build failures we see due to missing includes.

Change 3378460 on 2017/04/04 by Graeme.Thornton

	Remove dependency preloading system from sync and async loading paths

Change 3378535 on 2017/04/04 by Robert.Manuszewski

	Fix for audio crash when launching Ocean PIE after removing the audio chunk allocation in CL #3347324

	#jira UE-43544

Change 3378575 on 2017/04/04 by Robert.Manuszewski

	Making sure actor clusters are not created in non-cooked builds

	#jira UE-43617
	#jira UE-43614

Change 3378589 on 2017/04/04 by Robert.Manuszewski

	Disabling debug GC cluster logging

	#jira UE-43617

Change 3379118 on 2017/04/04 by Robert.Manuszewski

	Disabling actor clustering by default, keeping it on in Orion and Ocean

Change 3379815 on 2017/04/04 by Ben.Marsh

	Revert change to derive executable names from target receipts. While a better solution than making them up, Android relies on having the base executable names for supporting multiple architectures.

Change 3380811 on 2017/04/05 by Gil.Gribb

	UE4 - Put the special boot order things into baseengine.ini so that licensees and games can add to it.

Change 3383313 on 2017/04/06 by Uriel.Doyon

	Integrated CL 3372436 3372765 3373272 from Dev-Rendering
	#JIRA UE-43669

Change 3383531 on 2017/04/06 by Ben.Marsh

	UGS: Ignore failures when querying whether paths exist. Permissions can cause this folder to fail, even if it will succeed at a parent directory.

Change 3383786 on 2017/04/06 by Ben.Zeigler

	Back out changelist 3382694 and replace with CL #3383757 from bob.tellez:
	Fix memory stomping issue caused by removing a FFortProfileSynchronizeRequest from SynchronizeRequests in UFortRegisteredPlayerInfo::UpdateSynchronizeRequest before SynchronizeProfile had finished executing

Change 3385089 on 2017/04/07 by Gil.Gribb

	UE4 - Critical. Fixed memory leak in pak precacher.

[CL 3386123 by Ben Marsh in Main branch]
2017-04-10 11:00:33 -04:00
Jack Porter
ae727f8dab Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3383462)
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3292174 on 2017/02/08 by Nick.Shin

	HTML5 emscripten: wasm and webgl2 support

	- Linux toolchain

	#jira UEPLAT-1437  Switch [to] web assembly

Change 3292193 on 2017/02/08 by Nick.Shin

	HTML5 emscripten: wasm and webgl2 support

	- ThirdParty libs compiled with new toolchain with wasm support

	#jira UEPLAT-1437  Switch [to] web assembly

Change 3292215 on 2017/02/08 by Nick.Shin

	HTML5 emscripten: wasm and wbegl2 support

	- emscripten toolchain

	#jira UEPLAT-1437  Switch [to] web assembly

Change 3292222 on 2017/02/08 by Nick.Shin

	HTML5 emscripten: wasm support

	- ENGINE changes (c# & cpp files)

	#jira UEPLAT-1437  Switch [to] web assembly

Change 3292223 on 2017/02/08 by Nick.Shin

	HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile

Change 3292228 on 2017/02/08 by Nick.Shin

	HTML5 emscripten: webgl support

	- webgl patches
	- and a lot of UE4 patches to package HTML5 on LINUX
	- mostly from mozilla's jukka -- thx jukka!

	#jira  UEPLAT-828  (4.16)  Support ES3 / WebGL2 in HTML5

Change 3292285 on 2017/02/08 by Nick.Shin

	HTML5 emscripten: wasm and webgl2 support

	- Windows toolchain

	#jira UEPLAT-1437  Switch [to] web assembly

Change 3293994 on 2017/02/09 by Nick.Shin

	HTML5 emscripten: wasm and webgl2 support

	- OSX toolchain

	#jira UEPLAT-1437  Switch [to] web assembly

Change 3294391 on 2017/02/09 by Nick.Shin

	HTML5 "black box issues" revisited

	- jukka rewrote the window resize handler -- much cleaner and more straightforward

	#jira UE-36341  HTML5 - View is incorrectly drawn
	#jira UE-32311  Templates on Firefox/Chrome on HTML5 are not full screen during Launch On

Change 3296421 on 2017/02/10 by Jack.Porter

	Fix landscape spline segment splitting placing when using streaming levels

Change 3296587 on 2017/02/10 by Jack.Porter

	Additional fix for landscape spline segment splitting when using streaming levels

Change 3301241 on 2017/02/14 by Mi.Wang

	Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter

Change 3301387 on 2017/02/14 by Nick.Shin

	HTML5 emscripten: webgl support

	- webgl patches from mozilla's jukka
	  + hardware instancing
	  + glBlitFramebuffer
	  + GL AlaphaBlendOperation

	#jira  UEPLAT-828  (4.16)  Support ES3 / WebGL2 in HTML5

Change 3301405 on 2017/02/14 by Nick.Shin

	HTML5 plugin fix when blueprint projects are promoted to code projects automatically.

	#jira UE-41710  HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc

Change 3302278 on 2017/02/14 by Omar.Rodriguez

	UE-36651: Mac Vulkan Android Projects crash on launch.

	* Glslang library has been built for Mac but flag was not updated
	* Set GlslangAvailable to true for Mac when building an Android project with vulkan

	#jira UE-36651

Change 3302773 on 2017/02/14 by Chris.Babcock

	Add a dropdown with some common console commands on Android (contributed by rafortis)
	#jira UE-40834
	#PR #3143
	#ue4
	#android

Change 3305604 on 2017/02/16 by Nick.Shin

	HTML5 webgl2 shader- turn on: instance static mesh vertex factory

	#jira  UEPLAT-828  (4.16)  Support ES3 / WebGL2 in HTML5

Change 3308154 on 2017/02/16 by Nick.Shin

	HTML5 GitHub PR

	#jira UE-42019  GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5

Change 3308510 on 2017/02/16 by Nick.Shin

	HTML5 webgl2 shader fixes

	#jria UEMOB-201  Support ES3 / WebGL2 in HTML5

Change 3308971 on 2017/02/17 by Jack.Porter

	Fix for landscape painting when height<0 in the Ortho viewports

Change 3309075 on 2017/02/17 by Allan.Bentham

	Include static subject meshes when masking out modulated shadow casters.

	#jira UE-41581

Change 3309531 on 2017/02/17 by Chris.Babcock

	Handle large OBB files in APK
	#jira UE-41443
	#ue4
	#android

Change 3311320 on 2017/02/19 by Dmitriy.Dyomin

	Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU)
	#jira UE-41970

Change 3311347 on 2017/02/20 by Dmitriy.Dyomin

	Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil)
	#jira UE-41976

Change 3311398 on 2017/02/20 by Dmitriy.Dyomin

	Fixed: Landscapes do not render on PowerVR device
	#jira UE-35530

Change 3311428 on 2017/02/20 by Dmitriy.Dyomin

	Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes
	#jira UE-42036

Change 3311448 on 2017/02/20 by Dmitriy.Dyomin

	Fixed: Packaged game Crashes on android after entering "Help" command twice
	#jira UE-41956

Change 3311587 on 2017/02/20 by Allan.Bentham

	ES2 GLSL - Silently swap all uint to ints
	#jira UE-41548

Change 3313930 on 2017/02/21 by Allan.Bentham

	Print literal uints as ints when generating ES2 code.
	#jira UE-41548

Change 3317924 on 2017/02/22 by Nick.Shin

	HTML5 emscripten: wasm & webgl2 support - RC1

	- Linux toolchain

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

Change 3317929 on 2017/02/22 by Nick.Shin

	HTML5 emscripten: wasm & webgl2 support - RC1

	- ThirdParty libs compiled with new toolchain with wasm and webgl2 support

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

Change 3317951 on 2017/02/22 by Nick.Shin

	HTML5 emscripten: wasm & webgl2 support - RC1

	- emscripten toolchain

	WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

Change 3318004 on 2017/02/22 by Nick.Shin

	HTML5 emscripten: wasm & webgl2 support - RC1

	- windows toolchain

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

Change 3318669 on 2017/02/23 by Nick.Shin

	HTML5 emscripten: wasm & webgl2 support - RC1

	- OSX toolchain

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

Change 3318672 on 2017/02/23 by Nick.Shin

	HTML5 webgl2 shader fixes

	#jria UEMOB-201  Support ES3 / WebGL2 in HTML5

Change 3318819 on 2017/02/23 by Dmitriy.Dyomin

	Fixed: Rendering artifacts with bloom on iPhone7 Metal
	#jira UE-40978

Change 3319702 on 2017/02/23 by Chris.Babcock

	Disable eglSwapInterval since it can cause issues with some drivers
	#ue4
	#android

Change 3320880 on 2017/02/24 by Dmitriy.Dyomin

	Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default)
	#jira UEMOB-195

Change 3321042 on 2017/02/24 by Jack.Porter

	Fixed incorrect sizeof in Vulkan pipleine cache
	pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/

	#code_review: rolando.caloca

Change 3322383 on 2017/02/24 by Chris.Babcock

	Fix issue with ad banner on Android 7.0 devices
	#jira UE-42390
	#ue4
	#android

Change 3322479 on 2017/02/24 by Omar.Rodriguez

	UEMOB-199 - WEX: Improved virtual keyboard for Android

	* Calculating the area covered by the virtual keyboard
	* Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events
	* Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event

	#jira UEMOB-199

Change 3323353 on 2017/02/27 by Allan.Bentham

	Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis
	#jira UE-42191

Change 3323431 on 2017/02/27 by Allan.Bentham

	CIS fix

Change 3323687 on 2017/02/27 by Allan.Bentham

	Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices.
	#jira UE-42131

Change 3324652 on 2017/02/28 by Dmitriy.Dyomin

	Fixed: Canvas elements appear darker on iOS Metal

Change 3324885 on 2017/02/28 by Jack.Porter

	Fixed "Minimum iOS Version" setting display name

	#jira UE-42270

Change 3324899 on 2017/02/28 by Jack.Porter

	GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini
	#jira UE-40018

	#3063

Change 3324932 on 2017/02/28 by Jack.Porter

	GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows

	#jira UE-41984
	#3257
	#codereview: Peter.Sauerbrei

Change 3324956 on 2017/02/28 by Jack.Porter

	FOpenGLFrontend::GetMaxSamplers incorrect for IOS
	#jira UE-42038
	#3264

Change 3325478 on 2017/02/28 by Allan.Bentham

	PR # 3188   : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview  (Contributed by ufna)

	#jira UE-41442

Change 3327300 on 2017/03/01 by Allan.Bentham

	PR #3175   : Fixes high quality reflection blending seams  (Contributed by kallehamalainen)
	#jira UE-41257

Change 3328917 on 2017/03/02 by Nick.Shin

	HTML5 project settings

	expose ini settings to edtior HTML5 project settings panel

	#jira UE-42331  Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
	#jira UE-41584  Editor locks up when adding an element for HTML5 devices on Mac
	#jira UE-41701  Editor freezes when setting browser filepath for inserted element in project settings

Change 3329169 on 2017/03/02 by Allan.Bentham

	increase render thread timeout to 1 minute for suntemple / android.
	Prevents low end devices timing out during load.
	#jira UE-40696

Change 3330849 on 2017/03/02 by Nick.Shin

	HTML5 project settings

	expose ini settings to edtior HTML5 project settings panel

	#jira UE-42331  Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini

Change 3331078 on 2017/03/03 by Dmitriy.Dyomin

	Fixed: Device output log partial lines

	integrated from WEX (3250488)

Change 3331112 on 2017/03/03 by Dmitriy.Dyomin

	Reduced state setup for slate draw calls (saves about 4ms RT time on mobile)

	integrated from WEX (3256584)

Change 3331117 on 2017/03/03 by Dmitriy.Dyomin

	Fixed redundant blend state changes in opengl

	integrated from WEX (3256586)

Change 3331173 on 2017/03/03 by Dmitriy.Dyomin

	Slate pixel shaders will use half precision where possible on mobile

	integrated from WEX (3256656)

Change 3332865 on 2017/03/06 by Dmitriy.Dyomin

	Better MobileContentScaleFactor defaults for iOS devices
	#jira UEMOB-330

Change 3333129 on 2017/03/06 by Peter.Sauerbrei

	move to Library/Caches instead of documents for saved files
	re-enable iterative deploy on TVOS
	#jira UEMOB-284

Change 3334692 on 2017/03/06 by Jack.Porter

	Allow r.MobileContentScaleFactor to be changed at runtime on Android

	#jira UEMOB-173

Change 3336255 on 2017/03/07 by Nick.Shin

	HTML5 project settings

	marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...

	#jira UE-42331  Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini

Change 3337094 on 2017/03/08 by Nick.Shin

	HTML5 project settings

	marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...

	#jira UE-42331  Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini

Change 3338800 on 2017/03/08 by Chris.Babcock

	Update AAR handling to deal with versioning, subproject dependencies for resources, and scope
	#jira UE-42677
	#ue4
	#android

Change 3338813 on 2017/03/08 by Chris.Babcock

	Pass build configuration to UPL for access during packaging as $S(Configuration)
	#jira UE-42678
	#ue4
	#android
	#ios

Change 3339401 on 2017/03/09 by Alicia.Cano

	Android runtime permissions
	- Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds
	- Fix for Location Services
	- Fix for if target sdk is not set to 23+
	#jira UE-38512
	#android
	#rb: chris.babcock

Change 3340736 on 2017/03/09 by Chris.Babcock

	Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing)
	#jira UE-41965
	#PR #3254
	#ue4
	#android

Change 3340744 on 2017/03/09 by Jack.Porter

	Expose Custom Depth to Foliage
	#jira UE-6061

Change 3340849 on 2017/03/09 by Dmitriy.Dyomin

	Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s.
	#jira UE-42351

Change 3341268 on 2017/03/10 by Alicia.Cano

	PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm)
	#jira UE-37945
	#android
	#rb: chris.babcock, jack.porter

Change 3341303 on 2017/03/10 by Allan.Bentham

	Remove optimisation that prevents full specular occulsion on mobile.
	PR #3186  : Specular can't be blocked on high-end mobile.
	#jira UE-41393

Change 3342304 on 2017/03/10 by Alicia.Cano

	build fix
	#rb: chris.babcock

Change 3343344 on 2017/03/13 by Alicia.Cano

	build fix
	#rb: chris.babcock

Change 3343591 on 2017/03/13 by Brent.Pease

	iOS multiplayer fix part 1. Correct byte ordering.

	#jira UE-34875

Change 3343669 on 2017/03/13 by Chris.Babcock

	Update carefullyredist script version
	#jira UE-42832

Change 3344212 on 2017/03/13 by Will.Fissler

	Various compile fixes for Xcode 8.3.
	These fixes must also be added to //UE4/Release-4.15.
	#jira UE-41313

Change 3344396 on 2017/03/13 by Chris.Babcock

	Fix Java 1.5 obsolete warnings
	#jira UE-42851
	#ue4
	#android

Change 3345132 on 2017/03/14 by Will.Fissler

	Added ifdef wrapper to check clang version for presentDrawable.

Change 3345336 on 2017/03/14 by Will.Fissler

	Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method.

Change 3345460 on 2017/03/14 by Will.Fissler

	ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none

Change 3346046 on 2017/03/14 by Will.Fissler

	Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging.

Change 3346367 on 2017/03/14 by Chris.Babcock

	Fix issue with GoogleVR ARMv7 libraries included for other architectures in link
	#ue4
	#android

Change 3347682 on 2017/03/15 by Allan.Bentham

	Enable HW sRGB correction with retainer widget's render target.
	Use slate's gamma correction for mobile (where no such support exists)
	Render retainer box RT content with gamma correction.
	#jira UE-40967

Change 3348712 on 2017/03/15 by Nick.Shin

	HTML5 - upload to S3

	updated to AWS "signature version 4" authentication

	#jira UE-42525  HTML5 Upload to Amazon S3 fails with Incorrect Configuration error

Change 3349254 on 2017/03/16 by Jack.Porter

	Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled.
	#jira UE-42971

Change 3349739 on 2017/03/16 by Nick.Shin

	HTML5 - upload to S3

	better error message feedback on upload failures

	#jira UE-42525  HTML5 Upload to Amazon S3 fails with Incorrect Configuration error

Change 3349765 on 2017/03/16 by Alicia.Cano

	Disable mouseover events in Mobile Previewer

	#jira UE-19903
	#mobile
	#rb: Jack.Porter

Change 3350049 on 2017/03/16 by Nick.Shin

	HTML5 - upload to S3

	folder in bucket is optional

	#jira UE-42525  HTML5 Upload to Amazon S3 fails with Incorrect Configuration error

Change 3350153 on 2017/03/16 by Nick.Shin

	HTML5 - upload to S3

	updated S3 public link generator

	#jira UE-42525  HTML5 Upload to Amazon S3 fails with Incorrect Configuration error

Change 3351582 on 2017/03/17 by Will.Fissler

	Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9";

	Currently we cannot build arm64 for iOS with this change.

Change 3352085 on 2017/03/17 by Alicia.Cano

	iOS doesn't honor request to close the virtual keyboard leading to a crash
	#jira UE-36447
	#ios
	#rb:Peter.Sauerbrei

Change 3353313 on 2017/03/19 by Ben.Marsh

	Always allow large *.js files in Github.

Change 3354444 on 2017/03/20 by Nick.Shin

	HTML5 - upload to S3

	to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set

	#jira UE-42525  HTML5 Upload to Amazon S3 fails with Incorrect Configuration error

Change 3355618 on 2017/03/20 by Nick.Shin

	HTML5 Save Game System

	- ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp
	- cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version)
	- created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code

	#jira UE-42081 Remove heinous HTML5 code from engine

Change 3355621 on 2017/03/20 by Nick.Shin

	remove temp debugging code

	#jira UE-42081 Remove heinous HTML5 code from engine

Change 3356937 on 2017/03/21 by Chris.Babcock

	Add "stat vulkanrhi" to new console dropdown
	#jira UE-43149
	#ue4
	#android

Change 3357652 on 2017/03/21 by Nick.Shin

	HTML5 performance speed ups

	added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate)
	- this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel

	this option is based on the suggestions by jukka's post:
	- https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html

	however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden...

	#jira UE-30214 - Implement a warning message for fps settings

Change 3360415 on 2017/03/23 by Allan.Bentham

	Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes.

Change 3360418 on 2017/03/23 by Allan.Bentham

	Disable filmic tonemapper if r.MobileHDR32bppMode is in use.
	#jira UE-40913

Change 3360557 on 2017/03/23 by Allan.Bentham

	Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview.
	#jira UE-42131

Change 3362258 on 2017/03/23 by Dmitriy.Dyomin

	Fixed: Canvas texture element gamma issues on iOS Metal

Change 3362321 on 2017/03/24 by Dmitriy.Dyomin

	GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen)

	#3173

Change 3363550 on 2017/03/24 by Alicia.Cano

	build fix for devices < Android 5.0
	#jira UE-43299
	#android
	#rb: chris.babcock

Change 3363687 on 2017/03/24 by Chris.Babcock

	Fix Android password hiding in input dialog
	#jira WEX-5159
	#ue4
	#android

Change 3365280 on 2017/03/27 by Dmitriy.Dyomin

	Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension

Change 3365291 on 2017/03/27 by Dmitriy.Dyomin

	Copied form WEX CL# 3308653
	Fixed: Enabling shader cache causes crash on NVIDIA Shield

	#jira UE-41639

Change 3365293 on 2017/03/27 by Dmitriy.Dyomin

	GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik)
	#jira UE-43247
	#3411

Change 3365340 on 2017/03/27 by Dmitriy.Dyomin

	Fixed: Moving sublevel in world composition browser does not appear in Undo History
	#jira UE-35535

Change 3365564 on 2017/03/27 by Allan.Bentham

	SkyLightComponent now serializes IrradianceMap SH values.
	clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures.
	Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt.
	#jira UE-42436

Change 3366282 on 2017/03/27 by Nick.Shin

	remove dead links

	these files to not exist anywhere in the make-3.81 subfolders

	#UDN-354501
	#jira none

Change 3366306 on 2017/03/27 by Nick.Shin

	HTML5 - disable multi-threading for wasm

	#jira UE-43219 - HTML5 disable multi-threading for wasm

Change 3366307 on 2017/03/27 by Nick.Shin

	HTML5 packaging Shipping builds

	big cleanup / additions to *gz file support for amazon s3

	* both, uploading to s3
	* and allowing s3 to host the games there

	#jira UE-43002 HTML5 in Shipping fails downloading symbols files
	#jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected.

Change 3367385 on 2017/03/28 by Allan.Bentham

	Display skylight serialization warning only when cooking for mobile platforms.
	#jira UE-42436

Change 3368583 on 2017/03/28 by Chris.Babcock

	Expose JAVA_HOME setting in Android SDK project settings on Mac
	#jira UE-43418
	#ue4
	#android

Change 3368803 on 2017/03/28 by Chris.Babcock

	Fix features requested in manifest for "Daydream and Cardboard" mode
	#jira UE-43314
	#ue4
	#android

Change 3369087 on 2017/03/28 by Jack.Porter

	Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP
	#jira UE-42438

Change 3369372 on 2017/03/29 by Allan.Bentham

	Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled.
	#jira UE-43366

Change 3369381 on 2017/03/29 by Jack.Porter

	Show warnings when mobile shader permutations required for rendering are disbaled
	Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering.
	#jira UE-43050

Change 3369430 on 2017/03/29 by Allan.Bentham

	fix CIS build

Change 3369740 on 2017/03/29 by Allan.Bentham

	Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility)
	Android links with -gc-sections to remove unused code/data
	Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro.
	Add support for map file generation with android.
	Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig()
	bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini

	#jira UEMOB-168

Change 3369975 on 2017/03/29 by Nick.Shin

	HTML5 - AWS S3 shareable link for shipping builds corrected

	#jira UE-43379 Amazon S3 Shareable link does not generate correct filepath.

Change 3369998 on 2017/03/29 by Nick.Shin

	HTML5 python build scripts

	PR:
	1cb836d43c

	#jira none

Change 3370214 on 2017/03/29 by Nick.Shin

	HTML5 - default bUseFixedTimeStep to false...

	#jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms

Change 3370762 on 2017/03/29 by Chris.Babcock

	Fixes to new keyboard for Android
	- Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference.
	- Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets.
	#ue4
	#android

Change 3371344 on 2017/03/30 by Jack.Porter

	Fixed issue where Vulkan screenshot R/B channels were reversed on Android
	#jira UE-43479

Change 3372926 on 2017/03/30 by Peter.Sauerbrei

	start the process of sunsetting 32-bit and GLES2 on iOS
	#jira UE-42266

Change 3372970 on 2017/03/30 by Nick.Shin

	HTML5 - 1.37.9 emscripten: wasm & webgl2 support

	- windows toolchain

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

	#rn

Change 3372989 on 2017/03/30 by Peter.Sauerbrei

	fix for Xcode 8.3 build with 32-bit

Change 3373007 on 2017/03/30 by Peter.Sauerbrei

	fix for crash when online subsystem is disabled on IOS

Change 3373108 on 2017/03/30 by Nick.Shin

	HTML5 - 1.37.9 emscripten: wasm & webgl2 support

	- emscripten toolchain

	WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

	#rn

Change 3373163 on 2017/03/30 by Nick.Shin

	HTML5 - 1.37.9 emscripten: wasm & webgl2 support

	- OSX toolchain

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

	#rn

Change 3373169 on 2017/03/30 by Nick.Shin

	HTML5 - 1.37.9 emscripten: wasm & webgl2 support

	license file updated

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

	#rnx

Change 3373287 on 2017/03/30 by Nick.Shin

	HTML5 - 1.36.11 emscripten - remove old SDK

	#jira none

	#rnx

Change 3373289 on 2017/03/30 by Nick.Shin

	HTML5 - 1.37.9 emscripten: wasm & webgl2 support

	- Linux toolchain

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

	#rn

Change 3373595 on 2017/03/30 by Chris.Babcock

	Reenable GooglePlay for ARM64 now that it doesn't crash
	#jira UE-36198
	#ue4
	#android

Change 3373606 on 2017/03/30 by Chris.Babcock

	Submitting Allan's shelved EXT_shader_framebuffer_fetch fix
	#ue4
	#android

Change 3375456 on 2017/03/31 by Chris.Babcock

	Add missing keycodes for Android keyboard (@ and #)
	#jira WEX-5777
	#ue4
	#android

Change 3376309 on 2017/04/03 by Allan.Bentham

	Fix overflow issues with mobile DoF.

Change 3377041 on 2017/04/03 by Will.Fissler

	Adding Testbed content for PlatformShowcase.

Change 3377582 on 2017/04/03 by Alicia.Cano

	adding back in GET_ACCOUNTS permission as it is required for Reset Achievements

	#jira: UE-43265
	#android
	#rb: Chris.Babcock

Change 3377643 on 2017/04/03 by Peter.Sauerbrei

	fix for memory leak in MallocBinned
	#jira UE-43008

Change 3378033 on 2017/04/04 by Nick.Shin

	HTML5 - 1.37.9 emscripten: wasm & webgl2 support

	- ThirdParty libs compiled with new toolchain with wasm and webgl2 support

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

	#rn

Change 3378034 on 2017/04/04 by Nick.Shin

	HTML5 - 1.37.9 emscripten: wasm & webgl2 support

	- ThirdParty build scripts

	#jira UEMOB-263  Switch [to] web assembly
	#jira UEMOB-201  Support ES3 / WebGL2 in HTML5

Change 3378035 on 2017/04/04 by Nick.Shin

	HTML5 - Update GameX template to make it work with trunk Emscripten

	PR
	dc2b26f452 (commitcomment-21454978)

	#jira none

	#rn

Change 3378044 on 2017/04/04 by Nick.Shin

	HTML5 harfbuzz - double checking recompiled with NO multithreading

	wasm currently does not support pthreads

	*** THIS IS STILL WIP ***
	checking in to match 3rd party libs compiled configuration

	#jira UE-28588 - Build HarfBuzz for HTML5

	#rnx

Change 3378264 on 2017/04/04 by Allan.Bentham

	Fix crash when using consolas font on android sdk 24
	#jira UE-43464

Change 3379097 on 2017/04/04 by Nick.Shin

	CIS HTML5 build warning fix

	#jria none

	#rnx

Change 3379333 on 2017/04/04 by Chris.Babcock

	Prevent inserting extra permissions into manifest multiple times
	#jira UE-43583
	#ue4
	#android

Change 3380870 on 2017/04/05 by Chris.Babcock

	Fix merge issue

Change 3380898 on 2017/04/05 by Chris.Babcock

	Fixed again

Change 3381443 on 2017/04/05 by Chris.Babcock

	Fix for GearVR non-unity build
	#ue4
	#android

Change 3381941 on 2017/04/05 by Chris.Babcock

	Fix HTTPChunkInstaller texture format checks and missing #define warning
	#jira UE-43706
	#ue4
	#android

Change 3382056 on 2017/04/05 by Chris.Babcock

	Updates to Android AARs needed for Facebook plugin

Change 3382097 on 2017/04/05 by Chris.Babcock

	Disable java console cmd receiver only in shipping builds
	#jira UE-43710
	#ue4
	#android

Change 3382497 on 2017/04/06 by Allan.Bentham

	Fix Fortnite Cooked Server crashes when joining game from lobby.
	#jira UE-43695

Change 3383227 on 2017/04/06 by Will.Fissler

	Reverted case sensitive change, from yesterday, and implemented a pragma instead.

	#jira UE-41313

[CL 3383473 by Jack Porter in Main branch]
2017-04-06 16:13:17 -04:00
Dan Oconnor
e29126385f Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3380068)
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3358702 on 2017/03/22 by Marc.Audy

	Always mark child actors pending kill when in PostLoad as often the World is too early to have a WorldContext which causes issues in DestroyActor
	#jira UE-42679

Change 3358737 on 2017/03/22 by Mieszko.Zielinski

	Exposed UBrainComponent::IsRunning() and UBrainComponent::IsPaused() to Blueprint #UE4

Change 3359062 on 2017/03/22 by Michael.Noland

	Blueprints: Show the Save and Find in CB buttons when working with level script blueprints (they will save/show the map package)

	#jira UE-30748

Change 3359066 on 2017/03/22 by Michael.Noland

	PR #3348: Make fields of FAttributeMetaData editable (Contributed by hoelzl)

	#jira UE-42620

Change 3359069 on 2017/03/22 by Michael.Noland

	PR #3288: InverseLerp Blueprint Tooltips Clarification (Contributed by wunawuna)

	#jira UE-42250

Change 3359108 on 2017/03/22 by Michael.Noland

	Blueprints: Fix an issue where running the editor in a different culture could break pins on nodes that have optional arrays of pins (e.g., animation graph nodes like blend by layer)
	#jira UE-36232

Change 3359235 on 2017/03/22 by Marc.Audy

	Expose bShouldPerformFullTickWhenPaused to blueprints and details panel
	#jira UE-17286

Change 3359324 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Disable collision on NavModifierVolumes. Previously they had an OverlapAll response and generated overlap events. They are only supposed to be used for preventing nav mesh generation, but overlap events could affect gameplay, and also are bad for performance.

	(Integrate CL 3249525 from Odin).

Change 3359326 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Optimization during attachment to check bool before expensive casts and body instance fetching.

	(Integrate CL 3261262 from Odin).

Change 3359327 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Make bSkipAgentHeightCheckWhenPickingNavData actually ignore height when picking data.

	(Integrate CL 3231908 from Odin)

Change 3359328 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Make a static FName in UMovementComponent::OverlapTest const and move it to a namespace.

	(Integrate CL 3259985 from Odin)

Change 3359329 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Fix ProjectileMovementComponent continuing to simulate (and generate hit events) after it is deactivated during simulation. HasStoppedSimulation() should check if bIsActive is false.

	(Integrate CL 3260001 from Odin)

Change 3359330 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Fix accumulated forces in CharacterMovement when movement mode or activation changes.

	- Added CharacterMovementComponent::ClearAccumulatedForces()
	- AddForce() and related functions now avoid adding the force if in MovementMode "None". When ticking in "None", forces are cleared so they don't pile up until the next valid movement mode. Forces are also cleared if the updated component changes or when the capsule simulates physics.
	- CharacterMovementComponent::Deactivate() implemented to stop movement and call ClearAccumulatedForces().
	- ClearAccumulatedForces() now also clears pending launch velocity.
	- Exposed ClearAccumulatedForces() to blueprints.
	- AddForce() and AddImpulse() now also check that character movement is active (not deactivated, able to tick).
	- ApplyAccumulatedForces() does not call ClearAccumulatedForces(), since that would prevent pending launch.
	- SimulateMovement() handles pending launch and clears forces regardless of whether it's simulated proxy. Added note to investigate using ApplyAccumulatedForces() in SimulateMovement().
	- Inlined ActorComponent::IsActive().

	(Integrate CLs 3259933, 3266018 from Odin)

Change 3359338 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) TickCharacterPose() and clear root motion before abandoning tick in UCharacterMovementComponent::PerformMovement() when movement mode is None. Prevents root motion building up until next valid movement mode.

	(Integrate CL 3271928 from Odin)

Change 3359345 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Fix characters sliding when landing on slanted surfaces or stairs, when aggressive "Perch" settings could cause a line trace (from the center of a capsule) instead of capsule trace and thereby screw up the floor distance checks.

	(Integrate CL 3273026 from Odin)

Change 3359381 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Performance tweak to ApplyRadialDamageWithFalloff(). Don't rebuild FRadialDamageEvent each loop over hit actors. Added stats for BreakHitResult()/MakeHitResult() under "stat game".

	(Integrate CLs 3275415, 3276810 from Odin).

Change 3359422 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Fix build (CollisionProfile included).

Change 3359442 on 2017/03/22 by Michael.Noland

	Blueprints: Prevent comment boxes from clipping the last letter of some words at the edge by increasing the padding on the wrap-at position

Change 3359445 on 2017/03/22 by Michael.Noland

	PR #2989: Improved BP comment nodes (Contributed by projectgheist)

	#jira UE-36788
	#jira UE-39118

Change 3359446 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Add support for FScopedMovementUpdate to be able to queue up overlaps that do not require reflexive bGenerateOverlapEvents. This allows custom inspection or processing of overlaps within a scoped move. Overlap events from the move will still only trigger in UpdateOverlaps() if bGenerateOverlapEvents is enabled on both components, as before.

	(Integrate CL 3278307 from Odin)

Change 3359494 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Make some data in FScopedMovementUpdate protected rather than private so it can easily be subclassed, and expose a new helper SetWorldLocationAndRotation().

	(Integrated CL 3280775 from Odin).

Change 3359506 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) MovementComponent::Deactivate() calls StopMovement() to clear cached velocity. It's silly that reactivation many seconds or frames later would restore that velocity. Some special handling in CharacterMovement to keep it acting as before (it cleared velocity, but did not clear the path request, leaving that alone).

	(Integrate CL 3287026 from Odin).

Change 3359514 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Collision.ListComponentsWithResponseToProfile command includes pending kill objects.

	(Integrate CL 3293322 from Odin)

Change 3359553 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Optimization in CharacterMovement tick to not extract transform values twice.

	(Integrate CL 3299098 from Odin).

Change 3359554 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Perf: optimize UKismetMathLibrary::GetForwardVector() (converts Rotator to forward direction). This way we avoid building a matrix, and avoids 1 more SinCos call.

	(Integrate CL 3296254 from Odin).

Change 3359555 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Add OnComponentCollisionSettingsChangedEvent delegate to PrimitiveComponent. Fixed SkeletalMeshComponent not calling Super implementation.

	(Integrate CL 3295744 from Odin)

Change 3359561 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Perf: AActor::GetComponents() with generic type should *not* assume the output array needs space for the entire contents of OwnedComponents. If OwnedComponents.Num() > the array reserve size, this forces an allocation, even if few or no components of the requested type are found.

	(Integrate CL 3299111 from Odin)

Change 3359573 on 2017/03/22 by dan.reynolds

	Added BP log to the Passive Mix Modifier test platform BP

Change 3359593 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Perf: avoid allocations during creation in AAIController::PostInitializeComponents() (in development builds).

	(Integrate CL 3299118 from Odin)

Change 3359595 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Perf: HasActiveCameraComponent() and HasActivePawnControlCameraComponent() don't need to fill in an array while searching for a certain component. Also see CL 3359561, which could cause each of these functions to always cause an allocation when filling in the array when num components > 24.

	(Integrate CL 3299116 from Odin)

Change 3359602 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Clean up some of the new fast overlap code in PrimitiveComponent. Mostly some variable renaming, and CVar access optimization.

	(Integrate CL 3340622 from Odin)

Change 3359616 on 2017/03/22 by Zak.Middleton

	#ue4 - (Merge) Added support for bIgnoreTouches to FCollisionQueryParams. MoveComponent uses this to avoid PhysX collision queries for overlaps in GeomSweepMulti when bGenerateOverlapEvents is off.

	(Integrate CL 3340635 from Odin)

Change 3359864 on 2017/03/23 by Mieszko.Zielinski

	Added a safeguard to prevent crashes resulting from people trying to name their BB keys things longer than 1024 characters #UE4

	#jira UE-43120

Change 3360884 on 2017/03/23 by Zak.Middleton

	#ue4 - (Merge) Audio: AUDIO_MIXER_ENABLE_DEBUG_MODE turned off in Test builds. Shipping already had it off.

	(Integrate CL 3310724 from Odin)

Change 3361045 on 2017/03/23 by Zak.Middleton

	#ue4 - (Merge) Audio: new cvars to help with optimization:

	- au.DisableReverbSubmix
	- au.DisableEQSubmix
	- au.DisableParallelSourceProcessing
	- au.SetAudioChannelCount

	Also checked in some code to cut down on the amount of parameter setting in EQ

	(Integrate of CL 3303165 in Odin by Aaron.Mcleran)

Change 3361172 on 2017/03/23 by Zak.Middleton

	#ue4 - (Merge) Audio: added stat for HRTF.

	(Integrate CL 3310728 from Odin)

Change 3361189 on 2017/03/23 by Zak.Middleton

	#ue4 - (Merge) CVar to toggle HRTF for perf settings. Default is on.

	(Integrate CL 3310926 from Odin).

Change 3361914 on 2017/03/23 by Aaron.McLeran

	UE-42649 Fixing crash in cleaning up active sound in sound concurrency

	-Handling edge case of an active sound not have a sound base ptr, which is possible.

Change 3361924 on 2017/03/23 by Aaron.McLeran

	UE-41378 Fixing passive mix modifier bug

Change 3361978 on 2017/03/23 by Aaron.McLeran

	UE-42627 Fix for when audio device is removed and getting a deadlock in computing audio clock

Change 3361989 on 2017/03/23 by Aaron.McLeran

	PR #3010: Check for null GEngine on sound processing

Change 3362053 on 2017/03/23 by Zak.Middleton

	#ue4 - (Merge) Audio: Perf: Avoid thousands of Array.Add() calls during processing, which on shipping still does checks to see if the allocator has to grow, and updates ArrayCount.

	(Integrate CL 3311120 from Odin)

Change 3362102 on 2017/03/23 by Aaron.McLeran

	PR #3182:  Enabled SwitchOnEnum nodes for EAttenuationShape and EAttenuationDistanceModel

Change 3362153 on 2017/03/23 by Aaron.McLeran

	UE-43286 Oculus audio plugin not working/available

Change 3362162 on 2017/03/23 by Aaron.McLeran

	UE-42252  Frequent ensure in FLevelEditorViewportClient::UpdateAudioListener

Change 3362206 on 2017/03/23 by Aaron.McLeran

	UE-43287 Fixing HRTF spatialization in editor viewport

	- Steam Audio doesn't support multiple audio devices at the moment
	- Instead of hard-coding all audio plugins to not work in main audio device (GDC temp fix), I allow audio plugins to specify if they should be used on main audio device

Change 3362775 on 2017/03/24 by mason.seay

	Replaced deprecated node

Change 3363024 on 2017/03/24 by Ben.Zeigler

	Fix regression in behavior of streamable manager where loading both a valid and null asset used to work but now fails. Instead added a warning for that case, but if only null are requested it still fails with an error

Change 3363030 on 2017/03/24 by Zak.Middleton

	#ue4 - Lower default max sendrate for clients to 60Hz from 90Hz when net speed is high and player count is low. Throttled rate remains at 45Hz. This value has been tested in Paragon with no ill effect, and saves on bandwidth and server CPU when clients run at high framerate.

Change 3363036 on 2017/03/24 by Zak.Middleton

	#ue4 - (Merge) Audio: Perf: turned a float divide into a multiply. It happens at least 32k times per audio update.

	(Integrate CL 3311158 from Odin)

Change 3363541 on 2017/03/24 by Zak.Middleton

	#ue4 - (Merge) Audio: Perf: remove pointer indirection, and successive TArray Add()s in GetChannelMap().

	(Integrate CL 3311169 from Odin)

Change 3363642 on 2017/03/24 by Zak.Middleton

	#ue4 - (Merge) Audio: Perf: Save ~5% total audio update time. Savings in "Source Output Buffers".

	- Removed function call overhead to updating channel map. 64,000 function calls...
	- Simplified FSourceParam::Update() to reduce branching and have 1 return site.
	- Added alternative to GetChannelMap() called UpdateChannelMap() that avoids copying out values to an array. The values can then be fetched from the channel data directly.

	(Integrate CL 3311235 from Odin)

Change 3364441 on 2017/03/24 by Ben.Zeigler

	Fix issue where calling LoadLocalIniFile on a plugin file would result in an empty file. It was assuming engine/game dirs, now it instead pulls it out of GConfig if available.
	This fixes issue where iterative cooking would fail on plugin config files
	Add FindConfigFileWithBaseName to GConfig

Change 3364652 on 2017/03/25 by Phillip.Kavan

	#jira UE-43210 - Fix a runtime VM crash upon removing an element from a set after consecutive add/remove iterations.

	Change summary:
	- Fixed FScriptSet::Add() to initialize the HashIndex member of the new element when the HashSize does not change.

Change 3365609 on 2017/03/27 by Richard.Hinckley

	#jira UEDOC-4720
	Fixed global enums being dropped from documentation after being extracted by Doxygen.

Change 3365737 on 2017/03/27 by Marc.Audy

	Move setting of the ParentComponent property on an actor to PostRepNotifies instead of having a separate OnRep function.

Change 3365795 on 2017/03/27 by Marc.Audy

	Fix compile error

Change 3365894 on 2017/03/27 by Phillip.Kavan

	#jira UE-35507 - Fix for a GLEO when choosing an LSBP class as the default value for a class input pin in a non-LSBP graph.

	Change summary:
	- Modified FGraphPinFilter::IsClassAllowed() to disallow a given class if the type is contained within a map package that does not match the current graph context.

Change 3366067 on 2017/03/27 by Marc.Audy

	Add UWorld* to PostLoadMap indicating which world has been loaded. Null if an error has occurred.
	#jira UE-40228

Change 3366097 on 2017/03/27 by Marc.Audy

	Fixed missed deprecation disable pairing for PostLadMap

Change 3366170 on 2017/03/27 by Aaron.McLeran

	Fixing div by zero

Change 3366221 on 2017/03/27 by Aaron.McLeran

	UE-43240 Removing dependency on component visualizers in runtime Phonon module.

Change 3366698 on 2017/03/27 by Marc.Audy

	Fix Orion compile errors

Change 3366782 on 2017/03/27 by Aaron.McLeran

	Bringing over optimizations from Odin to Dev-framework.

	Original CL 3311435

Change 3366818 on 2017/03/27 by Aaron.McLeran

	Bringing fix from Odin to Dev-Framework from CL 3304533

	Fix for rare condition that stomps memory during source recycling.

Change 3366984 on 2017/03/27 by Michael.Noland

	Blueprints: Downgraded a warning in the connection drawing policy to verbose to suppress it. It does no good to a typical user.
	#jira UE-41638

Change 3367085 on 2017/03/27 by Brent.Pease

	 - Improve AudioMixer buffering so that only two buffers are needed instead of three, buffer submission and buffer processing are ovelapped, and a warning is issued if the audio processing thread can not keep up.
	 - Added time critical thread priority so that audio processing is not starved which would produce clicks and popping
	 - Allow the audio thread to not be created if a platform implements its own BeginGeneratingAudio() call (as happens on Android)

Change 3367434 on 2017/03/28 by Marc.Audy

	Fix UT compile error

Change 3368587 on 2017/03/28 by Mike.Beach

	Adding a "CookedOnly" plugin type (now used by the nativized Blueprint plugin).

Change 3368724 on 2017/03/28 by Zak.Middleton

	#ue4 - MovementComponent does not ignore initial blocking overlaps when moving from SafeMoveUpdatedComponent(). Set "p.MoveIgnoreFirstBlockingOverlap" back to zero and add a new flag that prevents the depenetration test from generating hit events (to prevent the problem discovered in UE-39387).

	#jira UE-41613, UE-28610

Change 3368748 on 2017/03/28 by Dan.Oconnor

	Provide &FUObjectThreadContext::Get().ObjLoaded when using the compilation manager, add validation functions for finding REINST/TRASH references

Change 3368852 on 2017/03/28 by Mike.Beach

	Fixing a CIS error before it happens - wrapping implementation in preprocessor defines to match declaration in header.

Change 3368873 on 2017/03/28 by Dan.Oconnor

	Rather than collecting script object references, just use the ScriptObjectReferences array. This allows reference replacing archives to update ScriptObjectReferences.

Change 3368998 on 2017/03/28 by Dan.Oconnor

	Setting  CLASS_Interface early in the compilation process

Change 3369494 on 2017/03/29 by Marc.Audy

	Fix UAT compile error

Change 3369924 on 2017/03/29 by Zak.Middleton

	#ue4 - Allow CharacterMovement AdjustFloorHeight() to adjust using the line trace if in penetration. Force next floor check so it will check after it depenetrates.

	#jira UE-36973

Change 3369932 on 2017/03/29 by Ben.Zeigler

	#jira UE-19494 Finish asset auditing work by allowing reading back a cooked asset registry in the editor
	Split off FAssetRegistryState as the struct to hold serialization and accessors, to allow loading multiple platform states at once.
	Optimized runtime asset registry serialization to be around 1/3 as large as before. Dependencies are disabled by default for the runtime registry, you can re-enable with bSerializeDependencies in Engine.ini
	Add FAssetPackageData which is explicitly per-package and only updated on save/load time. File size is stored in here and is computed for both editor and cooked data
	Add code to AssetManagerEditorModule to allow loading pre-cooked asset registry files and reading cooked sizes. The Asset Audit window now has a platform drop down that allows reading from cooked data
	Rename ChunkManifestGenerator to AssetRegistryGenerator and change it to directly hold an FAssetRegistryState internally
	Add new experimental AssetRegistry mode for iterative cooking. This mode is much faster as it does not need to do it's own internal dependency checking and it can be enabled with bUseAssetRegistryForIteration
	Change it so during cooking it doesn't directly load string asset references, but instead cues them for cook and uses the asset registry to find and add redirector mappings that are used during save time

Change 3370028 on 2017/03/29 by Ben.Zeigler

	CIS fix

Change 3370360 on 2017/03/29 by Mike.Beach

	Adding an extra field to FPlatformInfo; a 'UBTTarget' identifier intended to sync up with UBT's UnrealTargetPlatform enum (needed for programatically generating plugin platform whitelists).

Change 3370363 on 2017/03/29 by Ben.Zeigler

	Fix issue where loading out of date editor asset registry cache would throw pointless errors

Change 3370414 on 2017/03/29 by Marc.Audy

	Remove autos

Change 3370428 on 2017/03/29 by Ben.Zeigler

	Fix linux CIS issue, remove implicit conversion from FSavePackageResultStruct back to enum result as it was creating ambiguous operators

Change 3370453 on 2017/03/29 by Marc.Audy

	CIS fix

Change 3370548 on 2017/03/29 by Marc.Audy

	#rn Fix issues with seamless travel in PIE and shared sub levels between different parents.

Change 3370564 on 2017/03/29 by Mieszko.Zielinski

	PR #3429: fix comment typo (Contributed by kayama-shift)

Change 3370602 on 2017/03/29 by Mieszko.Zielinski

	Fixed FRecastTileGenerator::Modifiers being erroneously counted twice when stating memory #UE4

Change 3370615 on 2017/03/29 by Phillip.Kavan

	#jira UE-35515 - No longer crash when creating a new BP class from one or more selected Actors in which the root component is not Blueprint-spawnable.

	Change summary:
	- Modified FKismetEditorUtilities::AddComponentsToBlueprint() to handle deferred SceneComponent SCS node adds when the parent component was not also added (due to not being BP-spawnable).

Change 3370693 on 2017/03/29 by Michael.Noland

	Fixing some bad indentation
	#rnx

Change 3370740 on 2017/03/29 by Ben.Zeigler

	DLC/Mod Cooking fixes, the list of packages from release build as in uncooked filename format so fixed code and made this more obvious
	Fix Asset Registry to allow loading multiple source asset registries into the same state, by keeping a list of preallocated buffers

Change 3370792 on 2017/03/29 by Michael.Noland

	Blueprints: Deleted some unversioned backwards compat. code that would only matter for assets older than VER_UE4_OLDEST_LOADABLE_PACKAGE

Change 3370794 on 2017/03/29 by Michael.Noland

	PR #3190: Reduce some output logging
	- Reduced an Oculus log from Log to Verbose because it spams quite a bit
	- Corrected the spelling and the meaning of a blueprint warning when an invalid breakpoint is encountered
	- Treat UInputComponent::GetAxisValue(None) as not a warning
	- Switch FGenericSaveGameSystem::LoadGame to silently attempt to load the file, it returns success/failure and it isn't necessary to have a separate warning at the file i/o layer

	#jira UE-41446

Change 3370831 on 2017/03/29 by Dan.Oconnor

	Iteration on compilation manager
	 - Fix Skeleton class compilation order
	 - Pass ObjLoaded array to compilation manager to ensure all objects get PostLoaded
	 - Make sure data only classes get reinstanced, so that UpdateCustomPropertyListForPostConstruction is run correctly

Change 3370923 on 2017/03/29 by Michael.Noland

	Blueprints: Added an icon to indicate whether or not a macro contains latent actions
	- Note: The state of the icon is cached for performance reasons on request, with the cache being cleared when the BP containing the macro is modified or a macro graph is removed
	- This does mean that editing the inner macro of a nested macro to add/remove a latent action will not show up in visualization for the outer node until the editor is restarted or the outer macro is modified

Change 3371039 on 2017/03/29 by Dan.Oconnor

	Hacky fix for dropping return params when a function's return node is culled

Change 3371750 on 2017/03/30 by Richard.Hinckley

	Stencil write mask exposed. Adds nine new options (all bits, plus each bit individually - write on pass or depth fail). This allows stencil overlaps to be detected by mixing masks.

Change 3372513 on 2017/03/30 by Ben.Zeigler

	#jira UE-43475 Fix cooker issues with string asset references to null packages.
	Fix redirector detection to follow recursive chains, and correctly strip object class from redirected string asset references.

Change 3372565 on 2017/03/30 by Richard.Hinckley

	Rolling back stencil change, will be moved to Dev-Rendering.

Change 3372764 on 2017/03/30 by Marc.Audy

	Do not create a duplicate sub object that is not in the annotation if a sub object of the same name and class already exists.
	#jira UE-43328

	#rn Fixed cases where the blueprint of a class used as a child actor could be dirtied when compiling the owning blueprint.

Change 3372847 on 2017/03/30 by Marc.Audy

	Fix missing include

Change 3372994 on 2017/03/30 by Zak.Middleton

	#ue4 - Fix build in Debug (checkSlow using incorrect function params).

Change 3373195 on 2017/03/30 by Mike.Beach

	For nativization, changing it so we key off of the target platform-info struct instead of the platform (in preparation for defining the nativized plugin's platform whitelist).

Change 3373320 on 2017/03/30 by mason.seay

	Basic for TM-Gameplay map (WIP)

Change 3373448 on 2017/03/30 by Ben.Zeigler

	Fix recursive size display in audit window
	Improve asset manager comments

Change 3373576 on 2017/03/30 by dan.reynolds

	AEOverview Update:

	Updated Passive Mix Modifier Test based on recent changes in behavior

	Also added Initial Delay Time timer to test

Change 3373589 on 2017/03/30 by dan.reynolds

	AEOverview Passive Mix Mod Test Map update

Change 3373624 on 2017/03/30 by Zak.Middleton

	#ue4 - Increase Pawn location replication precision to 2 decimal places from 0. Prevents replicated pawns from being inside geometry by a large amount. Removed CVars controlling CharacterMovement proxy shrink amount and made those instanced properties on the component.

	#jira UE-40420

Change 3374271 on 2017/03/31 by Marc.Audy

	Fix deprecation warning in new UT code

Change 3374320 on 2017/03/31 by Marc.Audy

	Fix HTML5 compile.

Change 3374413 on 2017/03/31 by Jeff.Farris

	Added ENGINE_API to 2 functions in PlanarReflection, so projects can subclass it.

	(Copied CL 3276454 from Robo Recall to Dev-Framework)

Change 3374414 on 2017/03/31 by Jeff.Farris

	Added support for setting UNavigationSystem::bUpdateNavOctreeOnComponentChange

	(Copied CL 3267903 from RoboRecall to Dev-Framework)

Change 3374616 on 2017/03/31 by Ben.Zeigler

	Copy of Fortnite CL #3312058 to add a missing redirector. I do not understand why this is not erroring on Main, I guess my minor cook changes somehow exposed this

Change 3374664 on 2017/03/31 by Jeff.Farris

	Consted AIController::GetBrainComponent()

	(Copied 3239101 from Robo Recall to Dev-Framework)

Change 3374665 on 2017/03/31 by Jeff.Farris

	PrimitiveComponent bIgnoreRadialImpulse and bIgnoreRadialForce are now exposed to BPs. bIgnoreRadialImpulse now respected when applying impulse to relevant movement components.

	(Coped CL 3242355 from Robo Recall to Dev-Framework)

Change 3374779 on 2017/03/31 by Jeff.Farris

	Exposed SetAllPhysicsAngularVelocity to blueprints

	(Copied CL 3228390 from Robo Recall to Dev-Framework)

Change 3374792 on 2017/03/31 by Ben.Zeigler

	#jira UE-42618
	PR #3347: Improve support for FGameplayAttributeData properties in attribute sets (Contributed by hoelzl)

Change 3374844 on 2017/03/31 by Ben.Zeigler

	#jira UE-42587 Fix issue where supressed gameplay effects that granted abilities would only work the first time, it now clears out of date ability handles

Change 3374925 on 2017/03/31 by Marc.Audy

	Don't throw warning about missing world context for inactive worlds.
	#jira UE-42679

Change 3374927 on 2017/03/31 by Michael.Noland

	Editor: Added options for configuring the editor window background color and texture, which can be useful to visually distinguish the editor when switching between different branches or projects

Change 3374995 on 2017/03/31 by Michael.Noland

	Editor: Rewrote CallInEditor support and promoted it so it can be used on functions in any class, not just blueprints derived from AActor:
	- CallInEditor used on native UFUNCTION() declarations will now show up without having to make a BP subclass
	- CallInEditor can now be used as a top-level keyword in the UFUNCTION() declaration (e.g., UFUNCTION(Category=CoolCommands, CallInEditor))
	- Now shows each function as a separate button, placed in the category associated with the function
	- The button strip entry is now searchable by function name or tooltip
	- Prevented operating on functions that have parameters or return values, which would crash before
	- Removed the duplicate copies of properties placed in the Blutility section
	- Added a scoped transaction around CallInEditor execution
	- Allowed functions to be marked as CallInEditor in addition to custom events (currently we don't allow editing category or tooltip on custom events...)

	Editor: Moved Experimental/EarlyAccessPreview details customizations up to UObject so it can be used on any class, not just actors/components

	Upgrade Note: Behavior has changed so that CallInEditor can be called on CDOs as well, this will probably be walked back in a subsequent update, at least for actors and components.

Change 3375005 on 2017/03/31 by Michael.Noland

	Fixing incremental compilation error due to missing include
	#rnx

Change 3375015 on 2017/03/31 by Michael.Noland

	Fixing incremental compilation error due to missing include (for real)
	#rnx

Change 3375045 on 2017/03/31 by Marc.Audy

	Only calculate the streaming levels prefix during seamless travel if it is a PIE world
	#jira UE-43485

Change 3375053 on 2017/03/31 by Ben.Zeigler

	#jira UE-41988 Fix it so leaving PIE while gameplay debugger is active will disable HUD extensions properly, restoring ability to print messages to screen

Change 3375057 on 2017/03/31 by Ben.Zeigler

	#jira UE-39226 Don't add to DrawDebug list for player controllers with no local player

Change 3375121 on 2017/03/31 by Michael.Noland

	Added missing include for FScopedTransaction
	#rnx

Change 3375222 on 2017/03/31 by mason.seay

	Submitting work done to TM-Gameplay.  Still WIP

Change 3375308 on 2017/03/31 by Michael.Noland

	Editor: Added back CDO filtering to CallInEditor, it's too easy to explode in the BP editor.  May consider allowing opt-in behavior when we revisit Blutilities

Change 3375321 on 2017/03/31 by Ben.Zeigler

	#jira UE-39062 Fix issue where using the level editor toolbar to modify blueprints was not properly marking the blueprints as modified, so the constructor links weren't being updated until manually compiling or resaving
	Always recompute post constructor links when calling MarkBlueprintAsModified, as it can be called from native and other places where we modified CDOs but don't have a property changed event

Change 3375372 on 2017/03/31 by Ben.Zeigler

	#jira UE-39568 Change Components to specifically update LatentActions the same as Actors do, so they update properly if bUpdateWhilePaused is set

Change 3375380 on 2017/03/31 by Marc.Audy

	Modify IsMainAudioDevice to deal with the case where no audio device has been created.

Change 3375402 on 2017/03/31 by Marc.Audy

	Fix DuplicateWorldForPIE in the case that the OwningWorld is null.

Change 3376037 on 2017/04/02 by Phillip.Kavan

	#jira UE-35332 - Preserve the least common ancestor pin type on object array function node inputs after a node refresh.

	Change summary:
	- Added UK2Node_CallArrayFunction::GetDynamicallyTypedPins() to consolidate the code that retrieves type-dependent parameter pins.
	- Added FBlueprintEditorUtils::FindLinkedPinWithAuthoritativePinType() to consolidate the code that considers other linked pins when choosing which type to propagate to type-dependent parameter pins.
	- Added FBlueprintEditorUtils::PropagatePinTypeInfo() to consolidate the common code from UK2Node_CallArrayFunction::PropagateArrayTypeInfo(); this eliminated a redundant retrieval of the target pin set.
	- Refactored UK2Node_CallArrayFunction::PropagateArrayTypeInfo() to now call FBlueprintEditorUtils::PropagatePinTypeInfo() after retrieving the set of dynamically-typed pins.
	- Refactored UK2Node_CallArrayFunction::NotifyPinConnectionListChanged() to remove some unnecessary iteration passes and to ensure that we propagate the authoritative (least common ancestor) pin type for object- and struct-based types.

Change 3376364 on 2017/04/03 by Richard.Hinckley

	UE-40920 Fix to Paper2D flipbook timeline editor. Previously, the timeline shown was one frame shorter than the animation. Now, the timeline shows the correct frame count.

Change 3376366 on 2017/04/03 by Richard.Hinckley

	UE-40920 Bugfix to Paper2D flipbook editor. The red line indicating the current frame now adjusts properly if the timeline is longer than the editor window and the scroll bar is moved to the right.

Change 3376517 on 2017/04/03 by Marc.Audy

	PR #3195: Added support for GamePad on RawInput Plugin (Contributed by katze7514)
	#jira UE-41499

Change 3376708 on 2017/04/03 by Mike.Beach

	Moving nativized plugins into a centralized folder (so we can use it as an additional plugin lookup dir) - this is so we can ultimately keep the generated code around for debugging purposes.

	Summary of changes:
	- nativized plugins now moved to ...\Intermediate\Plugins\<PLATFORM>\NativizedAssets
	- corresponding manifest files get saved inside the module and named to match the platform
	- nativized modules now whitelisted only for the platform they were generated for
	- cleanup on how we generate paths (now piping in platform name) and pass multi-cook process ids (for building manifest filenames)
	- extending the 'NativizeAssets' command line, so you can use it to specify the target plugin path (utilized by UAT to coordinate the plugin path between cook & build - was previously hardcoded in multiple places).

Change 3376826 on 2017/04/03 by Phillip.Kavan

	#jira UE-43330 - Fix a crash when adding an input parameter to a Custom Event node after deleting a Function Graph containing a Create Event node.

	Change summary:
	- Modified UK2Node_CreateDelegate::HandleAnyChangeWithoutNotifying() to check for a valid blueprint before accessing it (since the accessor is now a checked operation).
	- Modified UK2Node_CreateDelegate::GetScopeClass() to also check for a valid blueprint before accessing it.
	- Switched 'NULL' to 'nullptr' in a few spots.

Change 3376831 on 2017/04/03 by Ben.Zeigler

	#jira UE-43500, clean up UPackage when EDL/async loading fails. This restores EDL LoadPackage to work the same as non EDL and return NULL instead of an invalid empty package

Change 3376846 on 2017/04/03 by Ben.Zeigler

	#jira UE-38760 Properly refresh exec pins when removing pin from a Switch on Int node

Change 3376850 on 2017/04/03 by Dan.Oconnor

	Use authoritative class to mitigate compilation order issues

Change 3376961 on 2017/04/03 by Ben.Zeigler

	#jira UE-43127 Add struct ops implementations for FIntVector and FBox2d, any blueprint type needs struct ops to avoid crashes
	Fix Box2d variable name in NoExportTypes

Change 3376985 on 2017/04/03 by Ben.Zeigler

	#jira UE-43582 Remove Xbox-specific code from AssetRegistry because it won't work after my refactor. The serialization is much faster now and neither Bob nor I can conceive of a way this would take long enough to stall the main thread. If it it is somehow a problem, it should be wrapped in a slow task instead

Change 3377009 on 2017/04/03 by Ben.Zeigler

	#jira UE-43036 Fix crash when right clicking blueprint with no parent class. Ensures are fine but crashes should be avoided so people can try to copy data out of them

Change 3377054 on 2017/04/03 by Zak.Middleton

	#ue4 - Fix CharacterMovementComponent updated with very high delta time on server when initially joining. Make sure the ServerTimeStamp is initialized to current world time rather than zero to prevent large delta.

	#jira UE-40344
	#udn https://udn.unrealengine.com/questions/310497/large-delta-time-for-first-player-movement-update.html

Change 3377061 on 2017/04/03 by Dan.Oconnor

	Fixes for issues exposed by cooking with compilation manager. When cooking we end up with more blueprints compiling at a single time, which highlighted issues reading from generated classes while they were actively regenerating.

	Note that EInternalCompilerFlags::PostponeLocalsGenerationUntilPhaseTwo has only been added to mitigate risk - there is no known reason that existing compilation flows can't postpone generatation of local variables.

Change 3377073 on 2017/04/03 by Mike.Beach

	CIS fix - proper initialization ordering.

Change 3377371 on 2017/04/03 by Ben.Zeigler

	#jira UE-43144 Disallow creating map of FText, like bool it is not hashable

Change 3377395 on 2017/04/03 by Dan.Oconnor

	Build fix - make order in source match initialization order in artifact

Change 3377417 on 2017/04/03 by Dan.Oconnor

	Speculative SA fix

Change 3377496 on 2017/04/03 by Aaron.McLeran

	#jira UE-43558 Cleaning up shutdown code with audio plugins.

Change 3377608 on 2017/04/03 by Zak.Middleton

	#ue4 - Added function ACharacter::CacheInitialMeshOffset() to cache initial mesh offset, used as the target for network smoothing. Added a call to this function from BeginPlay() in addition to the existing call from PostInitializeComponents(), and exposed this to blueprints as well. This fixes the case of people moving the mesh in BeginPlay rather than in the editor or construction script and not having the mesh offset reflected correctly in network games.

	#jira UE-38966

Change 3377880 on 2017/04/03 by Aaron.McLeran

	Audio bug fixes

	#jira UE-43600  Fixing sounds played by playsoundatlocation for audio volume calculations
	#jira UE-43601 Fixing listener volume interpolation
	#jida UE-43602 Fixing reverb/eq interpolation

Change 3377908 on 2017/04/03 by Phillip.Kavan

	#jira UE-43565 - Fix a regression on type-dependent array function node pins that have more than one link.

	Change summary:
	- Added FBlueprintEditorUtils::FindLinkedPinWithMostDerivedPinType()
	- Modified FBlueprintEditorUtils::FindLinkedPinWithAuthoritativePinType() to properly handle pins that have multiple links.

Change 3377912 on 2017/04/03 by Dan.Oconnor

	Fix for missing SUBINSTANCE variables on anim BP skeletons. I elected to force SUBINSTANCE variable creation for the compilation manager codepath

Change 3377946 on 2017/04/03 by Ben.Zeigler

	#jira UE-43594 Fix issue with streamable manager where a failed load would leave bAsyncLoadRequestOutstanding, which would confuse later calls to stream the same asset
	Lower some error verbosity now that I believe I have tracked down the issue

Change 3377950 on 2017/04/03 by Michael.Noland

	Blueprints: Prevent merge tool from crashing in SVN when looking at a file with gaps in the revision history
	(May still not work correctly, but it won't crash; full fix covered by UE-43603)
	#jira UE-22428

Change 3377981 on 2017/04/03 by Michael.Noland

	PR #3416: UE-43005: Prevent crash due to too long name (Contributed by projectgheist)

	#jira UE-43291
	#jira UE-43005

Change 3378039 on 2017/04/04 by Michael.Noland

	PhysX: Allowed the editor to compile when bRuntimePhysicsCooking is disabled (WITH_EDITOR is used in every place in C++ to force it in already)

Change 3378041 on 2017/04/04 by Michael.Noland

	Paper2D: Adjusted under what circumstances CreatePhysicsMeshes is called on various Paper2D types to match UProceduralMeshComponent

Change 3378081 on 2017/04/04 by Dan.Oconnor

	Fix Blueprint Context nodes so that they don't rely on Ar.IsBeingSaved() call before compilation
	3x because of copy/paste

Change 3378094 on 2017/04/04 by Dan.Oconnor

	Add missing preload call for compilation manager

Change 3378917 on 2017/04/04 by Marc.Audy

	Fix static analysis (which is very dumb)

Change 3378986 on 2017/04/04 by Dan.Oconnor

	Fix bad merge

Change 3379100 on 2017/04/04 by Dan.Oconnor

	Fix missing CPF_ConstParm/CPF_ReferenceParm/CPF_OutParm logic in 'fast' skeleton path
	#jira UE-43629

Change 3379102 on 2017/04/04 by Ben.Zeigler

	Actually fix StreamableManager issues with cancelling a request messing up things in the future. We now always queue a request, even if it failed before or there is one in progress. This has to be done to avoid issues with cancelling the existing request or mounting new files after it's failed once
	Now that StreamableManager will retry missing files, add failed load packages to the known missing list so it won't spam errors over and over

Change 3379147 on 2017/04/04 by Zak.Middleton

	#ue4 - Improve on CL 3377608: Made Character::CacheInitialMeshOffset() take location and rotation params so you can be explicit on the values, in case you try to change these during network smoothing, where reading the relative offsets would have been skewed.

Change 3379254 on 2017/04/04 by Aaron.McLeran

	Fixing sounds in audio mixer when no EQ has been set.

Change 3379760 on 2017/04/04 by Ben.Zeigler

	#jira UE-43647 Don't delete failed async packages that are rooted

[CL 3380073 by Dan Oconnor in Main branch]
2017-04-04 20:49:52 -04:00
Josh Adams
60b019520c Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3295257)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3235199 on 2016/12/14 by Joe.Barnes

	Fix new compile error for missing #define

Change 3235340 on 2016/12/14 by Arciel.Rekman

	Linux: refactor of some PlatformMisc functions.

	- RootDir() removed since it was a no-op.
	- Old EngineDir() implementation removed in favor of more generic one that should handle foreign engine dir.
	- Change by CengizT,

Change 3237014 on 2016/12/15 by Michael.Trepka

	Fixed a crash in FChunkCacheWorker constructor

Change 3238305 on 2016/12/16 by Josh.Adams

	- Added a None option to the FKey customization, unless the FKey property had NoClear on it

Change 3240823 on 2016/12/20 by Josh.Stoddard

	Device profiles don't work for iPadPro 9.7 and 12.9

	#jira UE-39943

Change 3241103 on 2016/12/20 by Alicia.Cano

	Android support from Visual Studio
	#jira UEPLAT-1421
	#android

Change 3241357 on 2016/12/20 by Chris.Babcock

	Add gameActivityOnNewIntentAddtions section to Android UPL
	#jira UE-38986
	#PR #2969
	#ue4
	#android

Change 3241941 on 2016/12/21 by Alicia.Cano

	Build Fix

Change 3249832 on 2017/01/06 by Nick.Shin

	refetch on timed out GET/POST requests

	#jira UE-39992  Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure"

Change 3249837 on 2017/01/06 by Nick.Shin

	black box issues fixed:

	use device pixel ratio during width and height checks
	and use canvas dimensions if in full screen -- otherwise store SDL_window dimensions for future use

	#jira UE-36341  HTML5 - View is incorrectly drawn
	#jira UE-32311  Templates on Firefox/Chrome on HTML5 are not full screen during Launch On

Change 3249988 on 2017/01/06 by Josh.Adams

	- Disable the HeartBeat() function on platforms that don't actually want to use the HeartbeatThread
	#jira UE-40305, UE-39291, UE-40113

Change 3253720 on 2017/01/11 by Josh.Adams

	- Added support for a config class to use a specific platform's config hierarchy, so that the editor can read NDA'd platform default settings without needing the settings to in Base*.ini
	  - See SwitchRuntimeSettings.h / GetConfigOverridePlatform()
	- Addiontally made it so that NDAd platforms are saved to Project/Platform/Platform*.ini, instead of Project/Default*.ini (to keep samples .ini files free of NDAd platform settings).
	  - See UObject::GetDefaultConfigFilename()
	- Updated some minor ShooterGame switch settings while cleaning this up

Change 3254162 on 2017/01/11 by Daniel.Lamb

	Avoid trying to load empty package names.
	Fixed issue with iterative ini files being unparseable if they inlcude a colon in them.
	#jira UE-40257, UE-35001
	#test Cook QAGame

Change 3255309 on 2017/01/12 by Daniel.Lamb

	In the derived datacache commandlet wait for texture building to finish before we GC.
	#test DDC QAGame

Change 3255311 on 2017/01/12 by Daniel.Lamb

	Removed debug logging for shader compilation.
	Issue hasn't occured in a while and the logging is annoying.
	#test Cook QAGame

Change 3257024 on 2017/01/13 by Josh.Adams

	- Reread in the target RHIs array every time the list of shader types is needed, instead of caching, because the user could change the settings in the editor, then click cook.
	#jira UE-38691

Change 3259636 on 2017/01/16 by Josh.Adams

	- Fixed split screen render issue with payer 2 getting no geometry
	#jira UE-40684

Change 3260159 on 2017/01/17 by Ben.Marsh

	Added extra logging when deleting a directory fails during ReconcileWorkspace.

Change 3260300 on 2017/01/17 by Ben.Marsh

	More logging for cleaning workspaces.

Change 3261056 on 2017/01/17 by Daniel.Lamb

	Cook on the fly builds now resolve string asset references.
	#test Trivial

Change 3262803 on 2017/01/18 by Joe.Graf

	Added missing support for compiling plugins external to Engine/Plugins & Game/Plugins

Change 3262852 on 2017/01/18 by Joe.Graf

	Fixed the bad robomerge
	Don't try to regenerate projects when adding a content only plugin to a content only project

Change 3264930 on 2017/01/19 by Joe.Barnes

	#include some header files needed when building UFE.

Change 3265728 on 2017/01/20 by Will.Fissler

	PlatformShowcase - Added TestBed_MobileFeatures .umap and related test content.

Change 3267188 on 2017/01/21 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 3267439 on 2017/01/22 by Arciel.Rekman

	Fix Dev-Platform build.

	- Fixed just to have it compile; perhaps a proper fix is needed.
	- Seems to be caused by CL 3265587 (delegate was changed to return an array of search results instead of a single one).

Change 3267556 on 2017/01/23 by Arciel.Rekman

	Linux: fix MoveFile to work across file systems.

	- PR #3141 with slight changes.

Change 3267843 on 2017/01/23 by Arciel.Rekman

	Remove name collision (macro vs libc++).

	- Redoing CL 3259310.

Change 3267850 on 2017/01/23 by Arciel.Rekman

	Fix wrong always true condition.

	- PLATFORM_LINUX is always defined, but can be 0.

Change 3268048 on 2017/01/23 by Daniel.Lamb

	Integrated fix for rebuild lighting commandlet from Greg Korman @ Impulse Gear.
	#test Rebuild lighting Paragon

Change 3268403 on 2017/01/23 by Josh.Adams

	#BUILDUPGRADENOTES
	- Moved XboxOne and PS4 settings into platform specific .ini files (after using GetConfigOverridePlatform() in their class delcarations)
	- Licensee games that have PS4, XboxOne, Switch settings in DefaultEngine.ini will have those settings saved in the platform version next time the project settings are edited. DOCUMENT THIS!

Change 3272441 on 2017/01/25 by Chris.Babcock

	Fixed documentation error in UnrealPluginLanguage
	#ue4
	#android

Change 3272478 on 2017/01/25 by Chris.Babcock

	Fix another documentation error in UnrealPluginLanguage
	#ue4

Change 3272826 on 2017/01/25 by Chris.Babcock

	Google Cloud Messaging plugin for Android
	#jira UEPLAT-1458
	#ue4
	#android

Change 3272839 on 2017/01/25 by Chris.Babcock

	Fix name of Google Cloud Messaging Sender ID
	#ue4
	#android

Change 3273837 on 2017/01/26 by Daniel.Lamb

	Added check to ensure editor never saves source texture data which has had ReleaseSourceMemory called on it.
	Instead crash as this is a loss of content situation.
	#test Cook paragon cook qagame

Change 3274122 on 2017/01/26 by Alicia.Cano

	Runtime permissions support on Android
	- Removing certain permissions
	#jira UE-38512
	#android

Change 3274311 on 2017/01/26 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 3274794 on 2017/01/27 by Arciel.Rekman

	Linux: fix installed SDK check (UE-40392).

	- Pull request #3111 by rubu.

Change 3274803 on 2017/01/27 by Arciel.Rekman

	Linux: added few more exceptions to .gitignore (UE-39612).

	- Pull request #3026 by ardneran.

Change 3276247 on 2017/01/27 by Nick.Shin

	HTML5 HeapSize settings - make use of it from UE4 Editor:Platforms:HTML5:Memory:HeapSize

	note: emscripten says this is really no longer needed when using [ -s ALLOW_MEMORY_GROWTH=1 ] -- but tests have shown when using that, the game load/compile times takes longer

	#jira UE-34753  Zen Garden cannot compile in HTML5
	#jira UE-40815  Launching QAGame for HTML5 creates an 'uncaught exception: out of memory'.

Change 3276347 on 2017/01/27 by dan.reynolds

	Android Streaming Test Content

Change 3276682 on 2017/01/29 by Nick.Shin

	HTML5 thirdparty build scripts

	- fix up what looks like a bad merge
	- allow linux to also build these  libs
	- fixed harfbuzz to use freetype2-2.6 when building HTML5 libs

	- tested on mac, linux, and windows (git-bash)

Change 3276796 on 2017/01/29 by Nick.Shin

	HTML5 thirdparty (python) build scripts

	- linux patches from mozilla's jukka

	- tested on mac and, linux, and windows (git-bash)

	part of:
	#jira UEPLAT-1437  (4.16)  Switch [to] web assembly

Change 3276803 on 2017/01/29 by Nick.Shin

	HTML5 thirdparty build scripts

	- getting ready to build with (new toolchain that has) wasm support
	- minor fix to handle whitespace in project path

	- tested on mac and, linux, and windows (git-bash)

	part of:
	#jira UEPLAT-1437  (4.16)  Switch [to] web assembly

Change 3278007 on 2017/01/30 by Arciel.Rekman

	SteamVR: whitelist for Linux.

	- Makes Blueprint functions available in Linux builds, even if stubbed.
	- Can be probably whitelisted for Mac too.

Change 3278172 on 2017/01/30 by Arciel.Rekman

	Do not rebuild UnrealPak locally (UE-41285).

Change 3279873 on 2017/01/31 by Brent.Pease

	 + Implement streaming in Vorbis
	 + Add streaming to Android audio
	 + Fix audio streaming chunk race condition

Change 3280063 on 2017/01/31 by Brent.Pease

	GitHub 2949 : Fix for crashes when backgrounding/sleeping on iOS metal devices

	#2949
	#jira UE-38829

Change 3280072 on 2017/01/31 by Brent.Pease

	PR #2889: Add -distribution when iOS distribution Packaging. with IPhonePackage.exe (Contributed by sangpan)
	https://github.com/EpicGames/UnrealEngine/pull/2889

	#jira ue-37874
	#2889

Change 3280091 on 2017/01/31 by Arciel.Rekman

	Linux: fix "unable to make writable" toast (UE-37228).

	- Also fixed other platforms that returned inverted the error result.

Change 3280624 on 2017/01/31 by Brent.Pease

	PR #2891: iOS IDFV string allocation fix (Contributed by robertfsegal)
	https://github.com/EpicGames/UnrealEngine/pull/2891

	#2891
	#jira ue-37891

Change 3280625 on 2017/01/31 by Brent.Pease

	GitHub 2576 - Fix UIImagePickerController crash

	#2576
	#jira UE-328888

Change 3281618 on 2017/02/01 by Josh.Adams

	- Fixed hopeful compile error with missing inlcude
	#jira UE-41415

Change 3282277 on 2017/02/01 by Josh.Adams

	- Support 0.12.16 and 1.1.1 (the first versions that can share Oasis)

Change 3282441 on 2017/02/01 by Arciel.Rekman

	Fix Linux editor splash screen (UE-28123).

Change 3282580 on 2017/02/01 by Nick.Shin

	HTML5 - fix "firefox nighly" issue with:

	failed to compile wasm module: CompileError: at offset XXX: initial memory size too big:

	WARNING: this greatly impacts (in browser) compile times

Change 3285991 on 2017/02/03 by Chris.Babcock

	Fix executable path for stripping Android debug symbols (handle non-Windows properly)
	#jira UE-41238
	#ue4
	#android

Change 3286406 on 2017/02/03 by Chris.Babcock

	Save and restore texture filtering for movie playback in all cases
	#jira UE-41565
	#ue4
	#android

Change 3286800 on 2017/02/04 by Chris.Babcock

	Fix executable path for stripping Android debug symbols (handle non-Windows properly)
	#jira UE-41238
	#ue4
	#android

Change 3288598 on 2017/02/06 by Arciel.Rekman

	CodeLite fixes.

	- Use *-Linux-Debug binary for Debug configuration.
	- Fix virtual paths.

Change 3288864 on 2017/02/06 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
	- Note, Switch is known to not boot with this, fix coming next

Change 3289364 on 2017/02/06 by Josh.Adams

	[BUILDUPGRADENOTES] - Fixed the "type" of the desktop device profiles to be Windows, not WindowsNoEditor, etc. It should be the platform, not a random string.
	- Updated how DeviceProfiles are loaded, especially in the editor, so that we can have NDAd platforms have their default DP values in platform-hidden files
	- This makes use of the ability for a class to override the platform hierarchy in the editor (like we do with other editor-exposed platform objects)
	- Added Config/[PS4|XboxOne|Switch]/ConfidentialPlatform.ini files so that the DP loading code knows to look in their directories for DPs. See FGenericPlatformMisc::GetConfidentialPlatforms() for more information
	- Note that saving still saves the entire DP to the .ini. Next DP change is to have them properly save against their 2(!) parents - the .ini file earlier in the hierarchy, and the parent DP object. Makes it tricky, for sure.
	- Added FConfigFile::GetArray (previous was only on FConfigCacheIni)

Change 3289796 on 2017/02/07 by Arciel.Rekman

	Linux: remove leftover CEF build script.

Change 3289872 on 2017/02/07 by Arciel.Rekman

	Linux: install MIME types (UE-40954).

	- Pull request #3154 by RicardoEPRodrigues.

Change 3289915 on 2017/02/07 by Josh.Adams

	- Fixed CIS warnings

Change 3289916 on 2017/02/07 by Arciel.Rekman

	Linux: remove -opengl4 from the default invocation.

Change 3290009 on 2017/02/07 by Gil.Gribb

	UE4 - Fixed boot time EDL causing some issues even when it wasn't being used.

Change 3290120 on 2017/02/07 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 3290948 on 2017/02/07 by Arciel.Rekman

	Linux: fix crash when clicking on question mark (UE-41634).

	- Symbol interposition problem (proper fix is still to be investigated).

	(Edigrating part of CL 3290683 from Release-4.15 to Dev-Platform)

Change 3291074 on 2017/02/07 by Arciel.Rekman

	Speculative build fix.

Change 3292028 on 2017/02/08 by Josh.Adams

	- Fixed Incremental CIS build failures

Change 3292105 on 2017/02/08 by Nick.Shin

	emcc.py - change warning to info

	#jira UE-41747 //UE4/Dev-Platform Compile UE4Game HTML5 completed with 50 warnings

Change 3292201 on 2017/02/08 by JohnHenry.Carawon

	Change comment to fix XML warning when generating project files on Linux

Change 3292242 on 2017/02/08 by Arciel.Rekman

	Linux: avoid unnecessary dependency on CEF (UE-41634).

	- Do not apply CEF workaround to monolithic builds (eg. stock Game/Server targets).
	- Also disable CEF compilation for ShaderCompileWorker.
	- Based on CL 3292077 in 4.15.

Change 3292559 on 2017/02/08 by Josh.Adams

	- Added more platforms to disable the file handle caching (all the ones that use MANAGED_FILE_HANDLES)

Change 3294333 on 2017/02/09 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 3294506 on 2017/02/09 by Josh.Adams

	- Fixed GoogleCloudMessaging.uplugin to fix the Installed flag. Every other plugin had false, this one had true, which caused various checks to go haywire
	#jira UE-41710

Change 3294984 on 2017/02/09 by Josh.Adams

	- Worked around the remote compiling issue with code-based projects on a different drive than the engine
	#jira UE-41704

Change 3295056 on 2017/02/09 by Josh.Adams

	- Fixed the remote compiling issue by unconverting the path back to host when reading from the module filename

Change 3295161 on 2017/02/09 by Josh.Adams

	- Fixed new bug when buildin native ios that was caused by a remote compile break

Change 3295229 on 2017/02/09 by Josh.Adams

	- Fixed a crash in clothing on platforms that don't support clothing
	#jira UE-41830

[CL 3295859 by Josh Adams in Main branch]
2017-02-09 19:20:55 -05:00
Ben Marsh
5275490168 Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3277940)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3233612 on 2016/12/13 by Ben.Marsh

	UGS: Fix cases where precompiled binaries are submitted for a content change.

Change 3235584 on 2016/12/14 by Ben.Marsh

	UBT: Deprecate the overridable TargetRules.ShouldUseSharedBuildEnvironment() function; targets should specify which build environment to use by setting the BuildEnvironment field in their constructor instead.

Change 3235741 on 2016/12/14 by Ben.Marsh

	UBT: Deprecate the SetupBinaries() callback on the TargetRules class. Instead of overriding this, targets may override their launch module through the "LaunchModuleName" property in their constructor, and add extra modules to the "ExtraModuleNames" field on the TargetRules object itself.

Change 3238176 on 2016/12/16 by Ben.Marsh

	UBT: New XML config file parser. Now reads once at startup and can be applied to instanced objects rather than global fields, and caches parsed output in a binary form for quicker initialization on subsequent runs.

Change 3238249 on 2016/12/16 by Ben.Marsh

	UBT: Add attribute-driven command line parser.

Change 3238462 on 2016/12/16 by Ben.Marsh

	UBT: Include the Platform, Configuration and Architecture on the TargetRules. Add a constructor which takes the TargetInfo object and deprecate the parameterless one; these fields are currently initialized before invoking the constructor in RulesAssembly.

Change 3238564 on 2016/12/16 by Ben.Marsh

	UBT: Deprecate the ModuleRules constructor which takes a TargetInfo argument. Replace it with a read-only wrapper around the target rules instead, so target-specific configuration options can be read without needing to access global static variables. Also require that it's passed to the base class constructor.

Change 3239919 on 2016/12/19 by Ben.Marsh

	UBT: Remove the "PreferredSubPlatform" property. This is only used for Windows XP support, which is being retired anyway. Having the target define its own architecture is an awkward contractiction to maintain support for, since the target rules are constructed after the architecture already has been determined.

Change 3240061 on 2016/12/19 by Ben.Marsh

	UBT: Remove ThirdPartyHeaderFinder. I don't think anything is using this any more.

Change 3240175 on 2016/12/19 by Ben.Marsh

	UBT: Add the target name and project file location to the target rules.

Change 3240490 on 2016/12/19 by Ben.Marsh

	UAT: Remove Mac staging code that requires UAT to compile and construct .target.cs files when packaging, to check bUseSteam and bUseCEF3 flags. libsteam_api.dylib is now staged at build time by adding it as a bundle resource, CEF3 is already marked as a runtime dependency by CEF3.build.cs, and UnrealCEFSubProcess.app is already marked as a runtime dependency from WebBrowser.build.cs.

Change 3240717 on 2016/12/20 by Ben.Marsh

	UAT: Allow configuring UAT to run as if on a build machine by passing the -buildmachine argument on the command line.

Change 3240718 on 2016/12/20 by Ben.Marsh

	UAT: Remove target-specific properties that are no longer used by staging (bUsesSlate, bUsesCEF3, etc...). This stuff should all be handled inside UBT.

Change 3241002 on 2016/12/20 by Ben.Marsh

	UBT: Move most target configuration settings from UEBuildConfiguration to TargetRules. This encapsulates target specific settings that will allow instancing multiple targets in the future. To facilitate migration of settings to their new location, "UEBuildConfiguration" is now a property that returns the current target rules instance.

Change 3241027 on 2016/12/20 by Ben.Marsh

	Only copy the Steamworks dylib into the app bundle for monolithic builds. For all other times, just add it as a runtime dependency.

Change 3241055 on 2016/12/20 by Ben.Marsh

	UBT: Only store a ReadOnlyTargetRules object on the instanced build target; finalize the configuration before it's instantiated.

Change 3241156 on 2016/12/20 by Ben.Marsh

	Update SwarmInterface.csproj to .NET framework 4.5, to match what all other C# tools are using.

Change 3241205 on 2016/12/20 by Ben.Marsh

	Replace all uses of TargetRules.TargetType with TargetType.

Change 3241881 on 2016/12/21 by Ben.Marsh

	UBT: Remove project file information from UEBuildContext base class. As configurable properties are moved on to the TargetRules object, it will no longer be a dependency to instantiate the platform with this path.

Change 3241895 on 2016/12/21 by Ben.Marsh

	UBT: Remove toolchain support for Windows XP.

Change 3241908 on 2016/12/21 by Ben.Marsh

	UBT: Move settings for windows targets into a WindowsTargetRules class, which is exposed for targets to modify via the TargetRules.WindowsPlatform field.

Change 3242835 on 2016/12/22 by Ben.Marsh

	UBT: Fix multiple binaries being created if plugins specify module names more than once. MfMedia.uplugin has MfMediaFactory listed twice.

Change 3242837 on 2016/12/22 by Ben.Marsh

	Change UE4EditorServices to include MacSystemIncludes rather than Cocoa.h directly; causes FVector to be defined incorrectly in non-unity builds.

Change 3242923 on 2016/12/22 by Ben.Marsh

	Build: Fixes for conforming incremental workspaces:

	* P4 have table is now reset before deleting all the files. This prevents Perforce being out of sync if the delete fails for some reason.
	* Incremental workspaces are skipped when running a clean operation, because they do not have a workspace capture file (causing a full re-sync, always). The "P4 Clean" option is still effective for cleaning these workspaces.

Change 3242961 on 2016/12/22 by Ben.Marsh

	UBT: Move entry points from PreBuildSync() and PostBuildSync() from UEToolChain to UEBuildPlatform, and make the original toolchain versions static. These functions are already at odds with the rest of the data flow within UBT because they rely on global state cached outside the toolchain instance, making assumptions that UBT is only ever going to be invoked with one target that's constructed in the same run and that nothing is being cached (eg. UBT makefiles). Moving them onto UEBuildPlatform simplifies the toolchain lifecycle for other platforms without leaving Mac and IOS any more limited than they were before.

Change 3242981 on 2016/12/22 by Ben.Marsh

	UBT: Remove symbol server handling code into UAT's platform library, since it's never needed from inside UBT.

Change 3242999 on 2016/12/22 by Ben.Marsh

	UBT: Remove the StripSymbols() function from the UEToolChain base class. This functionality is only required by UAT, so it's better suited to being exposed through UAT's modular platform classes.

Change 3243022 on 2016/12/22 by Ben.Marsh

	UBT: Require an instance of the target rules to be able to construct a toolchain in UBT. This will allow configuring toolchain-specific options from the target, using reflection from config files, and the command line.

Change 3243083 on 2016/12/22 by Ben.Marsh

	UBT: Move settings for the Windows compiler version to use onto the Windows-specific target rules.

Change 3243090 on 2016/12/22 by Ben.Marsh

	UBT: Change the third party paths in UEBuildConfiguration to constants. Changing these would not work.

Change 3243423 on 2016/12/23 by Ben.Marsh

	UBT: Move a lot of settings from BuildConfiguration to TargetRules. This allows different targets to have different settings, naturally, and moves converts argument parsing and config to be driven by attributes.

Change 3243516 on 2016/12/23 by Ben.Marsh

	UBT: Remove the ValidateUEBuildConfiguration callback, which is no longer used. (XGE settings validation occurs in XGE.cs)

Change 3244020 on 2016/12/28 by Ben.Marsh

	UBT: Remove the BaseIntermediatePath static property. Precursor to removing RelativeEnginePath and IntermediateFolder properties.

Change 3244074 on 2016/12/28 by Ben.Marsh

	UBT: Remove the RelativeEnginePath variable from BuildConfiguration. UnrealBuildTool.EngineDirectory gives the absolute path, and can be used to construct a relative path when necessary.

Change 3244076 on 2016/12/28 by Ben.Marsh

	UBT: Remove BuildConfiguration.BaseIntermediateFolder; just use a fixed directory everywhere instead.

Change 3244083 on 2016/12/28 by Ben.Marsh

	UBT: Replace FileReference and DirectoryReference instance methods for manipulating files and directories with static methods, to mirror the System.IO.File and System.IO.Directory classes.

Change 3244441 on 2016/12/31 by Ben.Marsh

	UBT: Remove code to force PDBs when building with no debug info under XGE. Verified described symptoms (that it causes PCH generation to be serialized) no longer occur.

Change 3244687 on 2017/01/03 by Matthew.Griffin

	Changed Exception to use FirstInclude.IncludeName as PrecompiledHeaderIncludeFilename can be null when this occurs

Change 3246112 on 2017/01/04 by Ben.Marsh

	UBT: Fix UHT failures building some targets with the -useprecompiled option, due to differences in the order that circularly dependent modules are parsed. Precompiled binaries are now kept in the regular AppBinaries list, but are excluded from the build at the last minute. Also change some checks from IsEngineInstalled() to bUsePrecompiled, to prevent headers being overwritten when running in a non-installed precompiled build.

Change 3246223 on 2017/01/04 by Ben.Marsh

	UBT: Prevent version manifests being overridden if a file is not being built as part of the target.

Change 3246387 on 2017/01/04 by Ben.Marsh

	UBT: Remove BuildConfiguration settings for UnrealCodeAnalyzer. This tool isn't used at the moment, but it's configured using global variables accessed from all over the UBT codebase, making it difficult to refactor the build options into an instanced object. If we bring this tool back from the dead in the future, it should be possible to implement it using the exported JSON target definition or the XGE manifest, similarly to how IncludeTool uses it.

Change 3247004 on 2017/01/04 by Ben.Marsh

	UBT: Simplify the logic for cleaning targets in UBT. Now uses FileReference/DirectoryReference objects everywhere, doesn't require the compile/link environment, and does all the checking to avoid deleting precompiled binaries in one place.

Change 3247250 on 2017/01/04 by Ben.Marsh

	UBT: Prevent precompiled binaries being added to the list of app binaries twice.

Change 3247594 on 2017/01/05 by Ben.Marsh

	Build: Run sample and template editors on the same agents as the other incremental builds. Remove ProtoStar, which does not have any non-precompiled editor target to build.

Change 3247763 on 2017/01/05 by Ben.Marsh

	UBT: Allow the toolchain to update the list of build products for each module linked into a binary. Allows Mac to add dylibs and bundle resources specified per-module without having to construct a link environment and try to link them.

Change 3247775 on 2017/01/05 by Ben.Marsh

	UBT: Instance the target compile and link environments when they are required during building, and don't persist them on the UEBuildTarget instance.

Change 3247811 on 2017/01/05 by Ben.Marsh

	EC: Add a batch file for testing postp filters.

Change 3247839 on 2017/01/05 by Ben.Marsh

	EC: Include the name of the file being compiled when parsing MSVC errors and warnings.

Change 3248101 on 2017/01/05 by Ben.Marsh

	UBT: Fix Android support for force included headers.

Change 3248533 on 2017/01/05 by Ben.Marsh

	PR #3097: UBT project supports optional platforms (Contributed by PrimalJohnScott)

Change 3249205 on 2017/01/06 by Ben.Marsh

	UAT: Fix ParseTaggedP4Output throwing an exception if the same key name is specified more than once. This can happen when parsing the output from "P4 INFO", where multiple brokers are present.

Change 3249249 on 2017/01/06 by Ben.Marsh

	UBT: Check for the existance of AndroidManifest.xml within extracted AAR directories, rather than just checking for the existance of the directory itself. Perforce does not remove empty directories when cleaning a workspace unless the rmdir option is on the workspace, so this can cause incremental build failures to fail on build machines.

Change 3249486 on 2017/01/06 by Ben.Marsh

	UBT: Use relative paths in unity files when compiling for Mac/IOS, rather than generating a separate local/remote version of the file for gathering include dependencies. Absolute paths are only used to work around the way that MSVC concatenates paths internally; we don't hit the same problems when checking dependencies.

Change 3249736 on 2017/01/06 by Ben.Marsh

	UBT: Rename CPPEnvironment to CppCompileEnvironment, and remove the separate CPPEnvironmentConfiguration object. All settings are now stored directly on the CppCompileEnvironment object.

Change 3250179 on 2017/01/07 by Ben.Marsh

	Fix creating installed build when root directory contains a space in the name.

Change 3250181 on 2017/01/07 by Ben.Marsh

	UBT: Remove some esoteric (and unused, AFAIK) options for orthogonally building different platforms.

Change 3250223 on 2017/01/07 by Ben.Marsh

	UBT: Merge the LinkEnvironment and LinkEnvironmentConfiguration classes together.

Change 3250233 on 2017/01/07 by Ben.Marsh

	UGS: Allow specifying a workspace-specific sync filter, which is applied on top of the standard filter. Also fix filter being cleared if the cancel button is pressed, and help text being stripped out.

Change 3250241 on 2017/01/07 by Ben.Marsh

	UBT: Move the options for specifying additional Android architectures to target onto an Android-specific object on the TargetRules.

Change 3250400 on 2017/01/08 by Ben.Marsh

	UBT: Move executor config settings onto the executor instances.

Change 3257708 on 2017/01/13 by Ben.Marsh

	UBT: Remove the ThirdPartySourceDirectory constant; there are many places which hard-code or assume this location anyway, and it's not going to change.

Change 3260535 on 2017/01/17 by Ben.Marsh

	Add an optional "RequiredSubmittedChange" setting to EC settings files. Allows a scheduled job to run even if there have been no code changes submitted. Test with the utilization capture job.

Change 3260875 on 2017/01/17 by Ben.Marsh

	EC: Fix workspaces getting out of sync wrt. newly added files when jobs are aborted during a sync. In such cases, the P4 have table indicates the new files have been synced locally, but the workspace is forced back to a state before it had them due to the capture file. When a following sync tries to add them again, P4 believes the workspace already has them synced.

	To work around this, we now write an additional file to the root folder of a workspace containing the last CL that was captured, and sync back to it before doing the reconcile.

Change 3261724 on 2017/01/18 by Ben.Marsh

	Allow filtering job types from the list view in EC. Hide the utilization capture job by default. Also set up notifications for the utilization capture job.

Change 3261756 on 2017/01/18 by Ben.Marsh

	IncludeTool: Prevent matching a full enum declaration as a forward declaration.

Change 3261932 on 2017/01/18 by Ben.Marsh

	EC: Add support for specifying days of the week in schedules. The following syntaxes are supported:

	"Monday, Tuesday and Wednesday at 10:30"
	"Daily except Sunday and Wednesday at 14:30"

	 Also tweak display of dates relative to now to handle dates/times in the future, and include the date when specifying a day name.

	#jira UEB-729

Change 3262676 on 2017/01/18 by Ben.Marsh

	UBT: Split UBTMakefile into its own file. (From PR #3106)

Change 3263893 on 2017/01/19 by Ben.Marsh

	UBT: Stop exporting platform classes from UBT, as well as all the referenced classes that have to be made public as a result. Any platform-specific functionality that needs to be shared with UAT is now exposed through wrappers in separate public classes, eg. WindowsExports.cs, IOSExports.cs, etc...

Change 3264291 on 2017/01/19 by Ben.Marsh

	UBT: Fix errors generating documentation in UBT, and enable it by default. Will catch more errors with new code being added. Originally in PR #3106, but redone due to conflicts.

Change 3264534 on 2017/01/19 by Ben.Marsh

	UBT: Include plugin config files in generated projects.

Change 3264571 on 2017/01/19 by Ben.Marsh

	UBT: Prevent overwriting .modules files if nothing has changed. On builders, it's common to build multiple editors in the same workspace, and changing the last modified timestamp causes BuildGraph to fail due to tampered files.

Change 3265745 on 2017/01/20 by Ben.Marsh

	UGS: Automatically open UGS when running the launcher for a second time, rather than prompting to close the original instance.

Change 3265777 on 2017/01/20 by Ben.Marsh

	UGS: Automatically close and reopen when UGS is re-ran with the shift key held down to switch into unstable mode.

Change 3268314 on 2017/01/23 by Ben.Marsh

	UBT: Make sure version manifests are stable by sorting the list of build products, so they are only touched if the contents have really changed.

Change 3269601 on 2017/01/24 by Ben.Marsh

	UBT: Fix symbol files being added to manifest for some platforms even though debug info is disabled.

Change 3269607 on 2017/01/24 by Ben.Marsh

	UBT: Fix bug where UBT would need to be invoked when switching between two editors sharing the same engine binaries on Mac. The location of the .modules file cannot be guessed on Mac by looking in the same directory as the primary output executable because it's an .app bundle, and the actual modules are nested several directories below that.

Change 3269608 on 2017/01/24 by Ben.Marsh

	UBT: Fix additional files copied into the app bundle always being updated on Mac. Now uses rsync --checksum to make sure only modified files are updated.

Change 3271062 on 2017/01/24 by Ben.Marsh

	UBT: Fixes for bugs detected by PVS Studio (PR #3161)

Change 3272421 on 2017/01/25 by Ben.Marsh

	Fix commends regarding DDC in BaseEngine.ini

	#jira UE-41076

Change 3272810 on 2017/01/25 by Ben.Marsh

	Fix VS2017 being displayed as 'Visual Studio 15' in the Windows target settings panel.

Change 3272935 on 2017/01/25 by Ben.Marsh

	Fix Metal errors launching on Mac due to use of OSX environment settings before they are initialized. Toolchain settings are now constructed on demand in a separate class, for Mac, iOS and TVOS.

Change 3274167 on 2017/01/26 by Ben.Marsh

	Fix resource files not being compiled in installed builds on Windows. Was causing metadata not to be embedded into executables.

	#jira UE-36457

Change 3275557 on 2017/01/27 by Ben.Marsh

	Expand checks for propagation of restricted folder names to include source files, and to ensure that each restricted folder is represented in the output. Also improve messaging to show the dependency chain leading to a restricted folder being referenced, and which folder it is.

Change 3275628 on 2017/01/27 by Ben.Marsh

	UBT: Splitting configuration files into one class per-file.

Change 3276784 on 2017/01/29 by Ben.Marsh

	Add an authoritative list of confidential folder names, and expose it through global BuildGraph properties ($(RestrictedFolderNames) and $(RestrictedFolderFilter)). Also switch existing scripts to use it.

Change 3276792 on 2017/01/29 by Ben.Marsh

	UBT: Use UE4CSharp.prog files to indicate which projects should be included in the solution without having to hard-code a list of them in UBT.

Change 3277263 on 2017/01/30 by Ben.Marsh

	IncludeTool: Merging various fixes.

	* Fix warnings about #include directives after first code block from parsing monolithic headers.
	* Fix exception on startup if the intermediate directory does not already exist.
	* Add a special case for ignoring missing header guards from MonolithicHeaderBoilerplate.h, rather than marking it as an inline header. Marking it as inline prevents parsing include directives, which results in including CoreTypes.h from the wrong location.
	* Create job objects for spawned compiler instances to prevent them trying allocating more memory than the system can spare.
	* Remove (unused) code which makes assumptions about files ending with "Classes.h".
	* Add a verbose per-file output log to aid with debugging.
	* Negate the MakeStandalone command line option, which was added to allow tweaking forward declarations in already optimized files, so the optimized output does not have missing headers by default.
	* Fix missing headers when creating standalone files, due to incorrect list of previous files being passed in to the OutputFile constructor. Now passes the original list of included files, not the output list.
	* Fix initial header for a cpp file sometimes being removed. Forcibly including a header at the start of the file does not use the normal pathway for spidering through includes, so a second include of the same file was being generated. Any includes of that header were being forced into output, and the earlier include was then removed due to being redundant.
	* Prevent forward declaring enums which have to be parsed by UHT. UHT relies on includes to determine a parse order, and will fail if the enum definition has not been parsed first.
	* Use a relative path for private includes in the same module if there are any. Fixes some incorrect paths, and makes it clearer that we're doing something we shouldn't.

Change 3277307 on 2017/01/30 by Ben.Marsh

	UBT: Fix private PCHs not using correct header. Causes custom definitions to be excluded from the command line.

[CL 3278101 by Ben Marsh in Main branch]
2017-01-30 16:52:08 -05:00
Matthew Griffin
b159571760 Copying //UE4/Release-Staging-4.15 to //UE4/Dev-Main (Source: //UE4/Release-4.15 @ 3267632)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3267632 on 2017/01/23 by Jurre.deBaare

	Marker syncs not working correctly in Blend Spaces
	#fix Ensure that SampleIndexWithMarkers is serialized
	#JIRA UE-40975

Change 3266915 on 2017/01/20 by Arciel.Rekman

	Fix Persona crash on Linux (UE-38790).

	- Static template variable got instantiated into multiple DSOs; probably exacerbated by --as-needed since this does not happen without it.

	#jira UE-38790

Change 3266785 on 2017/01/20 by Ian.Fox

	#OnlineSubsystemLive - Make usage of CachedUsers thread safe.  Duplicates CL 3245390
	#jira UE-40649

Change 3266762 on 2017/01/20 by Rolando.Caloca

	UE4.15 - Fix for reallocating scene color
	#jira UE-40633

Change 3266642 on 2017/01/20 by Lina.Halper

	Downgraded Warning to Info

	#jira: UE-40643

Change 3266532 on 2017/01/20 by Jeff.Campeau

	Fix multiplatform Windows includes defeating the safety check in MinWindows.h

	#jira UE-40778
	#rn Fixed a compile warning on Xbox One when XboxOneMinApi.h was included before MinWindows.h.

Change 3266523 on 2017/01/20 by Marc.Audy

	Fix case where child actor could avoid getting begin play call
	#jira UE-40960

Change 3266474 on 2017/01/20 by Peter.Sauerbrei

	fix for using an API not yet available in iOS 8
	#jira UE-40698

Change 3266339 on 2017/01/20 by Frank.Fella

	Sequencer - Fix UI issues with multi-track section rows.
	+ Don't show an empty sub-track when there are no sections.
	+ Expand parent tracks by default.

	#Jira UE-40487

Change 3266283 on 2017/01/20 by Jeff.Fisher

	UE-40683 GearVR projects rendering black
	-Fix from Remi Palandri
	#jira UE-40683
	#review-3265824 @nick.whiting @ryan.vance

Change 3266264 on 2017/01/20 by Lina.Halper

	Downgraded warning and changed log message

	#jira: UE-40643

Change 3266239 on 2017/01/20 by Peter.Sauerbrei

	fix for virtual joystick not showing up on some devices
	#jira UE-40472

Change 3266084 on 2017/01/20 by Mitchell.Wilson

	Resaving level to have correct starting camera position. Saved in wrong position after fixing a bug.
	#jira UE-40887

Change 3266077 on 2017/01/20 by Matt.Kuhlenschmidt

	Fixed "Wait for Movies to Complete" flag being reversed

	#jira UE-40943

Change 3266076 on 2017/01/20 by Mitchell.Wilson

	Updating occulsion bounds method on P_spark_burst_2 so it is not occluded when spawned inside of the coin mesh in BP_Overview example.
	Updating some post process examples due to changes made with Post Process settings. Film and Scene Color are temporary fixes and are intended to be fully updated in 4.16
	#jira UE-40830 UE-40887

Change 3266034 on 2017/01/20 by Benn.Gallagher

	Fixed crash when reimporting APEX destructibles from apb/x files caused by not allowing the renderer to flush destroy resource commands before emptying an array.
	#jira UE-40911

Change 3266027 on 2017/01/20 by Ian.Fox

	#OnlineSubsystemLive - Fix CreateSession and FindSession each permanently failing after first failure.  Duplicates CL 3262175
	#jira UE-39110

Change 3265906 on 2017/01/20 by Marcus.Wassmer

	Fix GPU particle AFR flickering and optimize injection transfers.
	Duplicate CL's 3260302, 3261252, 3265662, 3265678
	#jira UE-40915

Change 3265873 on 2017/01/20 by Mark.Satterthwaite

	Duplicate CL #3262535:
	Make sure to set rasterizer state when rendering with a material in FSlateRHIRenderingPolicy::DrawElements
	#jira UE-40842

Change 3265857 on 2017/01/20 by Jamie.Dale

	Fixed font pathing issue that could happen in an out-of-source packaged build

	#jira UE-40855

Change 3265675 on 2017/01/20 by Matt.Kuhlenschmidt

	Move Dirt Mask Intensity to the correct post process category

	#jira UE-40851

Change 3265674 on 2017/01/20 by Rolando.Caloca

	UE4.15 - Revert
	#jira UE-40633

Change 3265647 on 2017/01/20 by Mitchell.Wilson

	Updating spawn location of the player pawn after unpossessing character in example 1.10.
	#jira UE-40870

Change 3265612 on 2017/01/20 by Alexis.Matte

	Prevent name clash warning when doing automation test
	#jira UE-40788

Change 3265553 on 2017/01/20 by Matthew.Griffin

	Fixed Shadow variable warning

Change 3265366 on 2017/01/20 by Dmitriy.Dyomin

	Fixed: Vulkan crashes on Adreno Galaxy S7
	#jira UE-40840

Change 3265294 on 2017/01/19 by Dmitriy.Dyomin

	Fixed typo which was causing assert on mobile
	#jira UE-40633

Change 3265111 on 2017/01/19 by Rolando.Caloca

	UE4.15 - Fix for scene color crash
	#jira UE-40633

Change 3264789 on 2017/01/19 by Josh.Adams

	- Redoing a fix from Dev-Plat for UI_BUILD_SHIPPING_EDITOR
	#jira UE-40798

Change 3264780 on 2017/01/19 by Rolando.Caloca

	UE4.15 - Add Morph compute GPU stat
	#jira UE-40891

Change 3264486 on 2017/01/19 by Mark.Satterthwaite

	Fix the crash on startup on Intel GPUs - this is due to Intel Metal forcing SM4 to avoid some drivers bugs in SM5 but I got the condition for initialisation in FMinimalDummyForwardLightingResources wrong so it's attempting to create a RWBuffer for SM4 which won't work.
	#jira UE-40863

Change 3264427 on 2017/01/19 by Rolando.Caloca

	UE4.15 - Track down crash
	#jira UE-40633

Change 3264393 on 2017/01/19 by Aaron.McLeran

	#jira UE-40850

	Re-fixing UE-39650 again in 4.15.

	I hope this bug doesn't regress yet again!

Change 3264364 on 2017/01/19 by Daniel.Wright

	In forward shading SceneCaptureSource modes Normal and BaseColor are replaced with SceneColorHDR as the GBuffer is not available.  This is a silent failure for now as there's no good content error reporting mechanism for scene captures.
	#jira UE-39658

Change 3264284 on 2017/01/19 by Mark.Satterthwaite

	Duplicate CL #3264251:
	Modify some asserts in MetalRHI - technically using a store-action of ENoAction on Stencil buffers should make it invalid to restart a render-pass but on Mac it will work because ENoAction won't invalidate anything written. In future we need to use deferred store-actions in Metal so that we can "restart" passes while enforcing correct Load/Store actions.
	#jira UE-40803

Change 3264282 on 2017/01/19 by Benn.Gallagher

	CIS fix, bad expression that failed to compile Mac
	#jira UE-40716

Change 3264257 on 2017/01/19 by Mike.Beach

	Revising fix in UBlueprint::BeginCacheForCookedPlatformData(), saving off nativization data if the -nativizeAssets param is present (not just if it was enabled in packaging settings).

	#jira UE-40620

Change 3264242 on 2017/01/19 by Daniel.Wright

	[Copy] Sharing IndirectLightingCacheTextureSampler samplers
	#jira UE-40727

Change 3264191 on 2017/01/19 by Ori.Cohen

	Fix heightfield not working with traces underneath.

	#JIRA UE-39819

Change 3264139 on 2017/01/19 by Benn.Gallagher

	Removed collision between clothing in external skeletal mesh components, as clothing simulations could already be in flight and editing collisions while the simulation is running is not supported by APEX
	#jira UE-40716

Change 3264110 on 2017/01/19 by Max.Preussner

	MfMedia: Disabled plug-in on Windows 10, because it is currently broken

	#jira UE-406344

Change 3264108 on 2017/01/19 by Max.Preussner

	MfMedia: Fixed compile errors on Windows 10

	#jira UE-40644

Change 3264099 on 2017/01/19 by Jamie.Dale

	Adding deprecation warning for 4.14 style PO export

	#jira UE-40592

Change 3264089 on 2017/01/19 by Matthew.Griffin

	Reworked DDC commandlet to make sure it actually calls BeginCacheForCookedPlatformData on assets
	Skip doing this for Engine content if -ProjectOnly is set as that takes a long time and isn't necessary for the way we use it
	#jira UE-39968

Change 3264065 on 2017/01/19 by James.Golding

	Fix ModifyCurve node not calling init/update in SourcePose
	#jira UE-40852

Change 3263729 on 2017/01/19 by Alexis.Matte

	Fix a bad condition when filling the material sorting array
	#jira UE-40814

Change 3263704 on 2017/01/19 by Jack.Porter

	Fix compile error in AndroidESDeferredOpenGL.cpp when  " ES Deferred Shading Renderer" is enabled.
	#jira UE-40659

Change 3263627 on 2017/01/19 by Jack.Porter

	Fixed black textures when Vulkan is packaged for ETC1
	#jira UE-40658

Change 3263554 on 2017/01/19 by Jack.Porter

	Fixes to HISMC LOD to use new screen size calculation. Solves issue where HISMC was always rendered at lowest LOD.
	#jira UE-38930

Change 3263535 on 2017/01/19 by Matthew.Griffin

	Removed unnecessary directories to always cook
	Problem was actually down to string asset references not being resolved in file set generation

Change 3263534 on 2017/01/19 by Matthew.Griffin

	Added -SkipPublish parameter to BuildLauncherSample command so that we don't chunk and post preflights

Change 3263267 on 2017/01/18 by Dan.Oconnor

	Fix for editing of TMap/TSet variables in structure editor, async tasks, and when using UK2Node_CommutativeAssociativeBinaryOperator.
	#jira UE-40428

Change 3263219 on 2017/01/18 by Dan.Oconnor

	Fix copy paste error found by UDN user Craig.Wright that could result in fatal bytecode execution
	#jira UE-19425

Change 3262980 on 2017/01/18 by Maciej.Mroz

	#jira UE-40394, UE-40395, UE-40426, UE-40484, UE-40770

	Integrated cl 3262851, 3261613, 3260908 from Dev-Blueprint

Change 3262908 on 2017/01/18 by Ori.Cohen

	When refreshing physics assets, don't do so on components that have no bodies.

	#JIRA UE-40764

Change 3262709 on 2017/01/18 by Matt.Kuhlenschmidt

	Fix a crash if a background blur widget ends up being negative or zero sized

	#jira UE-40820

Change 3262606 on 2017/01/18 by Marc.Audy

	Don't bother the user with force feedback based on where the unpossessed pawn is standing in the world while in simulate mode
	#jira UE-40785

Change 3262416 on 2017/01/18 by Marc.Audy

	Reenable audio threading
	#jira UE-00000

Change 3262125 on 2017/01/18 by Chris.Wood

	Fixed unnecessary truncate in SMenuAnchor::Tick that caused menu placement to wobble
	[UE-40293] - Dropdown selection box jitters when mouse is moved over top of it on Mac

	#jira UE-40293

Change 3262103 on 2017/01/18 by Jamie.Dale

	Merging some cooker fixes

	CL# 3262089 - Fixing RedirectCollector issues with projects outside the UE4 directory
	CL# 3262091 - Guarding against potentially invalid call to FString::Mid
	CL# 3262094 - Cook on the fly builds now resolve string asset references

	#jira UE-40790

Change 3262082 on 2017/01/18 by Chris.Bunner

	Accumulate used particle materials from final mesh material module, not first.
	#jira UE-39953

Change 3261996 on 2017/01/18 by Matthew.Griffin

	Allow Samples to be built in pre-flights if you are specifying an engine version

Change 3261995 on 2017/01/18 by Matthew.Griffin

	Resolve string asset references after loading packages to ensure that we find all required files

Change 3261934 on 2017/01/18 by Allan.Bentham

	Bump shader version to force changes in 3260307 to occur.
	#jira UE-39701

Change 3261842 on 2017/01/18 by Graeme.Thornton

	Manual copy of CL 3253580 from Dev-Core

	Added some validation of the class index in exportmap entries

	#jira UE-37873

Change 3261017 on 2017/01/17 by Mitchell.Wilson

	Resaving all levels to resolve short form string asset reference warnings.
	#jira UE-40732

Change 3260918 on 2017/01/17 by Andrew.Rodham

	Sequencer: Request unloaded levels to be loaded when being made visible through sequencer

	#jira UE-40082

Change 3260909 on 2017/01/17 by Ben.Marsh

	Fix error running "Clean" in installed build.

	#jira UE-40751

Change 3260757 on 2017/01/17 by Jeff.Fisher

	UE-39654 Crash when launching Google VR project
	-Via SwitchGameWindowToUseGameViewport we get an early ResizeViewport which does an early Draw.  This calls GetStereoProjectionMatrix before the game has ticked and fetched the device info we use to build that matrix.
	-In this change we make the call to setup that information in the GoogleVRHMD constructor, to ensure it is done before anything tries to use it.
	-I also added some asserts.
	#jira UE-39654
	#review-3260644

Change 3260637 on 2017/01/17 by Alexis.Matte

	Fix crash when importing skeletal mesh containing a texture or a material using the same name.
	#jira UE-40538

Change 3260630 on 2017/01/17 by Marc.Audy

	When installing a feature pack maintain the include of the template so that any properties inside it are not lost by replacing it with the project's PCH include
	Update all C++ feature packs to include the original project .h in the files that are copied in to the new project
	#jira UE-40730

Change 3260600 on 2017/01/17 by matt.barnes

	Test content for sequencer event tracks

	#jira UE-29618

Change 3260593 on 2017/01/17 by Mieszko.Zielinski

	Made FSupportedAreaData export as part of engine API #UE4

	#jira UE-40739

Change 3260538 on 2017/01/17 by Marc.Audy

	Always display axes in debug info, but show -- for value when we don't yet know the ranges
	#jira UE-40700

Change 3260422 on 2017/01/17 by Marc.Audy

	Expose level streaming incremental unregister component cvars in the engine streaming section of the project settings
	#jira UE-10109

Change 3260392 on 2017/01/17 by Ben.Woodhouse

	Duplicated from CL 3260107:
	Fix FMonitoredProcess to prevent infinite loop in -nothreading mode
	#jira UE-40717

Change 3260358 on 2017/01/17 by Chris.Bunner

	Only validate tonemapper LUT input if actually hooked up.
	#jira UE-40467

Change 3260327 on 2017/01/17 by Frank.Fella

	PlatformMediaSource - Fix Validate to check all specified media sources, and change GetURL to get the url for the current platform when running uncooked.

	#jira UE-40709

Change 3260307 on 2017/01/17 by Allan.Bentham

	Restore metal compiler's shader source serialization code when the shader is to be compiled at runtime.
	#jira UE-39701

Change 3260276 on 2017/01/17 by Alex.Delesky

	#jira UE-40276 - Fixing an issue where a Standalone game launched from the editor cannot toggle fullscreen mode.

Change 3260274 on 2017/01/17 by Chris.Wood

	Added check for null World ptr in AActor::PostEditChangeProperty to fix crash when pasting temporary Actors
	[UE-40492] - Crash after ejecting from PIE session and selecting a component in the details panel

	#jira UE-40492

Change 3260230 on 2017/01/17 by Ben.Woodhouse

	Duplicated from dev-rendering@3232283
	D3D12 - downgrade root signature size warning to a log following a discussion with Microsoft. There's not much we can actually do about it, and it's not relevant to all hardware
	#jira UE-36999

Change 3260096 on 2017/01/17 by Thomas.Sarkanen

	Fixed crash when rendering out a level sequence with layered animations

	When a level contained sequences with layered animations that *werent* taking part in the render (i.e. they were not part of the current master sequence) then their instances were initialized but not ticked. When their components then got a call to evaluate their bone transforms, the cached blends were in an uninitialized state.

	#jira UE-40654 - Render Movie using separate process crashes capture process

Change 3259875 on 2017/01/17 by Dmitriy.Dyomin

	Fixed: SunTemple is washed out in one color on some Android devices
	#jira UE-40689

Change 3259011 on 2017/01/16 by Max.Chen

	Matinee to Level Sequence: Make RegisterTrackConverters pure virtual

	#jira UE-37328

Change 3258992 on 2017/01/16 by Rolando.Caloca

	UE4.15 - Integrate fix for outlines (3258807)
	#jira UE-40690

Change 3258949 on 2017/01/16 by mason.seay

	Disabled TranslatedMass test

	#jira UE-29618

Change 3258860 on 2017/01/16 by Max.Preussner

	Media: Prevent loading of media plug-ins in console apps, such as game servers (OR-34819)

	#jira OR-34819

Change 3258846 on 2017/01/16 by Max.Preussner

	MfMedia: Fixed incorrect tracks being played in multi-track media sources (UE-39703)

	#jira UE-39703

Change 3258813 on 2017/01/16 by Benn.Gallagher

	Added error on import for APEX clothing files that either have no submeshes or have no submeshes with simulated vertices.
	#jira UE-40614

Change 3258771 on 2017/01/16 by James.Golding

	Skip fatal warning in UBodySetup::Serialize if duplicating (e.g. spawning component via SCS with a BodySetup in its template)
	#jira UE-40418

Change 3258747 on 2017/01/16 by Max.Chen

	Sequencer: AddUnique SequencerActorTag to prevent multiple tags being added when spawning/despawning.

	#jira UE-40665

Change 3258630 on 2017/01/16 by Jurre.deBaare

	CIS IfDef issue fix
	#JIRA UE-1234

Change 3258541 on 2017/01/16 by Phillip.Kavan

	[UE-40131] Revised fix that will work for "inclusive" BP nativization with data-only BPs.

	change summary:
	- revised code in UBlueprint::BeginCacheForCookedPlatformData() to also support the "inclusive" nativization method

	#jira UE-40131

Change 3258532 on 2017/01/16 by Max.Chen

	Sequencer: Fix max row index off by one error . This was always incorrect, but it was masked by the fact that FixRowIndices() was called on the track when the UI gets built. That function was removed from the node layer in CL #3252753 and therefore exposed this bug.

	#jira UE-40642

Change 3258505 on 2017/01/16 by Marc.Audy

	Improve messaging when installing vehicle and vehicle adv C++ feature packs
	#jira UE-40647

Change 3258478 on 2017/01/16 by Matt.Kuhlenschmidt

	PR #3131: UE-40567: Added nullcheck to FSplinePointDetails (Contributed by projectgheist)

	#jira UE-40567

Change 3258457 on 2017/01/16 by Jurre.deBaare

	SpeedTree Billboards rendering with Incorrect Material

	#fix Ensure that we add a section info entry for the billboard models/lods during SpeedTree importing
	#jira UE-39677

Change 3258442 on 2017/01/16 by Alexis.Matte

	Skeletalmesh import, make sure we increment the lod index when animation is not imported
	#jira UE-40640

Change 3258431 on 2017/01/16 by Jurre.deBaare

	Back out changelist 3258392
	#fix issue was already resolved
	#jira UE-1234

Change 3258392 on 2017/01/16 by Jurre.deBaare

	Fix for non-unity CIS
	#JIRA UE-1234

Change 3258358 on 2017/01/16 by Matthew.Griffin

	Prevent warning from being shown when XMPP module is not built
	#jira UE-40616
	(I guess LoadModule could be changed to LoadModuleChecked now if they do exist)

Change 3258144 on 2017/01/15 by Marc.Audy

	Fix non-unity CIS errors
	#jira UE-00000

Change 3258141 on 2017/01/15 by zachary.wilson

	Adding testing content for Distance Field Indirect Shadows

	#jira UE-29618

Change 3258049 on 2017/01/14 by Nick.Shin

	UFE sent incorrect header data on missing file

	also, it seems that UFE was written to expect clients to close the connection -- (this should be closed manually -- which will flush the data and then close out the socket -- but, since this is a developer tool... leaving this as-is)

	first, 404 was not sending the required double newline after headers
	second, since connection are not closed manually (server side) send a dummy payload with content-length data

	#jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure"

Change 3257984 on 2017/01/14 by Aaron.McLeran

	Attempting another fix for static analysis warning in CIS

	#jira UE-40645

Change 3257904 on 2017/01/14 by Aaron.McLeran

	Resolving static analysis warnings reported by CIS

	#jira UE-40645

Change 3257883 on 2017/01/14 by Aaron.McLeran

	Fixing build warning with CL 3257826

	#jira UE-40645

Change 3257826 on 2017/01/13 by Aaron.McLeran

	Integrating fixes from Dev-Framework and Odin to Release-415

	#jira UE-40645

Change 3257654 on 2017/01/13 by Marc.Audy

	Until plugins can drive their own dependencies vehicle and vehicle adv feature packs will not compile automatically and will pop up a message log informing the user of the actions they need to manually take.
	#jira UE-40466

Change 3257608 on 2017/01/13 by John.Pollard

	PC: Assertion Fail with UPackageMapClient::AddNetFieldExportGroup() viewing replays

	#jira OR-34522

Change 3257489 on 2017/01/13 by Mitchell.Wilson

	Removing preview mesh from multiple materials to resolve CIS warnings.
	#jira UE-40628

Change 3257485 on 2017/01/13 by Chris.Babcock

	Don't initialize FMinimalDummyForwardLightingResources for unneeded feature levels (below SM4)
	#jira UE-40602
	#ue4
	#android

Change 3257444 on 2017/01/13 by Matt.Barnes

	Updating test assets for UEQATC-2967

	#jira UE-29618

Change 3257324 on 2017/01/13 by Arciel.Rekman

	Linux: Update runtime CEF lib as well (UE-401413).

	- Followup to CL 3256081.

	#jira UE-40413

	(Merging CL 3257241 from Dev-Platform to Release-4.15)

Change 3257140 on 2017/01/13 by Lina.Halper

	Fix crash with deleting all poses

	#jira: UE-40537

Change 3257066 on 2017/01/13 by Jurre.deBaare

	CIS fix for game builds
	#jira UE-1234

Change 3257056 on 2017/01/13 by Ben.Zeigler

	#jira UE-40318 Fix crash in streamablemanager where callbacks would get called on a deleted manager.
	This is being rewritten in 4.16, so do a quick fix for 4.15 to avoid the crash

Change 3256839 on 2017/01/13 by Jurre.deBaare

	Added conversion of HLOD transition screen size to new transition screen area values
	#fix During serialization patch up the values of transition screen size within the hierarchical lod setups
	#misc Updated the default value to a screen size to screen area equivalent
	#JIRA UE-40518

Change 3256761 on 2017/01/13 by Mieszko.Zielinski

	Fixed EQS debug rendering not clearing previously displayed labels if new request has no labels #UE4

	#jira UE-40589

Change 3256177 on 2017/01/12 by Josh.Adams

	- Moved the MfMedia plugin outside of XboxOne directory, because it's a Windows plugin as well (that happens to also work on XboxOne - all public APIs)
	#jira UE-40391

Change 3256131 on 2017/01/12 by Jamie.Dale

	Fixing log spam when trying to load an empty font data

	#jira UE-40555

Change 3256081 on 2017/01/12 by Arciel.Rekman

	Fixed CEF compatibility problems on Ubuntu 14.04 (UE-40413).

	- Also deleted Debug version of it.
	- Change by yaakuro.

	#jira UE-40413

	(Edigrating CL 3256065 from Dev-Platform to Release-4.15)

Change 3256046 on 2017/01/12 by Jon.Nabozny

	Use PxConvexFlag::eSHIFT_VERTICES when cooking meshes to fix baked in transforms.

	#jira UE-39212

Change 3255939 on 2017/01/12 by mason.seay

	Rebuilt lighting

	#jira UE-29618

Change 3255912 on 2017/01/12 by Olaf.Piesche

	Replicating fix from 3246828 for
	#jira UE-39249

Change 3255909 on 2017/01/12 by Rolando.Caloca

	UE4.15 - Support for choosing discrete AMD GPU
	#jira UE-40546

Change 3255835 on 2017/01/12 by Martin.Wilson

	Fix newly added virtual bones not being on screen.

	#jira UE-40516

Change 3255774 on 2017/01/12 by Mark.Satterthwaite

	Merging 3251926 for Richard.Wallis:
	#jira UE-38828

	Crash after Enabling Forward Shading on Mac and Creating/Editing Materials.

	Using TGlobalResource to avoid constant resource allocation.  Prev fix (in CL 3239454) caused a crash in D3D11 with zero sized resource views.

Change 3255771 on 2017/01/12 by Alexis.Matte

	Fix a crash when re-importing asset with no material
	#jira UE-40510

Change 3255746 on 2017/01/12 by Jon.Nabozny

	Change _DEBUG to PX_DEBUG in ConvexHullLib.cpp

	#jira UE-0000

Change 3255659 on 2017/01/12 by Jon.Nabozny

	Enable Shifting Vertices during Convex Hull cooking to prevent precision issues.

	(Copied CL-3249100 from Dev-Phyics-Upgrade to support new flag)

	#jira UE-39212

Change 3255617 on 2017/01/12 by Ori.Cohen

	Fix crash when computing mass for an async object. Using passed in rigid body instead of assuming SyncRigidActor

	#JIRA UE-40458

Change 3255536 on 2017/01/12 by Jamie.Dale

	Fixed crash when using an object picker against the 'Object' type

	This also optimizes some filter code to avoid filtering when it would be pointless (and just slows things down).

	#jira UE-40408

Change 3255451 on 2017/01/12 by Chris.Wood

	Fixed read only text color in SCommentBubble
	[UE-40384] - Reference Viewer comment text is difficult to read

	Also changed DetermineForegroundColor() method in EditableTextBox classes to fallback on ForegroundColorOverride if it is set and ReadOnlyForegroundColorOverride isn't set.

	#jira UE-40384

Change 3255448 on 2017/01/12 by Chris.Wood

	Removed blinking cursor/caret on read only editable text layouts.
	[UE-40502] - Flashing cursor/caret showing in read-only editable text layouts

	#jira UE-40502

Change 3255445 on 2017/01/12 by Marc.Audy

	Create the dynamic level streaming persistent object correctly outered to the World rather than the transient package to avoid GetWorld() crashing
	#jira UE-00000

Change 3255441 on 2017/01/12 by Jon.Nabozny

	Regenerate collision for the basic Cube mesh to fix resting issues and invalid verts.

	#jira UE-40478

Change 3255407 on 2017/01/12 by Yannick.Lange

	VREditor: - Fix: Assertion Failed crash after pressing F8 in PIE while Foliage Mode was selected
	- Fix: Assertion Failed crash after pressing F8 in PIE while Paint Mode was selected
	- Added extra checks for other possible future cases
	#jira UE-39786 	UE-39789

Change 3255393 on 2017/01/12 by Chris.Bunner

	Duplicating CL 3255244: Removed test variable from MaterialExpressionVectorParameter.
	#jira UE-40517

Change 3255375 on 2017/01/12 by Steve.Robb

	CIS fix.

	#jira UE-39556

Change 3255334 on 2017/01/12 by samuel.proctor

	Corrected QA Container asset to remove pin warning.

	#jira UE-29618

Change 3255319 on 2017/01/12 by james.cobbett

	Fixing motion blur issue with test content for Pose Snapshots.

	#jira UE-29618

Change 3255247 on 2017/01/12 by Nick.Darnell

	Slate - Slate's Tab Manager is now a bit smarter about allowing Focus/BringToFront attention grabbing methods.  In order to make the UI less jumpy it was restricted to only allowing alerts and bring to front to be triggered if you were on the window, or child window of the active application window.

	That can negatively impact cases where a user takes an action (clicks a link ro button saying open/goto this tab), that is on another window.  To work around this limitation, the Tab Manager will also permit the action if Slate is currently processing user input, implying that the action being taken is in direct response to the user pressing a button and interacting with the UI.

	#jira UE-40313

Change 3255236 on 2017/01/12 by Phillip.Kavan

	[UE-40131] Non-native child BPs can now properly override a nativized parent BP's components in a cooked build with exclusive Blueprint class nativiation.

	- Mirrored from //UE4/Dev-Blueprints (CL# 3254024,3254391)

	#jira UE-40131

Change 3255216 on 2017/01/12 by Rolando.Caloca

	UE4.15 - Fix compile issue on Vulkan 1.0.37.0 or newer
	#jira UE-40506

Change 3255206 on 2017/01/12 by Steve.Robb

	Use outer walking IsA() implementation in editor to get around reinstancing and hot reload issues.

	#fyi mike.beach
	#jira UE-39556

Change 3255195 on 2017/01/12 by mason.seay

	Adjusted slope to fix platform discrepancy

	#jira UE-29618

Change 3255086 on 2017/01/12 by Jack.Porter

	Fix XboxOneShaderCompiler.cpp non-unity compilation
	#jira None

Change 3255085 on 2017/01/12 by Jack.Porter

	Missing HTML5 changes from CL 3254907
	#jira UE-39111

Change 3255031 on 2017/01/12 by Jack.Porter

	More iOS GoogleVR changes missing from CL 3254907
	#jira UE-39111

Change 3254991 on 2017/01/12 by Jack.Porter

	Missing file from CL 3254907
	#jira UE-39111

Change 3254907 on 2017/01/11 by Jack.Porter

	Android MSAA changes - use r.MobileMSAA cvar, support more than 2x, fix issues where targets other than scene color were created with MSAA
	#jira UE-39111
	#jira UE-35849
	#jira UEMOB-35

Change 3254810 on 2017/01/11 by Arciel.Rekman

	Linux: fix for crash on exit (UE-40488).

	#jira UE-40488

Change 3254617 on 2017/01/11 by Peter.Sauerbrei

	remake the fix for missing PhysXVehicle library in binary for IOS and TVOS
	#jira UE-39349

Change 3254489 on 2017/01/11 by mason.seay

	Other minor improvements to the map

	#jira UE-29618

Change 3254477 on 2017/01/11 by mason.seay

	Map tweaks to prevent the vehicle from getting stuck

	#jira UE-29618

Change 3254431 on 2017/01/11 by Mitchell.Wilson

	Rebuilt lighting on all StarterContent levels.
	#jira UE-40468

Change 3254333 on 2017/01/11 by mason.seay

	Adjusted lightmap on mesh to remove odd rendering splotches

	#jira UE-29618

Change 3254131 on 2017/01/11 by Rolando.Caloca

	UE4.15 - Missing dumped shaders
	#jira UE-40465

Change 3254126 on 2017/01/11 by Jeff.Fisher

	UE-40422 Vive Motion Controllers unable to Play Haptic Effect
	-Removed an unnecessary remapping of controllerindex to deviceid, they are the same now.
	#jira UE-40422
	#review-3254084

Change 3254046 on 2017/01/11 by Mark.Satterthwaite

	Merging 3233811:
	Fix compiling QA-Material tessellation shaders that don't need to emit from Hull or sample in Domain the HSOut buffer which was confusing MetalBackend.
	#jira UE-39935

Change 3254021 on 2017/01/11 by james.cobbett

	Test content for Pose Snapshot testing

	#jira UE-29618

Change 3253993 on 2017/01/11 by Alexis.Matte

	Fix the morph target import
	#jira UE-40424

Change 3253948 on 2017/01/11 by mason.seay

	Fixed Level BP logic that was causing Access None error

	#jira UE-29618

Change 3253884 on 2017/01/11 by mason.seay

	Updated mesh colors on map.  Disabled motion blur

	#jira UE-29618

Change 3253862 on 2017/01/11 by mason.seay

	Disabled Always Show Mobile Input (turned on by accident)

	#jira UE-29618

Change 3253859 on 2017/01/11 by Mark.Satterthwaite

	Merging 3252866:
	Fix Metal shader pipeline hash collisions caused by deferring MTLFunction construction until PrepareToDraw so that we may use Function-Constants to specialise the shader source without generating additional permutations. This is required to generate proper tessellation shaders which are specialised against the index-buffer usage & type (none, uint16, uint32). While we're here amend the hash functions to make better use of the existing hash functions to improve the distribution and hopefully reduce the possibility of collisions in future.
	#jira UE-40357

Change 3253854 on 2017/01/11 by Mark.Satterthwaite

	Merging 3252859:
	Fix the calculation of Metal tessellation struct alignment and size to use largest member size, so that we don't assert in debug or cause out-of-bounds access in development/shipping.
	#jira UE-40410

Change 3253853 on 2017/01/11 by Mark.Satterthwaite

	Merging 3237394:
	Add Metal-specific permutations of TBasePassHS - they affect the C++ definition on all platforms but are only cached or used on Metal - because the way we compile the combined VS+HS tessellation stage requires that the combined VS + HS HLSL code references the same resources, otherwise we get incorrect resouce bindings and subsequently fail to render properly. Long-term the Metal tessellation code will need to be refactored so that the vertex shader stage is emitted as a separate shader from the hull shader stage as this but will keep cropping back up and continue to complicate the engine.
	#jira UE-39799

Change 3253852 on 2017/01/11 by Mark.Satterthwaite

	Merging 3236850:
	Make changing the Metal Shader Version project setting prompt the user to restart for the changes to take effect.
	#jira UE-39801

Change 3253834 on 2017/01/11 by mason.seay

	Updated mobile input textures to be power of two

	#jira UE-29618

Change 3253807 on 2017/01/11 by Mark.Satterthwaite

	Merging 3232641 & 3236788 & 3233854 & 3249742 from Dev-Rendering:

	3232641:
	- Eliminate redundant state changes in MetalRHI in the state cache.
	- Add a new debug level for setting buffers to nil prior to calls to set*Bytes so that the tool doesn't display incorrect data.
	- Make testing for validation & statistics features use the same EMetalFeatures API as everything else for consistency.
	- Cache the fallback depth-stencil texture in the state cache and ignore it for determining whether a pass can restart - if we are using this texture its contents are worthless anyway.

	3236788:
	Fix 10.11.6 support (aka -nometalv2): the stencil view workaround necessitates a mid-render blit and the way things were setup resulted in the HasValidRenderTargets assert firing. Refactored the code to separate the concept or valid render-states in the cache from active render-states in the render-pass. Now it works as intended and will be needed for 4.15.

	3233854:
	More information about texture type validation errors in Metal.

	3249742:
	Fix missing GPU particles on Mac.
	Pointers getting reused is causing the blendstate equality operator to fail.
	Simple workaround until we have time for a proper fix.

	#jira UE-40200

Change 3253636 on 2017/01/11 by Chris.Wood

	Improved tracking of runtime and debugger attachment for analytics purposes.
	[UE-39780] - Change IsDebugger to WasDebuggerPresent in all crash/AS analytics
	[UE-39777] - Update MTBF IsDebugger state for every heartbeat
	[UE-39778] - UnrealWatchdog to send WasDebuggerPresent state for app if set
	[UE-39779] - UnrealWatchdog to send total run time of process

	Debugger state was previously read once at startup or once at the time of an event. Debugger is now checked during the heartbeat and doesn't reset flag when detached so we know if a session was ever debugged. Also reporting total run time in UnrealWatchdog. Watchdog still doesn't run when debugging but and will never show popups to a debugger user even when forced on with -forcewatchdog.

	#jira UE-39780, UE-39777, UE-39778, UE-39779

Change 3253281 on 2017/01/10 by Dan.Oconnor

	Typo fix caused parameter in local struct definition to shadow the local
	#jira UE-40027

Change 3253231 on 2017/01/10 by Dan.Oconnor

	Mirror of 3253220
	These pins should infer together
	#jira UE-40427

Change 3253125 on 2017/01/10 by Uriel.Doyon

	Brought back CL 3242117 and 3238685, which  got lost on the way:
	- Fix for possiblel check fail when changin mobility of actors.
	- Fix for possible check fail when processing streaming data.
	#jira UE-39996

Change 3252936 on 2017/01/10 by Marc.Audy

	CopyPropertiesForUnrelatedObjects needs to consider path not just name of subobjects when matching them up to copy properties and update references
	Ensure that a reinstanced child actor component ends up pointing at the correct child actor template
	#jira UE-40027

Change 3252886 on 2017/01/10 by Lina.Halper

	Fix for invalid AnimCurves when curve is added while running

	#jira: UE-39826

Change 3252753 on 2017/01/10 by Frank.Fella

	Sequencer - Change track rows to use separate track nodes in the display node tree, fixes key edit issues on animation and audio tracks.

	#jira UE-39836

Change 3252640 on 2017/01/10 by Lukasz.Furman

	fixed NavCollision losing user settings after any property change
	copy of 3252628
	#jira UE-40388

Change 3252614 on 2017/01/10 by Daniel.Wright

	UStaticMeshComponent::InvalidateLightingCacheDetailed uses MarkRenderStateDirty.  Massively speeds up duplication of HISMC with many instances (10+ minutes -> seconds), as InvalidateLightingCacheDetailed gets called for every instance.
	#jira UE-40406

Change 3252609 on 2017/01/10 by mason.seay

	Updated map with text actors for more visual clarity

	#jira UE-29618

Change 3252477 on 2017/01/10 by Daniel.Wright

	[Copy] Fixed race condition with FPrecomputedLightVolume::Data which was exposed when switching lighting scenarios
	#jira UE-39852

Change 3252451 on 2017/01/10 by Daniel.Wright

	Garbage collection calls UWorld>SendAllEndOfFrameUpdates() on all loaded worlds first so that deferred recreate render states happen before any UObjects are deleted
	* Fixes rendering thread crashes in the order of events of 1) SetMaterial 2) GC 3) Rendering command that dereferences the UMaterial
	#jira UE-30089

Change 3252418 on 2017/01/10 by Ben.Zeigler

	#jira UE-40390 Fix crash saving blueprint with an inherited DataTable/CurveTable reference. Delta serialization meant that the necessary name wasn't in the name table, so adding it manually now.

Change 3252410 on 2017/01/10 by Max.Chen

	Sequencer : Filter sections on select in range

	Copy from Dev-Sequencer

	#jira UE-37854

Change 3252385 on 2017/01/10 by Max.Chen

	Sequencer: Update auto tangents when setting key time. This fixes a bug where dragging keys with auto tangents doesn't recompute tangents properly.

	#jira UE-39923

Change 3252360 on 2017/01/10 by Allan.Bentham

	Remove incorrect assert for iOS.
	#jira UE-40385

Change 3252297 on 2017/01/10 by mason.seay

	Test assets for suspending cloth simulation

	#jira UE-29618

Change 3252125 on 2017/01/10 by Mieszko.Zielinski

	Fallout fix after removal of BlackboardKeyUtils::CalculateComparisonResult declaration from the AIModule #UE4

	#jira UE-40099

Change 3251987 on 2017/01/10 by Allan.Bentham

	Fix HQ DoF
	#jira UE-35548

Change 3251856 on 2017/01/10 by Jack.Porter

	Fixed Get Instances Overlapping Box blueprint function due to issue with FBox constructor.
	Added MakeBox and MakeBox2D kismet native functions
	Fixed box overlap test ignoring instance scale
	#jira UE-34409

Change 3251519 on 2017/01/09 by Daniel.Wright

	[Copy] Fixed GLandscapeLayerUsageMaterial getting GC'ed
	#jira UE-40055

Change 3251146 on 2017/01/09 by Lina.Halper

	Fix on stable track data carrying over to pose asset

	- decided to clean up track data in anim sequence since we don't really need that data anymore

	#jira: UE-40351
	#code review: Martin.Wilson

Change 3251056 on 2017/01/09 by Lina.Halper

	fixed crash when pose node contains stale data when updating source.

	#jira: UE-40258
	#code review; Thomas.Sarkanen

Change 3251035 on 2017/01/09 by Mitchell.Wilson

	Removed preview mesh in M_GodRay to resolve CIS warning.
	Relinked textures used in two materials to resolve CIS warnings.
	#jira UE-40350

Change 3250959 on 2017/01/09 by Mitchell.Wilson

	Updating master sequence playback end time so the final audio track can be heard.
	Updating multiple shots to resolve issues with audio not playing back properly.
	#jira UE-40321 UE-40335

Change 3250896 on 2017/01/09 by Andrew.Rodham

	Sequencer: Fixed level visibility not working in PIE

	#jira UE-40082

Change 3250895 on 2017/01/09 by Andrew.Rodham

	Sequencer: Fixed evaluation of overlapping audio and skeletal aninmation sections
	  - Audio and skeletal animation sections now continue to support legacy evaluation order. Overlapping sections of the same priority on the same row will be filtered out such that only the section with the latest start time will be evaluated.

	#jira UE-40320

Change 3250830 on 2017/01/09 by Ben.Woodhouse

	Duplicated from //ue4/Release-4.14

	CL 3238182
	Disable timestamp queries on pre-Maxwell nvidia hardware. Local testing suggests that this is the major cause of instability in the UE4.14 release.

	It's possible that we could be more targeted by only excluding Fermi and older hardware, but identifying fermi hardware by device ID is difficult in practice, since the range overlaps with Kepler.

	#jira UE-38818

Change 3250790 on 2017/01/09 by Lauren.Ridge

	Fixing backspace on VR Editor numberpad menu.

	#jira UE-39770

Change 3250681 on 2017/01/09 by Ben.Woodhouse

	Duplicated from dev-rendering@3249296:
	XB1/Fast semantics:
	Add missing L1/L2 cache flush on transition to readable (or RW). The missing cache flush was causing indeterminism when reading from a texture shortly after writing to it as a render target.
	This fixes bloom and diffuse irradiance issues
	The bug has been there for a while, but CL 3227787 (drawclear early out) caused it to manifest
	#jira UE-39727
	#jira UE-40238

Change 3250680 on 2017/01/09 by Ben.Woodhouse

	Duplicated from dev-rendering@3238664
	Fix dbuffer decal rendering issues in fullscreen on PC. Also fixes crash in editor when viewing dbuffer materials.
	Pass clearcolor in RT params for system textures to workaround a bug with ClearColorTexture not working in fullscreen mode on DX11. Make sure dbuffer targets are bound if we're rendering mesh decals
	#jira UT-6891
	#jira UE-39842
	#jira UE-39949

Change 3250609 on 2017/01/09 by Steve.Robb

	Maximum number of stats-using threads increased to 512.

	#jira UE-38153

Change 3250604 on 2017/01/09 by Andrew.Rodham

	Sequencer: Fixed incorrect seed being used when generating new animation type IDs for object properties

	#jira UE-40327

Change 3250589 on 2017/01/09 by Matthew.Griffin

	Changed publish symbols node to use runtime dependencies instead of manually including the whole PhysX folder
	Avoids unused configs and VS2013 files
	#jira UE-39171

Change 3250578 on 2017/01/09 by Matthew.Griffin

	Removed art tools from released build now that they are available separately on the Marketplace

Change 3250282 on 2017/01/07 by Mieszko.Zielinski

	Fixed UNavigationSystem::bNavigationAutoUpdateEnabled getting ignored by recent addition to related condition in UNavigationSystem #UE4

	Reported by UT team.
	Replication of a fix from Dev-Framework that didn't make it to 4.15 stream

	#jira UE-40324

Change 3250276 on 2017/01/07 by Mieszko.Zielinski

	Fixed not being able to add elements to UAIPerceptionStimuliSourceComponent.RegisterAsSourceForSenses for instances manually placed on the map #UE4

	#jira UE-31711

Change 3250219 on 2017/01/07 by Mieszko.Zielinski

	Extended comment to AISenseConfig_Sight::PeripheralVisionAngleDegrees to make it clear how it works #UE4

	#jira UE-31731

Change 3250147 on 2017/01/07 by Andrew.Rodham

	Added missing includes
	#jira UE-40019

Change 3250096 on 2017/01/06 by Nick.Shin

	refetch on timed out GET/POST requests

	correction to: UE_MakeHTTPDataRequest

	#jira UE-39992  Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure"

Change 3249963 on 2017/01/06 by Mieszko.Zielinski

	removed unused and undefined BlackboardKeyUtils::CalculateComparisonResult #UE4

	#jira UE-40099

Change 3249829 on 2017/01/06 by Alexis.Matte

	turn on the material name clash feature for the content browser importer.
	#jira UE-40298

Change 3249791 on 2017/01/06 by andrew.porter

	QAGame:  Added level blueprint logic to QA-Sequencer that lets tester override sequence bindings

	#jira UE-29618

Change 3249755 on 2017/01/06 by Jamie.Dale

	Some fixes for object reference detection and notification when deleting assets

	#jira UE-40121

Change 3249727 on 2017/01/06 by James.Golding

	#jira UE-40242

Change 3249707 on 2017/01/06 by Mitchell.Wilson

	Removing preview mesh with incorrect path from materials to resolve warnings in CIS.
	#jira UE-40311

Change 3249543 on 2017/01/06 by Michael.Dupuis

	#jira UE-40299: validate if UISettings is valid

Change 3249506 on 2017/01/06 by Alexis.Matte

	Make sure we use the correct LodIndex when importing a new LOD in case a previous LOD import fail.
	#jira UE-40240

Change 3249477 on 2017/01/06 by Ori.Cohen

	Fix incorrect warning when moving kinematic objects during simulation.

	#JIRA UE-40290

Change 3249472 on 2017/01/06 by Andrew.Rodham

	Sequencer: Undo now works as expected when editing the properties of a key

	#jira UE-40019

Change 3249390 on 2017/01/06 by Mitchell.Wilson

	Removing preview meshes with improper path from materials to resolve CIS warnings in landscape mountains sample.
	#jira UE-40300

Change 3249317 on 2017/01/06 by Alexis.Matte

	Fix a crash when loading skeletalmesh with no section
	#jira UE-40249

Change 3249294 on 2017/01/06 by Mitchell.Wilson

	Updated defaultengine.ini for Match 3 to resolve warnings in CIS. ServerDefaultMap and TransitionMap had invalid paths.
	#jira UE-40295

Change 3249213 on 2017/01/06 by Chris.Bunner

	Fixed up logic for windowed/fullscreen output display selection when working with HDR. Now selects the most appropriate display if HDR enabled, else current monitor window is on. FullscreenDisplay commandline functions regardless of HDR support.
	#jira OR-33525, OR-33536, OR-33540, OR-33520

Change 3249135 on 2017/01/06 by Martin.Wilson

	Fix root motion issues on additive animations.
	- Fix scale issue on resetting root bone
	- Fix loss of root motion when animation is additive.

	#jira UE-40232

Change 3248522 on 2017/01/05 by Alexis.Matte

	Fix a crash when reimporting morph target. Also fix a crash when initiating ColorVertexBuffer with NULL value
	#jira UE-40201

Change 3248271 on 2017/01/05 by Andrew.Rodham

	Sequencer: Only reset persistent evaluation data when the sequence has changed
	  - This ensures that we don't destroy persistent data that is assumed to still exist (i.e. it was created in ::Setup) from the same sequence

	#jira UE-40234

Change 3248092 on 2017/01/05 by Ben.Marsh

	UBT: Remove the [Obsolete] attribute from methods in TargetRules; the [ObsoleteOverride] attribute gives a much better (and more concise) warning with specific instructions on how to resolve it.

Change 3248091 on 2017/01/05 by Marcus.Wassmer

	Tick renderthreadtickables in -onethread to avoid leaks.
	#jira UE-40248

Change 3248063 on 2017/01/05 by Marc.Audy

	Route FAudioDevice::StopAllSounds to the audio thread if called on the game thread
	#jira UE-40243

Change 3247995 on 2017/01/05 by Maciej.Mroz

	NativizationSummary object is always present.

	manually merged cl#3247985 from Dev-Blueprints
	#jira UE-40035

Change 3247873 on 2017/01/05 by Chad.Garyet

	Adding "Generate QA Labels" buildgraph node and automation script.
	Port of createNewLabel and createMinimumLabel python scripts into UAT
	#jira UEB-725

Change 3247855 on 2017/01/05 by Nick.Shin

	refetch on timed out GET/POST requests

	#jira UE-39992  Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure"

Change 3247737 on 2017/01/05 by Marc.Audy

	static mesh component instance data now correclty inherits from pritive component instance data instead of skipping it and inheriting directly from scene component instance data
	#jira UE-40053

Change 3247723 on 2017/01/05 by mason.seay

	Asset for suspend cloth bug

	#jira UE-29618

Change 3247708 on 2017/01/05 by Mitchell.Wilson

	Updating project settings to disable dbuffer decals to resolve rendering issues in Showdown while using -game -vr
	#jira UE-40195

Change 3247652 on 2017/01/05 by Martin.Wilson

	Fixes for animation notifies window
	-Fix notify not being removed from skeleton
	-Fix crash where editor is not refreshed after notify removal

	#jira UE-40154

Change 3247638 on 2017/01/05 by mason.seay

	Test assets for cloth suspension

	#jira UE-29618

Change 3247630 on 2017/01/05 by Alexis.Matte

	Prevent crash when the import fail and we have no staticmesh created
	#jira UE-40024

Change 3247556 on 2017/01/05 by Ben.Marsh

	Fix non-unity compile error.

Change 3247547 on 2017/01/05 by Jurre.deBaare

	Crash while using the Delete Button in the HLOD Outliner while a Generated Proxy Mesh is opened in the Static Mesh Editor
	#fix Unify path for both delete cluster options in the outliner UI
	#jira UE-40066

Change 3247539 on 2017/01/05 by Benn.Gallagher

	Fixed serialization crash for simplified skeletal meshes leading to corrupted assets that crash on load after skin weight buffer changes.
	#jira UE-40199

Change 3247515 on 2017/01/05 by Allan.Bentham

	Fix inverted planar reflections when mobileLDR
	Fixed incorrect gamma 2 planar reflection rendering when mobileLDR
	#jira UE-32868

Change 3247502 on 2017/01/05 by Dmitriy.Dyomin

	Fixed: Single digit frame rate when sculpting landscape foliage.
	#jira UE-39532

Change 3247232 on 2017/01/04 by Ben.Marsh

	Remove private include from public header. Prevents compiling samples from installed build of the engine without private headers.

	#jira UE-40135, UE-40137, UE-40139, UE-40140, UE-40141, UE-40142, UE-40143, UE-40144

Change 3247002 on 2017/01/04 by Chris.Babcock

	Changed Vulkan hitchy pipeline log message verbosity
	#jira UE-38354
	#ue4
	#android
	#dontbackcopy

Change 3246927 on 2017/01/04 by matt.barnes

	Updating QAGame content to facilitate UEQATC-2969

	#jira UE-29618

Change 3246894 on 2017/01/04 by Mike.Beach

	Mirroring CL 3245322 from Dev-BP

	Fixed a crash when implementing a native interface in a BP

	#jira UE-40155, UE-40203

Change 3246830 on 2017/01/04 by Chris.Bunner

	Allow AllocGBuffer call when in simple-forward so dummy uniform buffer creation can occur.
	#jira UE-39756

Change 3246816 on 2017/01/04 by Jon.Nabozny

	Fix Anim Notifies Tab not opening in Animation Editor.

	#JIRA UE-40134

Change 3246804 on 2017/01/04 by Ori.Cohen

	Touch engine file to trigger re-link.

	#JIRA UE-40156

Change 3246709 on 2017/01/04 by mason.seay

	Updated map

	#jira UE-29618

Change 3246606 on 2017/01/04 by Ori.Cohen

	Fix for sweeps taking too long time (OR-32839).

	- Exhaustive investigation uncovered apparent numerical problems in this code (when compiling with clang 3.9.x with -ffast-math).
	- Current solution can result in overshoot for certain trace extents, but they are not expected to be a practical problem in Unreal.
	- NVidia is aware and will investigate a better solution.

	#tests Compiled Linux server with the changed PhysX and continuously ran bot matches for about a day.
	#JIRA UE-40156

Change 3246571 on 2017/01/04 by Marc.Audy

	Look at the body instance's desired collision enabled value rather than the primitive component's current collision enabled value when determining whether physics state should be created
	#jira UE-39994

Change 3246527 on 2017/01/04 by tim.gautier

	QAGame: BP_MediaPlayer now displays the name of the MediaPlayer plugin currently in use during playback

	#jira UE-29618

Change 3246480 on 2017/01/04 by mason.seay

	Map update

	#jira UE-29618

Change 3246470 on 2017/01/04 by Ori.Cohen

	Guard against infinitely thin geometry which fixes some nans. This showed up as issues in various projects
	#JIRA UE-00000

Change 3246413 on 2017/01/04 by Jon.Nabozny

	Cube asset did not have Tri Meshes. Reimported to fix the issue.
	-- Copied from 3233164 --

	#jira UE-39657

Change 3246388 on 2017/01/04 by Jon.Nabozny

	Set 'p.MoveIgnoreFirstBlockingOverlap' to be enabled by default (3158732). This causes collision behavior to remain unchanged unless people opt in to the new behavior.
	-- Copied from 3239735 (bot health fixed by a different CL) --

	#jira UE-39387

Change 3246352 on 2017/01/04 by Jon.Nabozny

	Fix FPredictProjectilePathParams to use a valid default value for TraceChannel.
	This requires the use of a new bool bTraceWithChannel which is enabled by default.
	-- Copied from 3239765 --

	#JIRA UE-39726

Change 3246341 on 2017/01/04 by Ori.Cohen

	Allow vehicles to inherit from PawnMovementComponent and only use the pawn/ai capabilities when a Pawn owner is used.

	#JIRA UE-39508

Change 3246178 on 2017/01/04 by Andrew.Rodham

	Sequencer: When playback stops naturally, the play position is set to the boundary that caused playback to stop (the end if playing forwards, the start if playing backwards)
	  - This is to reconcile the movie scene sequence player with previous behaviour

	#jira UE-40076

Change 3246102 on 2017/01/04 by Benn.Gallagher

	Fixed single threaded physics dispatcher triggering checks from clothing when running with a CPU with two or fewer cores.
	#jira UE-39811

Change 3246100 on 2017/01/04 by Benn.Gallagher

	Fixed ensure triggered when using root motion with sub instances
	Fixed crash reinstancing an active anim class that had subinstances
	#jira UE-39582
	#jira UE-39579

Change 3246092 on 2017/01/04 by Marc.Audy

	PR #3082: Improve comment for UInputComponent (Contributed by Soleone)
	#jira UE-40098

Change 3246084 on 2017/01/04 by Matthew.Griffin

	Remove bad files

Change 3246076 on 2017/01/04 by Matt.Kuhlenschmidt

	Fixed all non-editable text properties having a double disabled effect.  The text box is read only which prevents edting but still allows copying text from it. This feature had regressed and the disabled effect on top of the read only effect made it too difficult to see the text.

	#jira UE-39652

Change 3246043 on 2017/01/04 by Steve.Robb

	Use of CastChecked instead of Cast in implementations of IStructSerializerBackend::WriteProperty.  This is both more efficient and will hopefully make it easier to diagnose the issue.

	#jira UE-39872

Change 3246032 on 2017/01/04 by Martin.Wilson

	Change FindBoneIndex to FindRawBoneIndex (final bone maps are not built until after all adding is done so they will not be found)

	#jira UE-40105

Change 3246016 on 2017/01/04 by Andrew.Rodham

	Editor: Insert/Duplicate/Delete menu on array properties now only closes itself on click, rather than all menus
	  - This allows us to edit such properties on context menus

	#jira UE-39998

Change 3246005 on 2017/01/04 by Thomas.Sarkanen

	Fixed asset attachment issues in Skeleton Tree

	Assets were being attached uniquely, so only one asset could be attached to a bone/socket. However the calling code didnt know that the unique attachment function just gave up, so the item just got added to the bottom of the tree.
	The attachment filter was not set correctly to allow for bone attatchments, so only sockets could be attached to.
	The attach parent name was not initialized, so assets could not be deleted one at a time.

	#jira UE-40040 - With multiple Preview assets on one bone, only one appears in Skeleton Tree
	#jira UE-40041 - Preview assets appear at the bottom of the skeleton tree

Change 3246002 on 2017/01/04 by Andrew.Rodham

	Sequencer: Fixed actor tick prerequisites not getting set up correctly for master sequences

	#jira UE-39975

Change 3245979 on 2017/01/04 by Andrew.Rodham

	Sequencer: Fixed scrubbing audio tracks not working propertly

	#jira UE-40048

Change 3245978 on 2017/01/04 by Andrew.Rodham

	Sequencer: Fixed dropping a level onto a level visibility section not marking the track as changed, and not correctly creating a transaction

	#jira UE-39998

Change 3245977 on 2017/01/04 by Andrew.Rodham

	Sequencer: Fixed crash caused by lingering persistent evaluation data

	#jira UE-40064

Change 3245971 on 2017/01/04 by Dmitriy.Dyomin

	Fixed: Using Set World Origin Location will cause the player pawn to stutter
	#jira UE-40022

Change 3245725 on 2017/01/03 by Matt.Barnes

	Further improvments on test assets for UEQATC-2963

	#jira UE-29618

Change 3245658 on 2017/01/03 by Arciel.Rekman

	Linux: fix ARM32 build (UE-39913).

	#jira UE-39913

	(Redoing CL 3240982 from Dev-Platform in Release-4.15)

Change 3245577 on 2017/01/03 by Mason.Seay

	More vehicle updates

	#jira UE-29618

Change 3245556 on 2017/01/03 by Matt.Barnes

	Updating test content for UEQATC-2963

	#jira UEQATC-2963

Change 3245461 on 2017/01/03 by mason.seay

	Updating Inertia Tensor Scale to improve Vehicle Handling

	#jira UE-40013

Change 3245442 on 2017/01/03 by Jeff.Fisher

	UEVR-495 Assert when switching to 2d mode. sceHmdReprojectionStart failing.
	-There was a race condition between switching output modes on the render thread and sceHmdReprojectionStart on the RHI thread.  The flush fixes that.  The reprojection would simply have failed that frame previously in shipping which would not matter much as we are switching output modes anyway.
	#jira UEVR-495
	#review-3245374

Change 3245427 on 2017/01/03 by Jeff.Fisher

	UEVR-456 check if we are using camera before doing camera disconnected dialog on PSVR
	-If the tracker is active, but we are tracking nothing (ie we have the morpheus hmd tracking plugin, and started up with it, but switched to 2d mode) don't pop up the camera setup warning until we start trying to track something again.
	-This is useful for apps that have 2d and vr modes.
	#jira UEVR-456
	#review-3245372

Change 3245329 on 2017/01/03 by mason.seay

	Level and vehicle tweaks

	#jira UE-29618

Change 3245275 on 2017/01/03 by Chris.Babcock

	Added EngineVersion to AndroidManfiest.xml metadata
	#jira UE-40123
	#ue4
	#android

Change 3245235 on 2017/01/03 by Guillaume.Abadie

	Cherry picks CL 3234813 from Dev-Rendering: Fixes texture mask static lighting when using GBuffer selective outputs.

	#jira UE-39527

Change 3245183 on 2017/01/03 by Chris.Babcock

	Added missing #undef LOCTEXT_NAMESPACE to some files (contributed by projectgheist)
	#jira UE-40103
	#PR #3085
	#ue4
	#android

Change 3245120 on 2017/01/03 by mason.seay

	Missed some assets

	#jira UE-29618

Change 3245116 on 2017/01/03 by mason.seay

	Mass fucntional test

	#jira UE-29618

Change 3245049 on 2017/01/03 by Ben.Marsh

	PR #3086: Fixed ScriptGeneratorPlugin #includes (Contributed by projectgheist)

Change 3244924 on 2017/01/03 by Ben.Zeigler

	#jira UE-40057 Fix regression in public access for SwapPlayerControllers, from GitHub #3072

Change 3244831 on 2017/01/03 by Mitchell.Wilson

	Fixed hole in collision around level.
	#jira UE-39576

Change 3244817 on 2017/01/03 by Matthew.Griffin

	Change check for files being under engine directory to avoid problems with relative paths
	#jira UE-40096

Change 3244801 on 2017/01/03 by Andrew.Rodham

	Editor: Fixed color picker not working when opened from a details panel on a context menu
	  - When a color picker is opened from a details panel that's on a context menu, it now opens as a sub menu
	  - Added the ability to find an open menu from a widget path to FSlateApplication

	#jira UE-39932

Change 3244776 on 2017/01/03 by Matt.Kuhlenschmidt

	Fix window handle and device context being accessed by scene viewports after the underlying window has been destroyed by the OS.  This is an invalid state on linux and using some vr devices.

	#jira UE-7388

Change 3244672 on 2017/01/03 by Ben.Marsh

	Search all directories containing universal CRT installations from the registry, rather than assuming that the first one found will contain the universal CRT version we want to use. Attempt to fix issues described in PR #3059.

Change 3244668 on 2017/01/03 by Thomas.Sarkanen

	Added "Reimport Animation" and "Export to FBX" to the animation editor toolbar

	Options were in the asset menu before.

	#jira UE-39643 - Missing "Reimport" option for animation assets

Change 3244667 on 2017/01/03 by Thomas.Sarkanen

	Reduced default URO distances in-line with new LOD calculations

	New values should give (roughly) the same effect as the older values with the older system.

	#jira UE-39939 - URO LOD distance factors different with the new screen size metric

Change 3244654 on 2017/01/03 by Matthew.Griffin

	Added functionality to specify Loading Phase for plugin templates
	Changed Blueprint Library Template so that it loads pre loading screen and can be linked correctly in blueprints that use it
	#jira UE-38826

Change 3244631 on 2017/01/03 by Dmitriy.Dyomin

	Fixed: TM_Landscape_LOD Folder does not Live Update contents after generating LODs with Create Per Package Asset
	#jira UE-37368

Change 3244548 on 2017/01/02 by Jack.Porter

	Fix for Post-process Materials rendering incorrectly in editor mobile preview after viewport is resized
	#jira UE-39905

Change 3244389 on 2016/12/30 by Phillip.Kavan

	[UE-39816] Fix broken pin links caused by renaming interface function input/output parameters prior to compiling the interface, but after renaming the function itself.

	Mirrored from //UE4/Dev-Blueprints (CL# 3244388).

	#jira UE-39816

Change 3244248 on 2016/12/29 by laz.matech

	Saved the new sublevel in the persistent level and set it to hidden by default

	#jira UE-29618

Change 3244213 on 2016/12/29 by laz.matech

	Added a sublevel to QA-Sequencer map

	#jira UE-29618

Change 3243857 on 2016/12/27 by samuel.proctor

	Altered Container asset to have proper console input

	#jira UE-29618

Change 3243852 on 2016/12/27 by Mason.Seay

	Forgot config file

	#jira UE-29618

Change 3243847 on 2016/12/27 by mason.seay

	Improved mobile input

	#jira UE-29618

Change 3243536 on 2016/12/24 by Phillip.Kavan

	[UE-39944] Extend the GetClassDefaults node to include output pin exceptions for TSet/TMap properties (i.e. mirror safeguards already in place for TArray).

	Mirrored from //UE4/Dev-Blueprints (CL# 3243210).

	#jira UE-39944

Change 3243535 on 2016/12/24 by Phillip.Kavan

	[UE-39816] Renaming interface input/output parameters will no longer cause broken pin links at interface function call sites in Blueprints that are currently loaded.

	Mirrored from //UE4/Dev-Blueprints (CL# 3243207).

	#jira UE-39816

Change 3243534 on 2016/12/24 by Phillip.Kavan

	[UE-39733] Fix incorrect graph pin value display names for user-defined enum types.

	Mirrored from //UE4/Dev-Blueprints (CL# 3239965).

	#jira UE-39733

Change 3243532 on 2016/12/24 by Phillip.Kavan

	[UE-39854] Fix nativized assets build error when there are no native code dependencies.

	Mirrored from //UE4/Dev-Blueprints (CL# 3239778).

	#jira UE-39854

Change 3243529 on 2016/12/24 by Phillip.Kavan

	[UE-38999] Dump component tree node hierarchy to the output log on error state during widget generation.

	Mirrored from //UE4/Dev-Blueprints (CL# 3239289).

	#jira UE-38999

Change 3243442 on 2016/12/23 by mason.seay

	QAGame cleanup - Replacing copy pose from mesh test assets

	#jira UE-29618

Change 3243215 on 2016/12/22 by Dmitriy.Dyomin

	Fixed: Switching to ES2 feature level preview renders black in editor
	#jira UE-40009

Change 3243185 on 2016/12/22 by Ryan.Vance

	#jira UEVR-478
	Integrating 3235308 Mono changes from DevVR.

Change 3243183 on 2016/12/22 by Ryan.Vance

	#jira UEVR-455
	Integrating 3243173 post present call back implementation from 4.14.1

Change 3243182 on 2016/12/22 by Ryan.Vance

	#jira UE-39269
	Working around a nullptr deref in the Oculus runtime.

Change 3243153 on 2016/12/22 by mason.seay

	WIP map update

	#jira UE-29618

Change 3243128 on 2016/12/22 by andrew.porter

	QAGame: Adding Actor Sequence test content for a crash.

	#jira UE-29618

Change 3243117 on 2016/12/22 by Jeff.Fisher

	UE-34004 GitHub 2659 : Implement support for OpenVR controller roles.
	-Rather than assigning unreal hands to controllers in the order the controllers are connected assign unreal hands to match the ones the API is using.
	-We now defer setting up controllers that are disconnected.  This lets connected controllers, that may have hand preference from steam, occupy their desired hands first.  If a controller is connected later and does not have a role it is assigned to an unoccupied hand or to the right hand.
	-This can still end up ignoring role in the following circumstance (and I can get it to do this): get one controller to prefer'right' and the other to have no preference.  Power off the 'right' prefering controller.  Start the game with only the no-preference controller on.  The game will put that controller in the right slot, because the api gives it no other hints.  Then power on the controller that preferred 'right'.  That controller will now be assigned left, because right is occupied.  I don't see a way around that without the ability to switch which hand a controller is associated with at runtime.
	-This does not yet handle starting with 2 controllers, disconnecting one, then connecting a third controller well.  That did not work before either.  A new Jira was created for that.
	#2659
	#jira UE-34004
	#review-3231154

Change 3243093 on 2016/12/22 by mason.seay

	Some tweaks to vehicle levels

	#jira UE-29618

Change 3243084 on 2016/12/22 by andrew.porter

	QAGame: Cleaned up Sequencer_OverrideBindings

	#jira UE-29618

Change 3243009 on 2016/12/22 by andrew.porter

	QAGame: Renaming actor in Sequencer_OverrideBindings.

	#jira UE-29618

Change 3243003 on 2016/12/22 by andrew.porter

	QAGame: Removing override bindings from level sequence

	#jira UE-29618

Change 3242996 on 2016/12/22 by andrew.porter

	QAGame: Slight tweak to QA-Sequencer.

	#jira UE-29618

Change 3242982 on 2016/12/22 by Marc.Audy

	Properly reenable stats sounds in both game and level editor
	#jira UE-40015

Change 3242959 on 2016/12/22 by mason.seay

	Test map for vehicles and moving meshes

	#jira UE-29618

Change 3242934 on 2016/12/22 by andrew.porter

	QAGame: Adding test content to QA-Sequencer for Override Bindings

	#jira UE-29618

Change 3242870 on 2016/12/22 by Mason.Seay

	QAGame footprint reduction: Clearing out content (were in for old bug reports)

	#jira UE-29618

Change 3242799 on 2016/12/22 by tim.gautier

	QAGame - Adding the following assets for Sequencer Event Track testing:

	-TM-Sequencer_EventTrack + BuildData

	-QA_LightStruct

	-Sequencer_EventTrack

	#jira UE-29618

Change 3242792 on 2016/12/22 by samuel.proctor

	Correcting Container test asset for proper output

	#jira UE-29618

Change 3242727 on 2016/12/22 by Dmitriy.Dyomin

	Fixed: LoadLevelIntstance returns a reference that can't be used to send an interface message
	#jira UE-40005

Change 3242666 on 2016/12/22 by Dmitriy.Dyomin

	Fixed: Packaging Android app for Mali Graphics Debugger v4.3.0 fails
	#jira UE-39534

Change 3242373 on 2016/12/21 by Ori.Cohen

	Allow vehicles to override inertia tensor after any mass properties have changed.
	#JIRA UE-39566

Change 3242323 on 2016/12/21 by Josh.Adams

	- Somehow my last change just got completely lost in the edigrate shuffle. Or something. I have no idea! Rdoing it
	#jira UE-39966

Change 3242286 on 2016/12/21 by mason.seay

	Vehicle Assets and Maps

	#jira UE-29618

Change 3242284 on 2016/12/21 by Marc.Audy

	Fix "stat sounds" not working after PIE completes and a new one is begun
	#jira UE-32743
	#jira UE-39511

Change 3242281 on 2016/12/21 by Ori.Cohen

	Fix multi select being very slow in phat
	#JIRA UE-39559

Change 3242229 on 2016/12/21 by Ben.Marsh

	Fixup workspace for building PhysX.

Change 3242227 on 2016/12/21 by Marc.Audy

	Properly update listener position for stat sounds
	#jira UE-38850

Change 3242218 on 2016/12/21 by Ori.Cohen

	Fix physx html5 compilation APEX issue.

	#JIRA UE-39566

Change 3242174 on 2016/12/21 by Ori.Cohen

	Fix incorrect moment of inertia for convex elements with translation.

	#JIRA UE-39566

Change 3242145 on 2016/12/21 by Ori.Cohen

	Port 4.14 hotfix for vehicle stability

	#JIRA UE-38710

Change 3242139 on 2016/12/21 by Ori.Cohen

	Port 4.14 hotfix:
	Fix crash when setting collision trace in construction script.

	#JIRA UE-39341

Change 3242088 on 2016/12/21 by Alexis.Matte

	Fix the drag and drop material on level instance to drop on the correct material slot
	Fix the serialization of the staticmesh property FMeshSectionInfoMap
	#jira UE-39952

Change 3242081 on 2016/12/21 by Andrew.Rodham

	Sequencer: Make details view focused when resetting inner struct contents to ensure that focus path is valid.

	#jira UE-39851

Change 3242079 on 2016/12/21 by Andrew.Rodham

	Sequencer: Evaluation templates are now only fully rebuilt in PIE, and will not re-cycle track identifiers
	  - This addresses issues with newly compiled tracks recycling the persistent data of old stale tracks.
	  - This commit also ensures we don't fully rebuild templates in the editor when in Sequencer

	#jira UE-39882

Change 3242078 on 2016/12/21 by Andrew.Rodham

	Sequencer: Fixed crash when deactivating a section in sequencer

	#jira UE-39880

Change 3242026 on 2016/12/21 by Josh.Adams

	- Fixed compile errors in tools after NVNRHI move
	#jira UE-39966

Change 3241994 on 2016/12/21 by andrew.porter

	QAGame: Disabled auto play on Sequencer_AnimNotify.

	#jira UE-29618

Change 3241989 on 2016/12/21 by Mitchell.Wilson

	Resolving CIS warnings in Content examples.
	Fixed up redirectors. Moved a texture from developer folder into project and relinked in POM_Debug material. Fixed up BP Commentary Box which was failing to compile. Updated spawn rate on Pulse Ring so it works as intended.
	#jira UE-39984

Change 3241986 on 2016/12/21 by mason.seay

	Vehicle Landscape Test map (mainly for crash investigation)

	#jira UE-29618

Change 3241914 on 2016/12/21 by Josh.Adams

	- Removed invalid and confusing .ini settings
	#jira UE-39982

Change 3241902 on 2016/12/21 by Josh.Adams

	- Moved NVNRHI stuff out of RHI.Build.cs
	#jira UE-39966

Change 3241889 on 2016/12/21 by andrew.porter

	QAGame: Added new level sequence to QA-Sequencer level

	#jira UE-29618

Change 3241884 on 2016/12/21 by Alexis.Matte

	Make sure the color grading cursor follow the mouse by using the exponent value when painting the cursor.
	#jira UE-39834

Change 3241869 on 2016/12/21 by andrew.porter

	QAGame: Adding test content for Sequencer Animation Notifies

	#jira UE-29618

Change 3241809 on 2016/12/21 by Chris.Wood

	Fix non-unity build errors in UnrealWatchdog.
	[UE-39940] - GitHub 3054 : Added EngineBuildSettings.h to UnrealWatchdog.cpp

	PR #3054: Added EngineBuildSettings.h to UnrealWatchdog.cpp (Contributed by ryanjon2040)

	#jira UE-39940

Change 3241806 on 2016/12/21 by Marc.Audy

	Don't unload and then reload streaming levels that are marked to be hidden.
	#jira UE-39883

Change 3241802 on 2016/12/21 by Marc.Audy

	Add new object flag RF_NeedInitialization to indicate that ~FObjectInitalizer and PostInitProperties have not been executed for the object
	Do not allow Modify calls on Objects that have not been initialized
	#jira UE-39731

Change 3241790 on 2016/12/21 by Marc.Audy

	Don't rerun construction scripts when an actor has seamless traveled from another level
	#jira UE-39699

Change 3241789 on 2016/12/21 by Marc.Audy

	Check Owner has a valid world before trying to access Scene (4.14.2)
	#jira UE-39560

Change 3241786 on 2016/12/21 by Marc.Audy

	Fixed crash when seamless travelling in PIE from levels other than the current editor level with a streaming sublevel shared with the current editor level
	#jira UE-39407

Change 3241781 on 2016/12/21 by Mitchell.Wilson

	Fixed up redirectors for SkeletalMesh and Personal Walkthroughs.
	#jira UE-30953

Change 3241747 on 2016/12/21 by mason.seay

	Tag Query test map and assets

	#jira UE-29618

Change 3240938 on 2016/12/20 by Ben.Marsh

	Remaking QFE fixes from 4.14 branch.

Change 3240740 on 2016/12/20 by Ben.Marsh

	Update branch name for analytics.

[CL 3272229 by Matthew Griffin in Main branch]
2017-01-25 16:23:41 -05:00
Ben Marsh
20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00
Ben Marsh
4ba423868f 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
Nick Shin
bf99b65065 jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
these came from:
fd48bc0e4a

#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
#rb none
#lockdown josh.adams

[CL 3180928 by Nick Shin in Main branch]
2016-10-31 21:17:42 -04:00
Ori Cohen
36caee758d Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333)
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195)

==========================
MAJOR FEATURES + CHANGES
==========================

Change 2954345 on 2016/04/25 by Thomas.Sarkanen

	Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34

Change 2954421 on 2016/04/25 by Thomas.Sarkanen

	Removed old PhysX 3.3 and APEX 1.3

Change 2955821 on 2016/04/26 by Thomas.Sarkanen

	Back out changelist 2954345

Change 2955880 on 2016/04/26 by Thomas.Sarkanen

	Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34

	Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration.

Change 2957403 on 2016/04/27 by Thomas.Sarkanen

	Adding initial UAT script for PhysX/APEX

Change 2957690 on 2016/04/27 by Thomas.Sarkanen

	Upgraded BuildPhysX to call CMake directly

	Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files.
	Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc.

	Added RemoveDirectory() to DirectoryReference.

Change 2960653 on 2016/04/29 by Thomas.Sarkanen

	Updated BuildPhysX script to target engine-style directory structures

	We now build directly into (e.g.) Win64\VS2015 directories.
	Also updated to build using multiple compiler versions.

Change 2964162 on 2016/05/03 by Thomas.Sarkanen

	Added deployment to BuildPhysX script

	Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable).

Change 2964171 on 2016/05/03 by Thomas.Sarkanen

	BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation

	Allows easier dry-run testing.

Change 2964245 on 2016/05/03 by Thomas.Sarkanen

	Added external binary deployment to BuildPhysX script

	May still need to add the OpenGL binaries if need be

Change 2968733 on 2016/05/06 by Thomas.Sarkanen

	Filter out Source\compiler when deploying

	Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case.

Change 2978738 on 2016/05/16 by Thomas.Sarkanen

	Added PhysX Vehicle and Extensions libs/binaries to deployment

	My previous wildcard filter didnt pick them up.

Change 2978741 on 2016/05/16 by Thomas.Sarkanen

	Removed PhysX 3.3 and APEX 1.3 binaries

Change 2982013 on 2016/05/18 by Thomas.Sarkanen

	Upgrade engine to PhysX 3.4 & APEX 1.4

Change 2983305 on 2016/05/19 by Thomas.Sarkanen

	Fixed BuildPhysX script to deploy missing libs

Change 2983384 on 2016/05/19 by Thomas.Sarkanen

	Fix compiler and linker issues found when batch compiling all available platforms/configs

	PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->".
	Added missing libs to Win32 build.

Change 2987027 on 2016/05/23 by Chad.Garyet

	Merging the main integration into dev-physics into dev-physics-upgrade per Ori.

Change 2988274 on 2016/05/24 by Thomas.Sarkanen

	Fixup compilation issues post-merge from Main

Change 3035770 on 2016/07/01 by Thomas.Sarkanen

	Updated cmake scripts

	Added GeomUtils include & missing files
	Specified PDB generation for all dlls.
	Removed VS2013 from default compilers list.

Change 3036954 on 2016/07/04 by Thomas.Sarkanen

	Removing APEX and PhysX binaries

Change 3037006 on 2016/07/04 by Thomas.Sarkanen

	Removing old PhysX source

Change 3037400 on 2016/07/05 by Thomas.Sarkanen

	Make sure to set GW_DEPS_ROOT environment variable

	Otherwise CMake can pick up old files or fail to build projects.

Change 3037763 on 2016/07/05 by Thomas.Sarkanen

	Make sure we default to older convex hull generation method.

	New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code.

Change 3039192 on 2016/07/06 by Thomas.Sarkanen

	Fixed destructible & convex collision not generating correct hulls

	Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method.
	Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked).
	PCM is enabled now by default so hooked up the flag to correctly disbale it.
	Bumped the DDC GUID to force a re-cook of convex meshes.

Change 3039236 on 2016/07/06 by Thomas.Sarkanen

	Prevented warning log spam from fetchResults()

	APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present.

	#jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template

Change 3039244 on 2016/07/06 by Thomas.Sarkanen

	Bumped the landscape version DDC key to force a heightfield re-cook

	#jjira UE-31532 - Landscapes do not have collision

Change 3040887 on 2016/07/07 by Thomas.Sarkanen

	Stopped onWake() callbacks being fired when objects are initially sleeping

	Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout.

	#jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled

Change 3067119 on 2016/07/27 by Ori.Cohen

	Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade)

Change 3068266 on 2016/07/28 by Thomas.Sarkanen

	Fixed standalone building of solutions

	Also added CMake directories to deployment script

Change 3073437 on 2016/08/02 by Ori.Cohen

	Added custom code for finding convex faces. This is to get the most opposing normal behavior.

	#JIRA UE-31512, UE-31533

Change 3075553 on 2016/08/03 by Ori.Cohen

	Fix deprecated SafeNormal vs GetSaveNormal

Change 3077938 on 2016/08/04 by Ori.Cohen

	Fix bad constraint issue when waking up kinematic actors

Change 3077939 on 2016/08/04 by Ori.Cohen

	Fix limits of size 0 going into physx constraints.

Change 3080809 on 2016/08/08 by Marc.Audy

	Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade)
	Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics

Change 3085212 on 2016/08/11 by Thomas.Sarkanen

	Updated CMake command lines now that platforms are in seperate directories

	BuildPhysX script now works again

Change 3090340 on 2016/08/16 by Benn.Gallagher

	Fixed usage of setRigidDynamicFlag after API change

Change 3090892 on 2016/08/16 by Marc.Audy

	Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade)

Change 3093595 on 2016/08/18 by Benn.Gallagher

	Fixed new code coming down from main to new APIs

Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees

	Merging

	//UE4/Dev-Physics-Upgrade/PhysX/...

	to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/...

Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees

	-PhysX in-place build from Engine folder
	-Optional loading or NvToolsExt

Change 3101628 on 2016/08/25 by Ori.Cohen

	Make cmake portable and fixup generated projects to use proper lib/dll output

Change 3101634 on 2016/08/25 by Ori.Cohen

	Temp script to make it easy to generate projects using UAT

Change 3101714 on 2016/08/25 by Ori.Cohen

	CMake distributed for building without install

Change 3101719 on 2016/08/25 by Ori.Cohen

	Fix non-install cmake not working for ps4. Also update toolchain paths and compiler.

Change 3101777 on 2016/08/25 by Ori.Cohen

	Fix accidently skipping generating solutions.

Change 3101866 on 2016/08/25 by Ori.Cohen

	Fix second run of cmake not being able to delete readonly cmake files copied over

Change 3102520 on 2016/08/26 by Ori.Cohen

	BuildPhysX.Automation: Deploying PhysX & APEX libs.

Change 3102531 on 2016/08/26 by Ori.Cohen

	Up DDC version for new physx libs

Change 3102572 on 2016/08/26 by Ori.Cohen

	Fix lib to Lib and also remove dead code related to deploy which we no longer need

Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees

	Add pdbs to static libs.

Change 3102745 on 2016/08/26 by Ori.Cohen

	Fix physxbuild ignoring lib PDBs now that they are correctly generating.

Change 3102750 on 2016/08/26 by Benn.Gallagher

	Fix for explosive fracture events due to changes in mesh inflation.

Change 3102855 on 2016/08/26 by Ori.Cohen

	Added lib pdbs

Change 3106690 on 2016/08/30 by Ori.Cohen

	Fix external physx cmake modules path being set incorrectly

Change 3107042 on 2016/08/30 by Ori.Cohen

	Fix namespace typo and add ImmediateMode to cmake

Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees

	Fix PhysX lib rename

Change 3108078 on 2016/08/31 by Ori.Cohen

	Move ImmediateMode module inside physx.

Change 3108276 on 2016/08/31 by Ori.Cohen

	Immediate mode is now compiled

Change 3111534 on 2016/09/02 by Thomas.Sarkanen

	Fixup deprecated PhysX APIs

	"Active transforms" feature replaced with "active actors".
	Convex skinWidth and heightfield thickness removed as they were unused.
	Tolerance mass removed as it is ignored internally now.
	CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag.

	Note, we still use the following deprecated calls:

	- PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now.
	- Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated.

	#jira UE-17833 - Stop using deprecated PhysX API calls

Change 3111636 on 2016/09/02 by Thomas.Sarkanen

	Removed deprecated use of PxVec3::operator[]

	After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance).

	#jira UE-17833 - Stop using deprecated PhysX API calls

Change 3111793 on 2016/09/02 by Ales.Borovicka

	[From trunk]  21113605 - removed tolerances scale usage from normalized distance test

	p4rmerge of Change 21115034 by aborovicka
	from cl-21115034.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3111981 on 2016/09/02 by Ori.Cohen

	Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade)

Change 3111984 on 2016/09/02 by Ori.Cohen

	Debug config uses CHECKED by default

Change 3112432 on 2016/09/02 by Ori.Cohen

	BuildPhysX.Automation: Deploying PhysX and APEX libs.

	Quickhull cleanup fix. Remove slow check for if actors are simulating.

	#JIRA UE-35231

Change 3114288 on 2016/09/06 by Ori.Cohen

	Fix compiler error

Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21074422 -  Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle

	p4rmerge of Change 21125150 by sschirm
	from cl-21125150.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21078633 -  PX-696 - Remove unused PoolListThreadSafe class

	p4rmerge of Change 21125151 by sschirm
	from cl-21125151.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier]
	(2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code)

	p4rmerge of Change 21125180 by sschirm
	from cl-21125180.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21085278 -  PX-601 - The eCOLLISION_PAIRS debug viz param is not used.

	p4rmerge of Change 21125190 by sschirm
	from cl-21125190.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21085367 -  fixed release notes for negative mesh scale

	p4rmerge of Change 21125217 by sschirm
	from cl-21125217.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21090281 -  [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle

	p4rmerge of Change 21125224 by sschirm
	from cl-21125224.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21090512 -  Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project.

	p4rmerge of Change 21125229 by sschirm
	from cl-21125229.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21090881 -  PX-701 sweep position fix [r Pierre]

	p4rmerge of Change 21125230 by sschirm
	from cl-21125230.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21090883 -  PX-694 HF border miss [r Pierre]

	p4rmerge of Change 21125232 by sschirm
	from cl-21125232.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21091870 -  Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier

	p4rmerge of Change 21125238 by sschirm
	from cl-21125238.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21091979 -  Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle

	p4rmerge of Change 21125241 by sschirm
	from cl-21125241.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21091992 -  Fix Linux warning recommending using parantheses

	p4rmerge of Change 21125242 by sschirm
	from cl-21125242.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21092009 -  [PX-375] Removed/replaced "weird comments" in contact modification API file.

	p4rmerge of Change 21125245 by sschirm
	from cl-21125245.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21094919 -  Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong.

	p4rmerge of Change 21125247 by sschirm
	from cl-21125247.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21095517 -  Fix metadata warning in debug builds. Reviewed by Michelle

	p4rmerge of Change 21125252 by sschirm
	from cl-21125252.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21101463 -  Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales

	p4rmerge of Change 21125253 by sschirm
	from cl-21125253.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21102045 -  PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon]

	p4rmerge of Change 21125255 by sschirm
	from cl-21125255.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21102138 -  PX-708 - Review p4 changes for missing docs [Pierre]

	Review: Simon

	p4rmerge of Change 21125256 by sschirm
	from cl-21125256.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21102219 -  PX-709 updated release notes and migration guide

	p4rmerge of Change 21125258 by sschirm
	from cl-21125258.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21105325 -  PX-542: add comment to comment regarding spu in batched queries code.

	p4rmerge of Change 21125261 by sschirm
	from cl-21125261.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21105351 -  Back out changelist 21102045

	p4rmerge of Change 21125262 by sschirm
	from cl-21125262.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21105521 -

	PX-664 - PVD doesn't properly capture SQ flags
	PX-665 - PVD's sweep hit capture is probably broken

	Details:

	- removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore

	- refactored CapturePvdOnReturn:
	  - removed useless struct QType (over-engineered)
	  - identified / marked unused members. Might vanish later.
	  - "compression oriented programming" of main code.

	- PvdSqHit:
	  - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit)
	  - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664.

	- PvdSceneQueryCollector:
	  - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665.
	  - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public).
	  - "compression oriented programming" of main code.

	Review: Ales

	p4rmerge of Change 21125263 by sschirm
	from cl-21125263.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21105695 -  fix compile error

	p4rmerge of Change 21125264 by sschirm
	from cl-21125264.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21105850 -  Back out changelist 21105325

	p4rmerge of Change 21125265 by sschirm
	from cl-21125265.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit)

	p4rmerge of Change 21125267 by sschirm
	from cl-21125267.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21106460 -  [PX-710] Missing documentation changes.

	p4rmerge of Change 21125268 by sschirm
	from cl-21125268.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21110787 -  Some minor cloth cleanup, related to PX-711. (r mtamis)

	p4rmerge of Change 21125271 by sschirm
	from cl-21125271.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21113806 -  PX-707 remove cuda interop for d3d9  (r dduka, kstorey)

	p4rmerge of Change 21125273 by sschirm
	from cl-21125273.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21113869 -  PxProfiler changes

	- Remove ?filename≈ and ?lineno≈:

	It is useless for profile zones.
	The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity).
	This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network.

	Review: Ales

	p4rmerge of Change 21125275 by sschirm
	from cl-21125275.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle

	p4rmerge of Change 21125276 by sschirm
	from cl-21125276.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle.

	p4rmerge of Change 21125279 by sschirm
	from cl-21125279.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21114843 -  Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle

	p4rmerge of Change 21125282 by sschirm
	from cl-21125282.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21118231 -  Profiler changes:

	Move CUDA-related parts to specific class. Long term goal is to drop them entirely.

	Review: Ales

	p4rmerge of Change 21125283 by sschirm
	from cl-21125283.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21119117 -  PX-721 PxVolumeCache deprecated [r Pierre]

	p4rmerge of Change 21125287 by sschirm
	from cl-21125287.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21124924 -  PX-720 PxSpatialIndex deprecated [r Pierre]

	p4rmerge of Change 21125289 by sschirm
	from cl-21125289.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21124943 -  PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon]

	p4rmerge of Change 21125292 by sschirm
	from cl-21125292.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21094813 -  start thread additional tests [r Simon]

	p4rmerge of Change 21125307 by sschirm
	from cl-21125307.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3115970 on 2016/09/07 by Luke.Thatcher

	[PLATFORM] [PS4] [!]
	Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade.
	 - Library output path does not need to contain the Visual Studio version.
	 - Fixup library paths in PhysX.Build.cs

Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB.

	p4rmerge of Change 21125320 by sschirm
	from cl-21125320.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk] 21125154 -  Merging APEX 1.4 trunk and Epic integration branches.

	p4rmerge of Change 21127359 by sschirm
	from cl-21127359.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From trunk]  updated and added products - 21124943

	p4rmerge of Change 21127711 by sabdulajees
	from cl-21127711.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	Enable APEX_UE4 define for cmake

	p4rmerge of Change 21127770 by sabdulajees
	from cl-21127770.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	[From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating.

	p4rmerge of Change 21128334 by sabdulajees
	from cl-21128334.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	Add APEX_UE4 define

Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees

	Missed conflicted change in CL 3116047

Change 3116415 on 2016/09/07 by Ori.Cohen

	Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue.

Change 3117376 on 2016/09/08 by Luke.Thatcher

	[PLATFORM] [PS4] [~]
	Update PhysX/APEX compile warnings flags to minimal set needed for a successful build.

Change 3118458 on 2016/09/08 by Dmitry.Rekman

	Linux: first iteration of automated cross-build.

	- Still relies on make being available on the system.

Change 3118848 on 2016/09/08 by Chris.Babcock

	Added PxSharedDir +  src/*/include directories for PhysX (not found if APEX not enabled for platform)

Change 3119236 on 2016/09/09 by Keith.Judge

	PhysX 3.4 Automation Tool build for Xbox One.

Change 3119788 on 2016/09/09 by Chris.Babcock

	Fix all the blank lines (messing up resolves)

Change 3119801 on 2016/09/09 by Chris.Babcock

	Change filetype back to text

Change 3119804 on 2016/09/09 by Ori.Cohen

	Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh.

	#JIRA UE-35678

Change 3120210 on 2016/09/09 by Dmitry.Rekman

	Linux: PhysX libs + changes to make UE4Client built.

Change 3120441 on 2016/09/09 by Chris.Babcock

	Android: PhysX libs + changes to make UE4Client build (ARMv7 only!)

Change 3120857 on 2016/09/12 by Nick.Shin

	support tool: gnu win32 make

	#jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts
	#code.review dmitry.rekman

Change 3120876 on 2016/09/12 by Nick.Shin

	HTML5 platform -- PhysX automation tool support

	#jira UEPLAT-1324 - Update HTML5 PhysX to CMake

Change 3120881 on 2016/09/12 by Nick.Shin

	APEX files for HTML5 builds

	NOTE: these are work in progress
	- SIMD erros still needs to be looked at

Change 3121162 on 2016/09/12 by Ori.Cohen

	Remove unneeded glut and nv ext dll

	#JIRA UE-UE-35744

Change 3121209 on 2016/09/12 by Ales.Borovicka

	[From trunk] 21146632 -  PX-743 fixed convex hull issue

	p4rmerge of Change 21146795 by aborovicka
	from cl-21146795.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3121707 on 2016/09/12 by Dmitry.Rekman

	PhysX: fix path to bundled make.

Change 3122071 on 2016/09/12 by Chad.Garyet

	dev-physics upgrade build process

Change 3122096 on 2016/09/12 by Ori.Cohen

	Add rb none to auto generated build script

Change 3122098 on 2016/09/12 by Ori.Cohen

	Removing regex from json

Change 3122108 on 2016/09/12 by Ori.Cohen

	Fixing json to include -- in command line

Change 3122114 on 2016/09/12 by Chris.Babcock

	Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64

Change 3122123 on 2016/09/12 by Chad.Garyet

	fixing typos

Change 3122124 on 2016/09/12 by Chad.Garyet

	typo fix

Change 3122128 on 2016/09/12 by Chad.Garyet

	typo fix

Change 3122130 on 2016/09/12 by Chad.Garyet

	typo fix

Change 3122177 on 2016/09/12 by Chris.Babcock

	Android: added libraries (ARMv7, ARM64, x86)

Change 3122200 on 2016/09/12 by Chris.Babcock

	Fix bad escape character (\#)

Change 3122739 on 2016/09/13 by Chad.Garyet

	Making these full workspaces instead of compiles, compiles cannot submit to p4

Change 3122827 on 2016/09/13 by Dmitry.Rekman

	PhysX: fix case sensitive build.

Change 3122944 on 2016/09/13 by Nick.Shin

	support tool: gnu win32 make

	these are the source codes to the utility

	#jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts
	#code.review dmitry.rekman

Change 3123511 on 2016/09/13 by Dmitry.Rekman

	Linux: fix building when Cygwin is present.

	- Also: don't use Windows tools on non-Windows platforms.

Change 3123529 on 2016/09/13 by Nick.Shin

	forgot to submit this in CL: 3120876

Change 3123713 on 2016/09/13 by Michael.Trepka

	Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac

Change 3123716 on 2016/09/13 by Michael.Trepka

	PhysX 3.4 and APEX 1.4 libraries for Mac

Change 3123718 on 2016/09/13 by Chris.Babcock

	Android: added x86_64 (x64) PhysX libraries and cmake changes

Change 3124033 on 2016/09/13 by Ori.Cohen

	Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure.

Change 3124036 on 2016/09/13 by Dmitry.Rekman

	Fix compile error due to symbol collision.

Change 3124198 on 2016/09/13 by Ori.Cohen

	Fix file search not using the right build suffix for release builds.

Change 3124577 on 2016/09/14 by Ori.Cohen

	Fix environment PATH incorrectly dropping paths.

Change 3124897 on 2016/09/14 by Ori.Cohen

	Added platforms to physx build machine

Change 3124905 on 2016/09/14 by Chad.Garyet

	Swapping dev-physics stream to minimal vstream.

Change 3124928 on 2016/09/14 by Ori.Cohen

	Fix android typo

Change 3124940 on 2016/09/14 by Chad.Garyet

	adding email notifiers

Change 3125065 on 2016/09/14 by Ori.Cohen

	Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms.

Change 3125242 on 2016/09/14 by Ori.Cohen

	Remove DLL dependency on PhysXDevice64

Change 3125319 on 2016/09/14 by Dmitry.Rekman

	PhysXBuild: speed up make when building Linux.

	- Credits for the suggestion go to LukeT.
	- Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick).

Change 3125324 on 2016/09/14 by Dmitry.Rekman

	Fixes to Linux PhysX.

	- Bring missing defines to some Apex libs.
	- Set to always include debug info in Linux.
	- Set to use response file (for some reason this fixed a build locally despite CMake not using it).

Change 3125420 on 2016/09/14 by Ori.Cohen

	Remove caching of bodysetup cooking when there's a warning/error.

Change 3125675 on 2016/09/14 by Dmitry.Rekman

	Linux: fix case-sensitive compilation.

Change 3125718 on 2016/09/14 by Dmitry.Rekman

	Fix UAT building on Linux.

Change 3125735 on 2016/09/14 by Dmitry.Rekman

	Linux: changes for building PhysX natively

	- Needed for debugging (proper debug info gets built).

Change 3125868 on 2016/09/14 by Michael.Trepka

	iOS support for PhysX 3.4

Change 3125878 on 2016/09/14 by Michael.Trepka

	PhysX 3.4 libraries for iOS

Change 3125927 on 2016/09/14 by Dmitry.Rekman

	Linux: (better) architecture support.

	- Also a fix for Apex not having APEX_UE4 set.

Change 3125937 on 2016/09/14 by Dmitry.Rekman

	Linux: more fixes for Apex.

	- Minor changes after having APEX_UE4 defined properly.

Change 3126282 on 2016/09/15 by Luke.Thatcher

	[PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly.

	 - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1.
	 - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing.
	 - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android)
	 - Removed old PS4ToolChain.txt file which was unused.

Change 3126540 on 2016/09/15 by Michael.Trepka

	tvOS support for PhysX 3.4

Change 3126541 on 2016/09/15 by Michael.Trepka

	PhysX 3.4 libs for tvOS

Change 3126652 on 2016/09/15 by Simon.Schirm

	Remove PxShared src includes #rb Ori.Cohen

Change 3126869 on 2016/09/15 by Ori.Cohen

	Add mac cmake binary

Change 3126873 on 2016/09/15 by Ori.Cohen

	mac to use UE cmake bin

Change 3126895 on 2016/09/15 by Michael.Trepka

	Added +x to Mac cmake binary

Change 3126905 on 2016/09/15 by Michael.Trepka

	Fixed BuildPhysX.Automation.cs compile errors on Mono

Change 3126910 on 2016/09/15 by Nick.Shin

	addendum to: CL: #3120881

	APEX files for HTML5 builds
	- tested these changes for both PhysX and APEX builds

Change 3126922 on 2016/09/15 by Ben.Marsh

	Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools.

Change 3127072 on 2016/09/15 by Ori.Cohen

	Improve debug symbols for xbox and ps4

Change 3127194 on 2016/09/15 by Ori.Cohen

	Distinguish between cmake and cmake.exe

Change 3127833 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21162711 -  increased tolerance for refused verts in quick hull

	p4rmerge of Change 21162990 by aborovicka
	from cl-21162990.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3127960 on 2016/09/16 by Benn.Gallagher

	Duplicated clothing holes fix from Dev-Framework

Change 3127982 on 2016/09/16 by Ori.Cohen

	Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade)

Change 3128052 on 2016/09/16 by Ori.Cohen

	Fixed incorrect PxMat34Legacy legacy serialization (Owen bug).

Change 3128113 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21126371 -  Profiler changes

	- Remove PxProfileTypes
	It looks like nobody understands how to use this:
	struct PxProfileTypes
	{
	enum Enum
	{
	eNORMAL       = 0, //!< ordinary profile zone, starts and ends in same thread
	eSTALL        = 1, //!< thread is busy but can't progress (example: spin-lock)
	eIDLE         = 2, //!< thread is idle (example: waiting for event)
	eDETACHED     = 3, //!< zone crosses thread boundary
	eLOCK         = 4, //!< thread tries to acquire a lock, reports result on zoneEnd()
	eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd()
	eLOCK_FAILED  = 6, //!< locking mutex failed, to be passed to zoneEnd()
	eLOCK_TIMEOUT = 7  //!< locking mutex timed out, to be passed to zoneEnd()
	};
	};

	It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums.

	==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later.

	- Return a void pointer from zoneStart. Pass it to zoneEnd.
	Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation.
	We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name:
	void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno)
	{
	if ( mProfileZone )
	{
	uint16_t id = mProfileZone->getEventIdForName(eventName);

	void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId)
	{
	if ( mProfileZone )
	{
	uint16_t id = mProfileZone->getEventIdForName(eventName);

	But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd.
	This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least.

	p4rmerge of Change 21162866 by aborovicka
	from cl-21162866.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128119 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21126412 -  fixed compile error

	p4rmerge of Change 21162870 by aborovicka
	from cl-21162870.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128122 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21131564 -  Remove PxBufferedProfilerCallback.

	Review: Ales

	p4rmerge of Change 21162874 by aborovicka
	from cl-21162874.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128129 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21154319 -  Remove the PxProfileContext enum.

	The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value.

	Review: Ales

	p4rmerge of Change 21162877 by aborovicka
	from cl-21162877.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128134 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21159702 -  PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA

	p4rmerge of Change 21162880 by aborovicka
	from cl-21162880.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128139 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle

	p4rmerge of Change 21162901 by aborovicka
	from cl-21162901.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128143 on 2016/09/16 by Ori.Cohen

	Fix for TryGetVSInstallDir

Change 3128144 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21130799 -  PX-526 sweep geometry isValid [r Pierre]

	p4rmerge of Change 21162904 by aborovicka
	from cl-21162904.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128150 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21135017 -  fixed incorrect geometry sweep validation function

	p4rmerge of Change 21162909 by aborovicka
	from cl-21162909.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128154 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21130972 -  Fixed some build warnings produced on iOS.

	p4rmerge of Change 21162917 by aborovicka
	from cl-21162917.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128159 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21131769 -  Attempted fix for documentation build error.

	p4rmerge of Change 21162918 by aborovicka
	from cl-21162918.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128163 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21134721 -  Remove shadowed variable in constrainMotion in joint projection

	p4rmerge of Change 21162924 by aborovicka
	from cl-21162924.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128168 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21135420 -  Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle

	p4rmerge of Change 21162929 by aborovicka
	from cl-21162929.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128171 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21135492 -  Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle

	p4rmerge of Change 21162930 by aborovicka
	from cl-21162930.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128173 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21139402 -  Improve PVD profiling for multiple scenes

	Review: Ales

	p4rmerge of Change 21162932 by aborovicka
	from cl-21162932.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128181 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21145313 -  Improved support for multi-scenes profiling in PVD (continued)

	p4rmerge of Change 21162936 by aborovicka
	from cl-21162936.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128184 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21145467 -  Improved support for multi-scene profiling in PVD (continued)

	p4rmerge of Change 21162941 by aborovicka
	from cl-21162941.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128188 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21145584 -  Improved support for multi-scene profiling in PVD (continued)

	p4rmerge of Change 21162943 by aborovicka
	from cl-21162943.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128189 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21146617 -  PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon]

	p4rmerge of Change 21162947 by aborovicka
	from cl-21162947.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128190 on 2016/09/16 by Ben.Marsh

	Build PhysX targets in parallel.

Change 3128193 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21150008 -  PX-722 - PxClientID deprecated [r Kier]

	p4rmerge of Change 21162949 by aborovicka
	from cl-21162949.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128198 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21150053 -  Improved support for multi-scene profiling in PVD (continued)

	p4rmerge of Change 21162952 by aborovicka
	from cl-21162952.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128201 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21150234 -  fix compile error

	p4rmerge of Change 21162956 by aborovicka
	from cl-21162956.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128205 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21155265 -  metadata updated

	p4rmerge of Change 21162962 by aborovicka
	from cl-21162962.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128211 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle

	p4rmerge of Change 21162982 by aborovicka
	from cl-21162982.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128213 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21159818 -  kinematic rigid repX fix for Android

	p4rmerge of Change 21162989 by aborovicka
	from cl-21162989.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128222 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21150589 -  fixes after PxShared and PhysX changes

	p4rmerge of Change 21162999 by aborovicka
	from cl-21162999.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128228 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21159948 -  doxygen comments and indents fixes in public interface

	p4rmerge of Change 21163009 by aborovicka
	from cl-21163009.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128229 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21163740 -  Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle

	p4rmerge of Change 21163978 by aborovicka
	from cl-21163978.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128255 on 2016/09/16 by Ori.Cohen

	Include platform target in physx libs CL

Change 3128259 on 2016/09/16 by Ori.Cohen

	Fix android reference

Change 3128287 on 2016/09/16 by Ales.Borovicka

	[From trunk] 21127073 -  PX-693 added define PX_EMSCRIPTEN [r Simon]

	p4rmerge of Change 21162846 by aborovicka
	from cl-21162846.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3128622 on 2016/09/16 by Ori.Cohen

	Fix stale cpp in the pvdsdk cmake file.

Change 3128744 on 2016/09/16 by Ori.Cohen

	Fix force_inline preventing linker from finding symbols

Change 3128770 on 2016/09/16 by Ben.Marsh

	Add a nightly build for Dev-Physics-Upgrade

Change 3128792 on 2016/09/16 by Ori.Cohen

	Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp

Change 3128807 on 2016/09/16 by Ben.Marsh

	Really split PhysX nodes out onto different agents.

Change 3128835 on 2016/09/16 by Dmitry.Rekman

	Linux: Add support for ARM architecture (without APEX).

Change 3128951 on 2016/09/16 by Dmitry.Rekman

	Add Linux-ARM to the builder list.

Change 3129006 on 2016/09/16 by Dmitry.Rekman

	Fix for adding Linux ARM build.

Change 3129037 on 2016/09/16 by Ori.Cohen

	Fix DLL empty warning

Change 3129426 on 2016/09/16 by Ori.Cohen

	Refresh DDC key for new physx cooking libs

Change 3129428 on 2016/09/16 by Ori.Cohen

	Fix compiler error

Change 3130638 on 2016/09/19 by Ori.Cohen

	Add debug symbols to APEX on PS4

Change 3130977 on 2016/09/19 by Ori.Cohen

	Undefine APEX_API and PHYSX_API before including physx and apex headers.

Change 3131021 on 2016/09/19 by Ori.Cohen

	Add APEX_UE4 as a definition regardless of which module is being built.

	#JIRA UE-36044

Change 3131024 on 2016/09/19 by Ori.Cohen

	Make sure html5 gets apex ue4 flag

Change 3131517 on 2016/09/19 by Jeff.Farris

	Support for speculative CCD.

Change 3131935 on 2016/09/20 by Simon.Schirm

	[From trunk] 21163785 -  Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none

	p4rmerge of Change 21175004 by sschirm
	from cl-21175004.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3131942 on 2016/09/20 by Marijn.Tamis

	[APEX1.4]Async cloth Cooking issue workaround.

Change 3132145 on 2016/09/20 by Simon.Schirm

	[From trunk] 21170876 -  PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none

	Review: Simon

	p4rmerge of Change 21175012 by sschirm
	from cl-21175012.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3132289 on 2016/09/20 by Simon.Schirm

	[From trunk] 21175816 -  Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none

	p4rmerge of Change 21175823 by sschirm
	from cl-21175823.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3132316 on 2016/09/20 by Simon.Schirm

	[From trunk] updated and added products (only docs) #rb none

	p4rmerge of Change 21175900 by sschirm
	from cl-21175900.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3132614 on 2016/09/20 by Ori.Cohen

	Allow sweeps with 0 direction to still do an overlap check.

	#JIRA UE-35264

Change 3135155 on 2016/09/21 by Jeff.Campeau

	PhysX Xbox One Cmake fixes

Change 3135733 on 2016/09/22 by Ales.Borovicka

	[From trunk] 21184354 -  PX-662 fixed android issues with articulation [r Kier]

	p4rmerge of Change 21184355 by aborovicka
	from cl-21184355.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees

	Remove APEX_UE4 flag for individual platforms

Change 3136245 on 2016/09/22 by Simon.Schirm

	[From trunk] 21184998 -  Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none

	p4rmerge of Change 21185183 by sschirm
	from cl-21185183.p4r
	moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/

Change 3137891 on 2016/09/23 by Benn.Gallagher

	Fix to clothing shutdown to correctly clear fabric factories

Change 3138175 on 2016/09/23 by Ori.Cohen

	Fix unused variable warning

	#JIRA UE-36363

Change 3139645 on 2016/09/26 by Benn.Gallagher

	Fix CEF build failure from Merge

Change 3139706 on 2016/09/26 by Benn.Gallagher

	Fixed another merge issue in mcp plugin

Change 3139708 on 2016/09/26 by Ori.Cohen

	Remove unused variable in Apex.build.cs

	#JIRA UE-36363

Change 3139745 on 2016/09/26 by Ori.Cohen

	Fix xbox one not finding physx/apex libs.

Change 3139910 on 2016/09/26 by mason.seay

	Removing collision to fix cook error (replicating fix that was made in Odin stream)

	UE-36372

Change 3140178 on 2016/09/26 by Jeff.Campeau

	Fix Xbox One lib generation warnings (add default language element)

Change 3140179 on 2016/09/26 by Jeff.Campeau

	Fix Xbox One compile warning in PhysX source

Change 3140180 on 2016/09/26 by Jeff.Campeau

	Fix PhysX build errors (don't dllimport and include all needed libs)

Change 3140235 on 2016/09/26 by Jeff.Campeau

	Fix a couple more compile warnings from typos

[CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
Josh Adams
cff34abe0d Copying //UE4/Dev-Platform to Dev-Main (//UE4/Dev-Main)
#lockdown nick.penwarden
#rb none

[CL 3020245 by Josh Adams in Main branch]
2016-06-20 16:57:06 -04:00
Josh Adams
da8ed3878f Copying //UE4/Dev-Platform to //UE4/Main (Source: //UE4/Dev-Platform @ 3008177)
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2948322 on 2016/04/19 by Nick.Shin

	update libwebsockets to v1.7.4

	part 4 of 4 - doing this in stages for tracking purposes

	#jira UEPLAT-1246  -  Update libWebsockets
	#jira UEPLAT-1221  -  update websocket library
	#jira UEPLAT-1204  -  Rebuild libwebsockets with SSL

Change 2970016 on 2016/05/07 by Nick.Shin

	undo all of the following upgrades:
	- zlib
	- openssl
	- libcurl
	- libwebsockets

	and reset webrtc

	#jira UE-30298 - Fortnite and Orion crash on login
	#lockdown josh.adams

Change 2970373 on 2016/05/09 by Lee.Clark

	PS4 - Fix NumInstances not getting reset after DrawIndirect calls

Change 2972873 on 2016/05/10 by Michael.Trepka

	Correct initial position for SlateViewer windows on Mac

Change 2974363 on 2016/05/11 by Mark.Satterthwaite

	Fix invoking buils using distcc from UFE - the command-line executed to access the number of parallel tasks was incorrect.

Change 2975921 on 2016/05/12 by Michael.Trepka

	Removed unused AdjustWindowRegion declaration from LinuxWindow.h

	#codereview Dmitry.Rekman

Change 2977002 on 2016/05/13 by Michael.Trepka

	Make sure dSYM generation action in UBT on Mac does not start before the source dylib is ready

	#codereview Ben.Marsh

Change 2977337 on 2016/05/13 by Brent.Pease

	UE-27805 - Adding special characters into the BundleDisplayName or BundleName causes packaging error
	  + Prevent illegal characters from being entered in the packaging UI
	  + Report an error from iPhonePackager if a illegal bundle id is specified
	  + Convert special characters to XML equivalents

	- Correctly check for the presence of iTunes 12 when packaging iOS games on Windows

	- Improve ios certificate and provision message in package settings UI

	#codereview peter.sauerbrei

Change 2977509 on 2016/05/13 by Brent.Pease

	 + Fix mac compile error

Change 2978036 on 2016/05/14 by Mark.Satterthwaite

	One-line tweak that resolves incorrect rendering of the colour LUT because float imprecision allows -ve values to be passed into a call to pow which then generates NaN.
	#jira UE-30777

Change 2978037 on 2016/05/14 by Mark.Satterthwaite

	Fix a heap-use-after-free bug spotted by AddressSanitizer - you can't assume that the UObject system will be available in ShutdownModule() - on OS X it may have been killed a long time ago.

Change 2978333 on 2016/05/16 by Lee.Clark

	Fix packaging of non-code projects when plugins are enabled

	#codereview Peter.Sauerbrei

Change 2978780 on 2016/05/16 by Mark.Satterthwaite

	Reduce temporary allocations required to set uniform parameters in Metal.

Change 2979680 on 2016/05/16 by Nick.Shin

	editor's HTML5 platform settings was missing due to the emscripten SDK move

	should have been included with CL: #2946251

Change 2979681 on 2016/05/16 by Nick.Shin

	cleaned up websocket processing for HTML5

	#jira UE-13657 - HTML5 plugin OnRawRecieve overflow

Change 2979701 on 2016/05/16 by Brent.Pease

	UE-28421 - Message box cannot be closed after accessing the home screen on iOS

	 + Implement a timeout when waiting for a reply after sending background/foreground/suspend events from the main thread to the game thread. This solves the immediate problem presented in the jira bug report, however, there are deeper issues with the consequences of blocking the game thread that are not addressed. Perhaps structuring the game thread loop to know about modal dialogs so that it can receive these events even when a modal dialog is up could be a better longer term solution

Change 2980766 on 2016/05/17 by Jeremiah.Waldron

	Adding Android build support for HarfBuzz
	 - using a combination of android-cmake (from https://github.com/taka-no-me/android-cmake) to create the build files and Visual Studio 2015 to compile them
	 - Adding Debug and RelWithDebInfo compiled binaries to harfbuzz-1.2.4/Android/<arch>/<config>

	Tested armv7 with TextShapingTest project on a GalaxyNote3 and text showed up correctly
	#jira UE-28586
	#codereview chris.babcock

Change 2980953 on 2016/05/17 by Jeremiah.Waldron

	Changing HarfBuzz build script and libs to use Release instead of RelWithDebInfo
	#jira UE-28586

Change 2981039 on 2016/05/17 by Jeff.Campeau

	ICMP support disabled for Xbox One and basic address processing wrappers provided (needed for Oodle support)

Change 2981054 on 2016/05/17 by Jeff.Campeau

	Enable Live OSS for Orion on Xbox One

Change 2981553 on 2016/05/18 by Jeff.Campeau

	Enable Oodle for Xbox One

Change 2981555 on 2016/05/18 by Jeff.Campeau

	Scalability settings for Xbox One

Change 2981774 on 2016/05/18 by Keith.Judge

	Xbox One - Duplicating Movie Player fix from 4.12.

Change 2981789 on 2016/05/18 by Keith.Judge

	Xbox One - Duplicate fast semantics rendertarget unbind/clear/rebind fix from 4.12.

Change 2981802 on 2016/05/18 by Keith.Judge

	Xbox One - Duplicate of distance field AO/Shadow fixes from 4.12.

Change 2981875 on 2016/05/18 by Keith.Judge

	Xbox One - Dynamic VB/IB refactor. Duplicated from 4.12.

Change 2981900 on 2016/05/18 by Keith.Judge

	Xbox One - D3D11Query refactor. Duplicated from 4.12

Change 2981945 on 2016/05/18 by Nick.Shin

	filled out response headers for HTML5 platform

	#jira UE-26047 - HTML5 HTTP Response Headers not implemented

Change 2981981 on 2016/05/18 by Lee.Clark

	PS4 - Fix COTF not updating files

	#codereview Daniel.Lamb

Change 2982246 on 2016/05/18 by Michael.Trepka

	Fixed Mono compile errors in UT build scripts

Change 2983869 on 2016/05/19 by Mark.Satterthwaite

	Explicitly retain/release all the MTLTexture objects in FMetalSurface without the assumptions about them being the same object - the recent stencil & SRV related changes make those assumptions invalid and could lead to over-releasing some textures.
	#jira UE-29557

Change 2983871 on 2016/05/19 by Mark.Satterthwaite

	Pool Metal texture update buffers to reduce churn.

Change 2983892 on 2016/05/19 by Mark.Satterthwaite

	Duplicate 4.12 CL #2972885: Enable Metal resource lifetime delay on all platforms, not just iOS to try and address intermittent invalid resource errors.

Change 2983898 on 2016/05/19 by Mark.Satterthwaite

	Duplicate 4.12 CL #2982825: Correctly wait for the dispatch semaphore when clearing the Metal resource free lists.

Change 2983911 on 2016/05/19 by Mark.Satterthwaite

	Change Metal SubmitCommandsHint to use an enum of flags rather than boolean variables to control behaviour so that its clearer to the reader what is going to happen.

Change 2983916 on 2016/05/19 by Mark.Satterthwaite

	Duplicate 4.12 CL #2974765: Workaround for UE-30069 - on Nvidia Macs we are breaking the GMux swap the second time we run the engine and it isn't clear why, so instead explicitly select the Metal device ourselves and don't allow the OS to swap the GPU driving the display. This will potentially reduce performance a little if the discrete GPU isn't already driving the display but until we know how we are clobbering the GMux/driver it is all we can do. This only applies to 10.11.5 with the default OS X drivers where there is more than one GPU in the system, earlier versions of OS X and the Nvidia WebDrivers are unaffected.

Change 2984874 on 2016/05/20 by Keith.Judge

	Xbox One - Re-enable shader DXBC intermediate bytecode stripping, except for geometry and hull shaders where there's a possibility of runtime recompilation in certain combinations. Saves ~2MB in TM-ShaderModels, will save more in larger maps.

	#jira UEPLAT-1295

Change 2985446 on 2016/05/20 by Mark.Satterthwaite

	Remove the non-functional -metaldebug option from MetalRHI.

Change 2985827 on 2016/05/20 by Nick.Shin

	call EndSession() onbeforeunload()

	note: API CHANGE
	- HTML5JavaScripteFx.{js,h}
	- UE_MakeHTTPDataRequest()

	#jira UE-22285 - Session End events are not generated for HTML5

Change 2986013 on 2016/05/20 by Jeremiah.Waldron

	PR #2387: In-App Purchases - parameters needed for Receipt Validation (Contributed by gameDNAstudio)

	Also touches IOS because of added RawPrice member in FInAppPurchaseProductInfo
	Pulled from Release-4.12 CL

	#jira UE-30782
	#codereview chris.babcock, Peter.Sauerbrei

Change 2986057 on 2016/05/20 by Mark.Satterthwaite

	Further changes to ensure that UE-30710 really is fixed while also not live-leaking memory in MetalRHI.

Change 2986059 on 2016/05/20 by Mark.Satterthwaite

	Move the Metal uniform buffers into the same resource pool as all the other buffers and add stats for how many buffers are in the pool, how much memory is in use, free and wasted (due to aligned-buffer sizes).

Change 2986060 on 2016/05/20 by Mark.Satterthwaite

	Disable tiled-reflections on Nvidia & Intel Metal until they sort out the sample command on cube-arrays ignoring the lod level.

Change 2986063 on 2016/05/20 by Mark.Satterthwaite

	Missing change from previous CL.

Change 2986066 on 2016/05/20 by Mark.Satterthwaite

	More Metal stats tracking the number & memory size of id<MTLBuffer>'s allocated/released each frame.

Change 2986455 on 2016/05/23 by Keith.Judge

	Xbox One - Fix precompile promise in shader compiler to not stop subsequent defines from being parsed by D3DCompiler.

Change 2986886 on 2016/05/23 by Mark.Satterthwaite

	Duplicate 4.12 CL #2986880: Fix UE-31124 due to bad array iteration logic - amazing that this hadn't been seen earlier.

Change 2986955 on 2016/05/23 by Brent.Pease

	 + Do not error out if "[PROJECT_NAME]" is in the bundle ID

	#codereview peter.sauerbrei

Change 2987304 on 2016/05/23 by Chris.Babcock

	Remove old Android platforms
	#ue4
	#android
	#codeview Josh.Adams

Change 2987571 on 2016/05/23 by Mark.Satterthwaite

	Duplicate CL #2967998: Integrate - MaterialParameterCollections now create default resources (uniform buffers) which are used when no valid FScene is present (eg DrawTile while exporting materials to lightmass)
	#jira UE-31111

Change 2987591 on 2016/05/23 by Mark.Satterthwaite

	Remove usage of MTLRender/ComputeEncoder setSamplerState/s calls that take Min & Max Lod overrides - they currently don't work as expected on some GPU drivers and as we don't use them anywhere and I can't see that we will removing them costs us nothing and fixes tiled reflections on Nvidia with Metal SM5.

Change 2987679 on 2016/05/23 by Mark.Satterthwaite

	Re-enable tiled reflections on Nvidia by default now that they work.

Change 2987799 on 2016/05/24 by Mark.Satterthwaite

	Add a shader compile option "r.Shaders.ZeroInitialise" that we can turn on to force explicit zero-initialisation of local & temporary variables in hlslcc - so far only implemented for Metal. The default behaviour remains to omit zero-initialisation but the option is helpful to eliminate or track down uninitialised access in shaders that are causing real bugs (e.g. POM material relying on zero-initialised loop counters causing hangs/bad rendering on Mac).

Change 2989395 on 2016/05/25 by Lee.Clark

	PS4 - Fix shader output / render target format mismatch for sparse MRT.

Change 2990003 on 2016/05/25 by Jeremiah.Waldron

	When creating our own ConfigCacheIni in GetConfigCacheIni_APL, do not assume that the Engine ini was requested. Instead use the baseIniName passed to the function.

Change 2990393 on 2016/05/25 by Mark.Satterthwaite

	Back out changelist 2961310 - causes more problems than it solves. DistanceField rendering will still work on Intel Metal SM5  and may work on AMD but will be broken on Nvidia due to a bad access within the compute shader - there's no bounds checking in Metal...

Change 2990516 on 2016/05/25 by Brent.Pease

	 + UEPLAT-1294 - Support for local notifications
	 + UEPLAT-1254 - Add BP event for device orientation change
	 + Added a new class based on UGameInstance for mobile device callbacks
	 + Ensured IOSAppDelegate.cpp follows convention for lambda functions

Change 2991361 on 2016/05/26 by Jeremiah.Waldron

	Move InAppPurchase class to StoreHelper.java so GooglePlay and Amazon store helpers can use it

Change 2992450 on 2016/05/27 by Mark.Satterthwaite

	Optional r.Shaders.BoundsChecking flag to control whether shader platforms should manually enforce buffer access bounds - HLSL returns zero or ignores invalid reads & writes but Metal leaves the behaviour undefined and some drivers then fail. By default this is off and its whatever the native platform behaviour is, enabling it will cost some amount of performance as the shader translator inserts additional instructions to try and match D3D as accurately as possible. This is required to fix GPU restart errors on some Metal drivers when using SM5 rendering features including DistanceField shaders.

Change 2993027 on 2016/05/27 by Mark.Satterthwaite

	Fix typo for new CFLAG_BoundsChecking enumeration value.

Change 2993594 on 2016/05/27 by Mark.Satterthwaite

	Build fix - check not assert...

Change 2993595 on 2016/05/27 by Mark.Satterthwaite

	Fix typo from Xcode hang...

Change 2993614 on 2016/05/28 by Mark.Satterthwaite

	At least for now enable shader zero-initialisation and bounds-checking on Mac to ensure that Metal shaders are compiled with semantics that approximate those HLSL assumes. This may cost some performance but will avoid a few GPU restarts on some vendor drivers.

Change 2993747 on 2016/05/28 by Mark.Satterthwaite

	Separate texture & buffer references in the Metal backend as they bind to separate arrays in the runtime to avoid giving the side-table buffer an innaccessible binding index. Also the side-table doesn't need to be emitted if no buffer SRV or UAV is used.

Change 2994256 on 2016/05/31 by Lee.Clark

	PS4 - Fix unitialized Head Position from HMD tracker when tracking fails. Fixes a problem with A3D audio not working.

	#codereview Chad.Taylor,Aaron.McLeran

Change 2994281 on 2016/05/31 by Rolando.Caloca

	DP - Allow hlslcc to process type casts containing the 'const' keyword
	- it isn't strictly complete as it will simply omit the type qualifier from the cast in the AST but it is sufficient for FortniteFoliage_MasterMaterial to compile.
	#codereview Mark.Satterthwaite, Dmitry.Rekman
	#jira UE-31411

Change 2994467 on 2016/05/31 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 2994493 on 2016/05/31 by Daniel.Lamb

	Fixed issue with DDC commandlet not caching things from the startup packages list.

Change 2994644 on 2016/05/31 by Mark.Satterthwaite

	Updated hlslcc Mac binaries with fix for UE-31411 which RCO accepted and submitted + script for building parsers on POSIX OSes hooked up to an Xcode scheme in the project.

Change 2996074 on 2016/06/01 by Lee.Clark

	PS4 - Fix GS mode not getting disabled when using parallel contexts.

	#codereview Marcus.Wassmer

Change 2996129 on 2016/06/01 by Brent.Pease

	Manual merge of Pete's dsym generation fix (CL#2996089) from the 4.12 branch.

Change 2996130 on 2016/06/01 by Jeremiah.Waldron

	PR #2387 part 2  (Contributed by gameDNAstudio)
	Adding ability to consume purchases during GooglePlay RestorePurchases

	This also touches IOS due to changes to base classes and function signatures
	#codereview chris.babcock, Peter.Sauerbrei

Change 2996441 on 2016/06/01 by Jeremiah.Waldron

	Relates to PR #2387: Adding ability to consume purchases during GooglePlay RestorePurchases (Contributed by gameDNAstudio)

	Missing changes from part 2 reworked so that there is still only one RestorePurchases function which takes the product IDs and consumable flags. I reflected this in StoreHelper so no casting is necessary in GameActivity and the soon-to-be-added AmazonStoreHelper in the GameCircle plugin will still work dynamically with GameActivity since it will call StoreHelper functionality rather than a GooglePlayStoreHelper specific function.

	#codereview chris.babcock

Change 2996514 on 2016/06/01 by Jeff.Campeau

	Fix merge issue from main
	#jira UE-31502

Change 2996740 on 2016/06/01 by Jonathan.Fitzpatrick

	https://jira.ol.epicgames.net/browse/UE-31446
	Two PS4 source files fail during unity builds due to name conflict with handleReserveFailed.

	Renamed handleReserveFailed to handleReserveFailedLightweight

Change 2997235 on 2016/06/01 by Jeremiah.Waldron

	RestorePurchases fix up in Match3 since the new Restore consumable stuff adds an additional pin to the Restore node.
	The IAP product in Match3 is non-consumable so just passing an empty array where necessary

Change 2997241 on 2016/06/01 by Jeremiah.Waldron

	OnlineSubsystemGameCircle Plugin
	 - Leaderboards
	 - Achievements
	 - Friends
	 - IAP
	 - External UI Interface
	 - Runtime Settings in Project Settings Plugin section when plugin is enabled
	 - Disabled by default
	#jira UEPLAT-105
	#codereview chris.babcock

Change 2997618 on 2016/06/02 by Lee.Clark

	#UE4Docs: Removed PS4MapFileUtil info

Change 2997840 on 2016/06/02 by Jeremiah.Waldron

	Removing trace logging from OnlineSubsystemGameCircle_APL

Change 2998754 on 2016/06/02 by Brent.Pease

	Change BlueprintMobileLibrary to BlueprintPlatformLibrary

Change 3000762 on 2016/06/03 by Jeff.Campeau

	Add example rating info to ShooterGame

Change 3001037 on 2016/06/04 by Brent.Pease

	 + Add ui screens for delegate test, local notification test, and iap test
	 + Implement delegate test

Change 3001250 on 2016/06/05 by Brent.Pease

	 + Initial pass at IAP test screen

Change 3001639 on 2016/06/06 by Jeff.Campeau

	Fix Xbox One build issue with DX12
	#codereview Zabir.Hoque

Change 3002574 on 2016/06/06 by Jeremiah.Waldron

	Adding Android Install Location to Android platform runtime settings and manifest generation

Change 3002780 on 2016/06/06 by Brent.Pease

	 + Initial implementation of local notification test

Change 3003005 on 2016/06/06 by Jeremiah.Waldron

	OnlineSubsystemGameCircle plugin - adding setting for Fire TV support. Using that specification in the APL to Add/Update android.hardware.touchscreen feature required attribute

Change 3004392 on 2016/06/07 by Jeremiah.Waldron

	Fixing typo in APL comment :)

Change 3005768 on 2016/06/08 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 3005929 on 2016/06/08 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 3006151 on 2016/06/08 by Peter.Sauerbrei

	fix for LocalNotifications not available on TVOS
	#lockdown josh.adams

Change 3006183 on 2016/06/08 by Brent.Pease

	Manual merge CL#3000242 from Release-4.12 into Dev-Platform

	#lockdown josh.adams

Change 3006296 on 2016/06/08 by Peter.Sauerbrei

	submit an updated iPhonePackager and support DLLs
	#lockdown josh.adams

Change 3006378 on 2016/06/08 by Peter.Sauerbrei

	fix for API update to RestorePurchases
	#codereview brent.pease
	#lockdown josh.adams

#lockdown nick.penwarden

[CL 3008183 by Josh Adams in Main branch]
2016-06-09 17:45:44 -04:00
Matthew Griffin
f180dff107 Copying //UE4/Release-Staging-4.12 to //UE4/Dev-Main
#lockdown Nick.Penwarden

(Will update with full description tomorrow)

[CL 2984534 by Matthew Griffin in Main branch]
2016-05-19 19:35:35 -04:00
Josh Adams
d81e0f1653 Copying //UE4/Dev-Platform to //UE4/Main (Source: //UE4/Dev-Platform @ 2945165)
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2731596 on 2015/10/16 by Keith.Judge

	Fast Semantics - Add deferred resource deletion queue to make deleted resources be actually deleted a number of frames later so that the GPU is definitely finished with them. Hooked up the temporary SRVs for dynamic VBs as a first step.

Change 2764244 on 2015/11/12 by Keith.Judge

	Stop creating/deleting SRVs for dynamic buffers all the time. Instead add a new view when a new buffer is cycled and keep them around until the buffer is dead.

Change 2936695 on 2016/04/07 by Mark.Satterthwaite

	Disable Metal on Mac OS X versions prior to 10.11.4 because their drivers are too buggy and lots of issues users will encounter were fixed in 10.11.4.

Change 2936701 on 2016/04/07 by Mark.Satterthwaite

	Re-enable DistanceFieldAO on Mac Metal, but disable the support for Heightfield composition into the DistanceFieldAO as that currently requires Read+Write texture support which isn't present in Metal yet.

Change 2936702 on 2016/04/07 by Mark.Satterthwaite

	Enable capsule shadows on Metal SM5 for Mac Paragon.

Change 2936704 on 2016/04/07 by Mark.Satterthwaite

	Re-add Metal_MacES3_1 entries in RHIDefinition functions - not quite sure how they disappeared...

Change 2936706 on 2016/04/07 by Mark.Satterthwaite

	Fix implementation of BeginRenderingPrePass to only clear the depth+stencil buffers when it is asked to - this fixes LOD fading in Paragon on Mac when parallel execution is enabled. The parallel contexts were being instructed to clear the pre-pass data which was then fouling up all the subsequent rendering.

Change 2936708 on 2016/04/07 by Mark.Satterthwaite

	Extend workaround from 2905206 for UE-27818 to Metal as well as OpenGL - it isn't permissable to have an unbound resource on these APIs as you aren't allowed to make the assumption than an if-branch will protect against null dereference on the GPU.

Change 2936737 on 2016/04/07 by Mark.Satterthwaite

	Changes to reduce Metal's peak memory usage when streaming texture data in when loading levels:
	- When uploading data to Shared memory Metal textures dispose of the source buffer immediately as it won't be required after the call to replaceRegion.
	- Add an optional CVar ("rhi.Metal.MaxOutstandingAsyncTexUploads") and keep a count of outstanding async. texture uploads - really this might be better as a memory count - if teh current outstanding count is greater than the specified CVar wait for all operations to complete before purging the used buffers. By default the CVar is set to 0 which disables the tracking and the game will use all available memory.

Change 2936741 on 2016/04/07 by Mark.Satterthwaite

	For Metal don't use a texture-view unless the mip-range or texture format is different - we only create a texture-view if we absolutely have to in order to avoid performance reductions on some vendors. When this happens we'll have to update the SRV to point to the new source texture but that can be handled on bind.

Change 2936753 on 2016/04/07 by Mark.Satterthwaite

	Mutex the pipeline cache inside each Metal bound-shader-state - with parallel execution this can be modified from multiple threads.

Change 2936758 on 2016/04/07 by Mark.Satterthwaite

	Don't eliminate redundant Metal command-encoders on Intel either - this only seems to work correctly on AMD...

Change 2936762 on 2016/04/07 by Mark.Satterthwaite

	Validate that parallel contexts aren't asked to clear render-targets (incl depth/stencil) as this won't work as desired - each context will end up clearing the contents meaning none of the rendering will propagate which is probably not what you intend.

Change 2936765 on 2016/04/07 by Mark.Satterthwaite

	Fix alignment of blit-commands between textures & buffers in Metal. Mac Metal has no minimum alignment and allows tightly packed rows, but mobile H/W has a fixed row alignment of 64-bytes for linear texture data.

Change 2936767 on 2016/04/07 by Mark.Satterthwaite

	Remove the workaround for old Mac OS X AMD cards not supporting frame-buffer sRGB - I have a feeling it causes more problems than it solves.

Change 2936773 on 2016/04/07 by Mark.Satterthwaite

	Warn the user when trying to run on OpenGL 3.2 GPUs that they are running unsupported and there may be rendering errors and performance problems.

Change 2936777 on 2016/04/07 by Mark.Satterthwaite

	In MetalRHI move the calls that reset the state-cache and command-encoder to EndFrame and fix the fallout. Hopefully this will eliminate the problem where a draw call fails because a call to SetRenderTargets hasn't been made since the last time the command-buffer was submitted.

Change 2936788 on 2016/04/07 by Daniel.Lamb

	PR #2193: Commandlet tweaks: Fixup Redirects and Cook-on-the-fly Server (Contributed by FineRedMist)

Change 2936799 on 2016/04/07 by Mark.Satterthwaite

	Automatically enable RHI thread support in Metal if parallel execution is compiled in unless running the Editor which doesn't support it. The RHI thread is only enabled in Metal when parallel execution is available because there's little to no advantages to the RHI thread with Metal unless parallel execution is enabled. Also only enable async compute support when parallel execution is available and running on an AMD GPU as only AMD support it and again its only really useful when running things in parallel. Disable the async. compute fencing code when async. compute is disabled.

Change 2936923 on 2016/04/07 by Peter.Sauerbrei

	add exception when trying to access an ini section which we don't cache

Change 2937839 on 2016/04/08 by Lee.Clark

	PS4 - BC6H and BC7 support

	#jira OR-14804

Change 2937841 on 2016/04/08 by Lee.Clark

	Fix media player not opening the same file that has just been closed.

Change 2937843 on 2016/04/08 by Lee.Clark

	PS4 - Fix Media player seek and duration

Change 2938272 on 2016/04/08 by Mark.Satterthwaite

	Change the Metal texture lock/unlock code to use the immediate getBytes API to read from the texture unless it is stored in Private memory and requires we use the blit-encoder. This means iOS texture locking won't generally need to use the blit encoder with its row alignment restrictions as all textures will be Shared. On Mac most textures will still be accessed via blit operations  since Private memory is much more common than Managed.

Change 2938471 on 2016/04/08 by Nick.Shin

	load/save with "negative char size value" fixed

	two 'U''s were missing-- causing base64encoder and decoder to not return original data (or expected data for that matter)...

	C++ function shows these signatures:
	    \Engine\Source\Runtime\Engine\Public\SaveGameSystem.h
	    FGenericSaveGameSystem::SaveGame(..., ..., ..., ...<uint8>);
	    FGenericSaveGameSystem::LoadGame(..., ..., ..., ...<uint8>);

	javascript version was using signed operators...

	answerhub 386719 - broken load/save

Change 2938546 on 2016/04/08 by Nick.Shin

	upgrading zlib, openssl, libcurl & libwebsockets
	(part 1, for libwebsockets -- engine changes will be in part 2)

	and writting down all of the build instructions into a single script file

	future tasks may have the script broken to smaller sized files and placed in the respective library folders for simplicity -- for now, it's bundled together to ensure build is all-in-one...

	#jira UEPLAT-1246 - Update libWebsockets
	#jira UEPLAT-1221 - update websocket library
	#jira UEPLAT-1223 - Arrange testing for 'update websocket library'
	#jira UEPLAT-1203 - Add Linux library for libwebsockets
	#jira UEPLAT-1204 - Rebuild libwebsockets with SSL

Change 2939402 on 2016/04/11 by Mark.Satterthwaite

	No need to call synchroniseTexture on iOS when locking a texture for read - that function call is only available and required on OS X.

Change 2939526 on 2016/04/11 by Daniel.Lamb

	Don't mark content as modified when garbage collecting.
	#PR2249
	#2249

Change 2940094 on 2016/04/11 by Michael.Trepka

	Temporarily rollback //UE4/Dev-Platform/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalContext.cpp to revision 47 to unblock UE-29312

	#codereview Mark.Satterthwaite

Change 2940540 on 2016/04/12 by Jeff.Campeau

	Hardware decompress support for Xbox One.

Change 2940793 on 2016/04/12 by Lee.Clark

	PS4 - Fix file handle leaks

	#codereview Marcus.Wassmer

Change 2940903 on 2016/04/12 by Keith.Judge

	Xbox One - Fix validated driver warning when using async compute with dynamic buffers (remove dynamic buffers).
	Also resurrected the old deferred deletion queue (though simplified the code a lot as TQueue was horrible), as the platform agnostic one can't deal with placement created resources with a separate buffer/resource.
	Moved associated deferred deletion logic out of FD3D11DynamicBuffer.

	Attempted fix for UE-28758, but doesn't actually fix it. :(

Change 2940959 on 2016/04/12 by Michael.Trepka

	Moved RadioEffectUnit CoreAudio plugin to Engine/Build/Mac

	#codereview Ben.Marsh

Change 2940961 on 2016/04/12 by Michael.Trepka

	Updated GitHub readme for Mac with instructions for building ShaderCompileWorker

	#codereview Ben.Marsh

Change 2941010 on 2016/04/12 by Daniel.Lamb

	Added xboxone.projectsettings to the ini processer in UAT.
	#codereview Peter.Sauerbrei
	#jira UE-29344

Change 2941671 on 2016/04/12 by Jeff.Campeau

	March 2016 XDK update

Change 2941998 on 2016/04/13 by Mark.Satterthwaite

	In MetalCommandList retain/release when waiting on a command-buffer commit to ensure command-buffer lifetime.

Change 2942008 on 2016/04/13 by Keith.Judge

	Fix black reflections when async compute is enabled. Shader resource tables are now properly bound on the context, and fixed a bug where the buffer offset and number of constants wasn't being properly set when using the ring buffer.

	#jira UE-28758

Change 2942046 on 2016/04/13 by Lee.Clark

	Fix SN-DBS launch failure with VS2015 - (path env seems to be null in 2015)

Change 2942095 on 2016/04/13 by Mark.Satterthwaite

	MIssed a change to use AlignedStride rather than Stride in FMetalDynamicRHI::RHIReadSurfaceFloatData to fix iOS blit-encoder read-back.

Change 2942383 on 2016/04/13 by Mark.Satterthwaite

	When locking a Metal texture on Mac you have to submit the command buffer & wait in a different location for Private vs. Managed access.

Change 2942419 on 2016/04/13 by Michael.Trepka

	Enabled IPv6 on iOS and Mac

	#jira UEPLAT-1168

Change 2942472 on 2016/04/13 by Daniel.Lamb

	Fixed missing OnlineSubsystemGooglePlay section from UAT ini processing.
	#codereview Peter.Sauerbrei

Change 2942829 on 2016/04/13 by Nick.Shin

	removing unused emscripten - ThirdParty folder

	the ThirdParty folder contained a lot of GPL (and sometimes missing) licensing projects - removing to keep legal happy

	tested with full rebuild, full cook, packaging and running QAGame

Change 2943110 on 2016/04/13 by Chris.Babcock

	Fix Oculus mobile binaries filtered (include the jars)
	#jira ue-29080
	#ue4
	#android
	#gearvr
	#codereview Nick.Whiting

Change 2943111 on 2016/04/13 by Chris.Babcock

	Fix GearVR plugin jar copy logic
	#jira UE-29108
	#ue4
	#android
	#gearvr
	#codereview Nick.Whiting

Change 2943579 on 2016/04/14 by Peter.Sauerbrei

	enable tvOS in the binary build

Change 2943587 on 2016/04/14 by Peter.Sauerbrei

	creation of xcode archives when using the archive command with iOS

Change 2943619 on 2016/04/14 by Mark.Satterthwaite

	Make Metal SM4 the default on Mac again for the 4.12 release. As expected there are many bugs to resolve.

Change 2943869 on 2016/04/14 by Daniel.Lamb

	Turned duplicate stage of files into warning.
	#codereview Peter.Sauerbrei
	#lockdown Josh.Adams
	#jira UE-29487

Change 2943901 on 2016/04/14 by Keith.Judge

	Xbox One - Fix start up crash.

	#lockdown Josh.Adams

Change 2943981 on 2016/04/14 by Mark.Satterthwaite

	Allow RWBuffers in Metal, which should work, but not RWTextures which aren't yet supported.
	#jira UE-29492
	#lockdown josh.adams

Change 2944080 on 2016/04/14 by Peter.Sauerbrei

	temporarily remove code which removes passwords in ini files which reside in the pak file
	multiple defaultengine.ini files were being copied over one another
	#lockdown josh.adams

Change 2944249 on 2016/04/14 by Peter.Sauerbrei

	fix for writing out DefaulEngine.ini when deprecated items are not changed
	#codereview zabir.hoque
	#lockdown josh.adams

Change 2944454 on 2016/04/14 by Peter.Sauerbrei

	fix for incorrect archive directory and missing IPA
	#jira UE-29509
	#lockdown josh.adams

Change 2944834 on 2016/04/15 by Peter.Sauerbrei

	fix for crash on some iOS device due to resources being freed while still in use by the GPU
	#jira UE-29517
	#lockdown josh.adams

Change 2944915 on 2016/04/15 by Peter.Sauerbrei

	fix for including Facebook SDK in tvOS since we don't have the Facebook libraries for tvOS yet
	#lockdown josh.adams

Change 2945164 on 2016/04/15 by Josh.Adams

	- Removing XboxOnePDBFile from junkmanifest, causes too much trouble when staging using AutoSDKs
	#lockdown nick.penwarden
	#codereview jeff.campeau

#lockdown nick.penwarden

[CL 2945174 by Josh Adams in Main branch]
2016-04-15 10:04:09 -04:00
Josh Adams
cf651e0c63 Change 2898947 on 2016/03/08 by Mark.Satterthwaite
Move the Apple Driver Monitor stats into their own stat groups, DriverMonitor has the common stats, DriverMonitorAMD/Intel/Nvidia have the vendor/GPU specific stats. The Metal and OpenGL RHIs update the driver monitor stats group for the current GPU at the appropriate time.

Change 2898950 on 2016/03/08 by Mark.Satterthwaite

	More shader cache code documentation.

Change 2898952 on 2016/03/08 by Michael.Trepka

	Check GPU driver version and warn of bad drivers only on Windows

Change 2898964 on 2016/03/08 by Mark.Satterthwaite

	Only verify the vertex attribute layout for Metal in debug builds or when using development with the debug layer turned on. It reduces performance significantly and isn't all that helpful unless you are attempting to debug a mismatch.

Change 2898973 on 2016/03/08 by Mark.Satterthwaite

	Switch uniform buffers to managed memory on Mac as this is more appropriate for AMD & Nvidia GPUs.

Change 2898988 on 2016/03/08 by Mark.Satterthwaite

	Simplify MetalContext by having only one SubmitCommandsHint implementation.

Change 2899011 on 2016/03/08 by Mark.Satterthwaite

	Duplicate 4.11 CL #2898988:

	Proper fix for UE-25804 - we have to manually expand PF_G8 + SRGB to RGBA8_sRGB - this then fixes UE-27483.
	#jira UE-25804
	#jira UE-27483

Change 2899024 on 2016/03/08 by Mark.Satterthwaite

	Duplicate 4.11 CL #2887365 & CL #2887583:

	Allow InfiltratorDemoEditor under Metal to issue a query buffer reset without crashing - the function that switches to the new query buffer needs to reapply some of the draw-state so that future commands don't dereference nil.
	#jira UE-27513

	My earlier fix for UE-27513 overlooked various internal details that meant it wouldn't restore state correctly, would fail validation and could crash in a new place. This version will ensure that cached state is only reset when it is appropriate to do so and will restore it correct when doing a query buffer reset.
	#jira UE-27513

Change 2899418 on 2016/03/08 by Daniel.Lamb

	Added support for textboxes in the editor to convert uasset filenames into long package names. As this is more useful to the cooker and more portable for projects.
	#codereview Matt.Kuhlenschmidt
	#jira UE-27785

Change 2899419 on 2016/03/08 by Daniel.Lamb

	Added support for passing -opengl command through to launch on if the editor is started with it.
	#codereview Michael.Trepka

Change 2900846 on 2016/03/09 by Mark.Satterthwaite

	Reimplement Metal object lifetime tracking as stats in the stat-group, though the old system is maintained as a debug-only tool that could (and probably should) be extended to track over/under-release bugs. Currently the texture count will be distorted by texture SRVs so will need improvement but other stats should be reliable. In order to properly report the number of buffers the TResourcePool policy class must now define a FreeResource function, so I've added them to the appropriate places too.

Change 2900853 on 2016/03/09 by Mark.Satterthwaite

	Optimise away empty encoders that don't perform a clear operation on AMD & Intel, but not Nvidia or non-Mac Metal devices. This should slightly improve performance.

Change 2900927 on 2016/03/09 by Mark.Satterthwaite

	Implemented operation threshold submission of Metal command buffers to keep the GPU busier and not just idle waiting for the CPU. Whenever rhi.Metal.CommandBufferCommitThreshold is set to a value >0 and the current command buffer has >= draw/dispatch operations outstanding then the command-buffer will be committed at the next encoder boundary. The default value is 100 operations which is currently arbitrary and the feature can be disabled by setting the value to <= 0 in which case only explicit submissions will occur as previously.

Change 2901310 on 2016/03/09 by Mark.Satterthwaite

	Change OneColor clear shader setup so that it works with parallel encoding in Metal.

Change 2903002 on 2016/03/10 by Mark.Satterthwaite

	Instantiate the OneColor shaders once in Metal.

Change 2903274 on 2016/03/10 by Mark.Satterthwaite

	Remove more unnecessary parallel execution stalls from MetalRHI.

Change 2903402 on 2016/03/10 by Mark.Satterthwaite

	Implement Metal support for index buffer SRVs.

Change 2903419 on 2016/03/10 by Mark.Satterthwaite

	Always use Managed memory on Mac Metal for buffers.

Change 2905206 on 2016/03/11 by Mark.Satterthwaite

	Worked around UE-27818 "ElementalDemo Causes Invalid Rendering on AMD GPUs" - recent changes to allow mesh particles to write to velocity leave a texture-buffer unbound & then use a uniform value & an if-branch to guard against access but AMD's Mac GL driver notices that the buffer is referenced in the shader but not bound & promptly tries to fallback to Apple's S/W renderer regardless of what the uniform value is. That's legal behaviour for an OpenGL implementation so the C++ code has been changed to allocate and write the current transforms into the buffer for OpenGL when they wouldn't otherwise be provided. This is sufficient to avoid the problem without affecting any other API.

Change 2906217 on 2016/03/11 by Nick.Shin

	re-enabled http network file server
	it was disabled in CL: #2790193

	#jira UE-22166 HTML5 Cook on the fly will launch and then close browser

Change 2908203 on 2016/03/14 by Michael.Trepka

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform). Everything but SSF lib.

Change 2908553 on 2016/03/14 by Mark.Satterthwaite

	Force a submit & wait in Metal when contexts are being destroyed to prevent kernel panics in drivers which continue to process the now abandoned command-queue and encounter invalid resources (because we destroy them on shutdown).

Change 2908595 on 2016/03/14 by Michael.Trepka

	Fixed iOS compile error in MetalUniformBuffer.cpp

	#codereview Mark.Satterthwaite

Change 2910106 on 2016/03/15 by Mark.Satterthwaite

	Use a dispatch_semaphore not an FEvent for Metal free-list synchronisation as the dispatch_worker threads can't be properly setup for FStats and this causes problems.

Change 2910107 on 2016/03/15 by Mark.Satterthwaite

	Fix Metal reporting of GPU memory through the RHI as it is in bytes, not MB.

Change 2910138 on 2016/03/15 by Mark.Satterthwaite

	Properly retain/release dispatch_semaphore for Metal command buffer completion block & allow uniform buffer creation on parallel encoding thread.

Change 2911735 on 2016/03/16 by Nick.Shin

	housekeeping

	removing extra and inconsistant whitespace as well as making tabs & spaces consistant

[CL 2936662 by Josh Adams in Main branch]
2016-04-07 12:59:50 -04:00
Andrew Grant
0b4257e23a Copying //UE4/Orion-Staging to //UE4/Main (Source //Orion/Dev-General @ 2927258)
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 2927181 on 2016/03/29 by Dmitry.Rekman

	(Optionally) exclude idle time from server FPS charts.

	- Time spent waiting for the next frame in order to hit capped FPS can be optionally excluded by using t.FPSChart.ExcludeIdleTime (set to 1 for servers).
	- Server FPS charts analytics events and log output will include the information if idle time was excluded.

	- Also: added a log line each time we detect a server hitch for easier pin-pointing them in the log.

	#rb Paul.Moore
	#codereview Paul.Moore, Michael.Noland
	#tests Ran Linux server and Windows client on compatible content.

Change 2927084 on 2016/03/29 by Ben.Marsh

	BuildGraph: Don't allow triggers to run until all their order dependencies are complete. Just because a downstream node doesn't have a dependency on an upstream node via temp storage doesn't mean it can run immediately.

	#rb none
	#tests none

Change 2927060 on 2016/03/29 by Michael.Noland

	Renamed GPU analytics event from GPU to DesktopGPU to reflect that it is the default desktop adapter and not the one we initialized (which is GPUAdapter)
	Updated text/log based FPS chart events to print out GPUAdapter instead (with DesktopGPU in parens if they differ, e.g., in an optimus setup)
	#rb marcus.wassmer
	#tests Ran and did some fps charts

Change 2927048 on 2016/03/29 by Michael.Noland

	HLOD: Removed an unused cvar r.HLODEnabled (everything is done thru r.HLOD)
	#tests Compiled and ran Paragon
	#rb marcus.wassmer

Change 2926920 on 2016/03/29 by Ben.Marsh

	BuildGraph: Update schema with Rename task.

Change 2926911 on 2016/03/29 by Ben.Marsh

	BuildGraph: Add a task which can rename files matching a given wildcard. Syntax is: <Rename Files="*.txt" To="*.md"> or <Rename Files="Engine/Build/..." From="*.txt" To="*.md"/>

	#rb none
	#tests none

Change 2926908 on 2016/03/29 by Andrew.Grant

	Fix for CDO properties of renamed blueprints not being applied
	#rb none
	#tests loaded Origin map (renamed from Playgo3) and verified properties are applied.

Change 2926799 on 2016/03/29 by Jason.Bestimt

	#ORION_DG - Merge MAIN (23) @ CL# 2926780

	#RB:none
	#Tests:none

Change 2926663 on 2016/03/29 by david.nikdel

	#ROBOMERGE-OBO: jason.bestimt
	#ROBOMERGE-SOURCE: CL 2926660 in //Orion/Release-0.23/... via CL 2926662
	#ROBOMERGE-BOT: ORION (Main -> Dev-General)

	#ORION_23 - Potential fix for Cook failures

	"Fix shelved in 2926635, tested in Dev-Blueprints. Could not run any GEditor related logic safely in ShutdownModule because of the same destruction issue orders that caused the bug in the first place. I will chat with Editor team about nulling out GEditor the same way we null out GUnrealEd."

	#RB:none
	#Tests: none

	[CodeReviewed]: andrew.grant, dan.oconnor

Change 2926510 on 2016/03/29 by Andrew.Grant

	Potential fix for OR-18207 - editor becomes unresponsive (audio deadlock)
	#rb none
	#tests compiled

Change 2926495 on 2016/03/29 by Rob.Cannaday

	Change storing HTTP requests as raw pointers to weak pointers with validity being checked via Pinning it
	#jira FORT-18947
	#jira OR-17695
	#tests golden path
	#rb eric.newman

Change 2926427 on 2016/03/29 by Josh.Markiewicz

	#UE4 - fixed typo
	#rb none
	#tests none

Change 2926250 on 2016/03/29 by Martin.Mittring

	fixed OR-18489 HERO: IGGY: RMB on E ability causes blinding hair effect
	#rb:Chris.Bunner
	#codereview:Brian.Karis

Change 2926224 on 2016/03/29 by Daniel.Lamb

	Fix for potenital threading issue with Console manager removing vars which could cause double free.
	#rb Robert.Manuszewski
	#test Orion cook

Change 2926174 on 2016/03/29 by Gareth.Martin

	Cloned fix for bUseMaterialPositionOffsetInStaticLighting crashing across from //UE4/Dev-Landscape/ to unblock people
	#rb
	#tests editor

Change 2925968 on 2016/03/29 by David.Nikdel

	#MCP #OSS
	- Read RedirectUrl from ini

	#RB: Eric.Newman
	#TESTS: compiled in another branch (merge over)
	#ROBOMERGE: Main

[CL 2929424 by Andrew Grant in Main branch]
2016-03-31 15:18:30 -04:00
Jeff Campeau
4953cf332e Partial support for the VS2013 toolchain readded.
Individual projects select 2013 support through their target.cs files. This is already setup for the correct projects and no other projects should use 2013.
#lockdown Nick.Penwarden

[CL 2902827 by Jeff Campeau in Main branch]
2016-03-10 04:38:13 -05:00
Josh Adams
b9b38fe97b Copying //UE4/Dev-Platform to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2816560 on 2016/01/05 by Jeff.Campeau

	Remove duplicate CEF binaries

Change 2835599 on 2016/01/20 by Lee.Clark

	PS4 - Added pragma optimization macros

Change 2841103 on 2016/01/23 by Mark.Satterthwaite

	Integrate Git PR #1958: Fixed typo in EMetalFeatures enum
	#jira UE-25721

Change 2841369 on 2016/01/24 by Mark.Satterthwaite

	Fix for Metal crash due to attempt to set a null uniform & null SRV to a shader which requires both exist.
	#jira UE-25910

Change 2841795 on 2016/01/25 by Lee.Clark

	PS4 - MovieStreamer improvements

	* Use GPU for YUV conversion
	* Use new Software2 Decoder

Change 2842261 on 2016/01/25 by Mark.Satterthwaite

	Fix some memory leaks.

Change 2842831 on 2016/01/25 by Mark.Satterthwaite

	Metal implementation for RHIBlockUntilGPUIdle.

Change 2842838 on 2016/01/25 by Mark.Satterthwaite

	When using parallel command contexts in Metal we must ensure that the FRingBuffer is still valid, which means some smart/weak pointers are in order. We should also ensure that functions that may return auto-released objects are appropriately wrapped with scoped autorelease pools. Texture creation failures should also be fatal as we never expect that to occur.

Change 2842914 on 2016/01/25 by Mark.Satterthwaite

	Change assert in MetalTexture's format-shifting SRV constructor to enforce the Metal textureView limits:
	1. No format shifting for MSAA color buffers.
	2. No access to stencil in MSAA packed depth/stencil surface.

	This will allow Metal MSAA support to work on iOS when using separate depth & stencil textures since there's no format shifting involved there.
	#codereview peter.sauerbrei

Change 2843028 on 2016/01/25 by Mark.Satterthwaite

	In Metal wwitch to blit on the correct context when copying out the stencil data into the stencil SRV copy.

Change 2845531 on 2016/01/27 by Lee.Clark

	PS4 - Fix memory alignment  for back buffers
	* Fix memory alignment for MapLargeBlock
	* Fix available direct memory tracking

Change 2846491 on 2016/01/27 by Jeff.Campeau

	2015 compile fixes for Orion

Change 2847395 on 2016/01/28 by Mark.Satterthwaite

	Clear the stencil-SRV copy to 0 in Metal using a blit when created to avoid artefacts if used prior to the parent texture being rendered.
	#jira UE-25834

Change 2847419 on 2016/01/28 by Mark.Satterthwaite

	Apply the same fix to OpenGL's Stencil SRV logic as CL #2847395 applies to Metal.

Change 2848093 on 2016/01/28 by Mark.Satterthwaite

	Cache parallel encoding Metal contexts & reuse them rather than creating a new one each time in order to massively improve parallel encoding performance. This required adding a reset function to Metal's internal state-cache which calls the CommandEncoder wrapper's reset so we don't accidently retain previous state.

Change 2849469 on 2016/01/29 by Mark.Satterthwaite

	Defer render & compute command encoder construction to draw/dispatch etc to eliminate redundant encoders that then perform unnecessary driver & GPU synchronisation work. Currently Clear loadActions force an encoder even if it would then be empty as otherwise we see incorrect rendering. This needs to be tracked and optimised away too in order to achieve the same performance as D3D11.

Change 2849820 on 2016/01/29 by Daniel.Lamb

	Fixed issue where a single DDC back end would not create a hierarchy.
	#codereview Peter.Sauerbrei

Change 2850762 on 2016/02/01 by Jeff.Campeau

	System-wide critical section support for Xbox One

Change 2850763 on 2016/02/01 by Jeff.Campeau

	Network and product config for Orion

Change 2852459 on 2016/02/02 by Mark.Satterthwaite

	Temporarily disable the lazy render command-encoder construction while investigating why it turns some samples black in Metal SM5 mode.

Change 2853947 on 2016/02/03 by Mark.Satterthwaite

	Fix some lazy encoder construction fallout which also means we don't need to recreate render encoder state when performing profiling - the next draw/clear will do that as required.

Change 2854015 on 2016/02/03 by Mark.Satterthwaite

	Move Stencil SRV blitting into FMetalSurface::UpdateSRV called when binding the texture SRV instead of having it done immediately post-rendering. This should avoid paying for the blit when stencil SRV sampling is never used or multiple blits when render-encoders that write stencil are split up due to query buffer overflow or similar. The cost will be a blit per-bind instead which should be more predictable.

Change 2854142 on 2016/02/03 by Mark.Satterthwaite

	Implemented GetTextureBaseRHI (brought over from Dev-Rendering CL #2853948) for Metal to avoid unnecessary virtual function call chain to resolve the FMetalSurface* from an RHI texture.

Change 2854222 on 2016/02/03 by Mark.Satterthwaite

	Remove the uniform buffer resource caching from Metal to match Dev-Rendering CL #2853948.

Change 2854246 on 2016/02/03 by Mark.Satterthwaite

	Removed the uniform buffer resource caching from OpenGLDrv & implemented GetTextureBaseRHI to avoid unnecessary virtual function calls to match Dev-Rendering CL #2853948.

Change 2854279 on 2016/02/03 by Mark.Satterthwaite

	Remove direct access to the MTLCommandQueue, for parallel rendering to work we're going to need to do a bit of management that means its more sensible to keep it private.

Change 2855524 on 2016/02/04 by Lee.Clark

	PS4 - Fix Grayscale SRGB support

[CL 2898161 by Josh Adams in Main branch]
2016-03-07 20:55:29 -05:00
Ben Marsh
5e75112469 Copying //UE4/Dev-Build to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2828332 on 2016/01/14 by Matthew.Griffin

	Ensure that warnings from Dynamic Compilation of build.cs files are propagated up to user when compiling in Visual Studio etc.

Change 2828335 on 2016/01/14 by Matthew.Griffin

	Renaming AddThirdParty... functions to AddEngineThirdParty... so it's clear we're talking about third party libraries within the engine directory. This removes another couple of RunningRocket checks and uses the IsMonolithic property now.

Change 2831365 on 2016/01/16 by Ben.Marsh

	Add a UAT command to remove any temp storage directories older than a specified length of time, and disable the GUBP node to do so when running with -NewEC. Better to set this up as a separate scheduled task for each temp storage folder we have, rather than run it as part of GUBP builds above a certain size.

Change 2832166 on 2016/01/18 by Ben.Marsh

	Make INI file parsing much more tolerant to errors, because it prevents the build system from starting up. Now outputs warnings rather than throwing exceptions.

Change 2835725 on 2016/01/20 by Matthew.Griffin

	Removed more uses of RunningRocket functions

	Switch Linux staging check to see if required files exist until switched to using receipts
	Always stage CrashReporter for Linux
	Mac and Linux will not use Compile Lean And Mean when generating project files
	Allow normal DynamicCompilation check to occur in binary builds
	Allow XMPP dependency on WebRTC now that it's publically distributed

Change 2835864 on 2016/01/20 by Matthew.Griffin

	Made sure -rocket is passed when generating project files as this has to work from UnrealVersionSelector with every version of the Engine we've released.
	Also tidied up some arguments that are set in UVS and never used.

Change 2839932 on 2016/01/22 by Matthew.Griffin

	Removed last uses of RunningRocket from UnrealBuildTool

	Changed Mac Build.sh so that it doesn't try to build UBT so that it can be used in installed builds the same way as windows.
	Combined code doing very similar things for single games and rocket projects.
	Removed check on whether to add client and server targets in Rocket as we don't distribute the .target.cs files.
	Removed RunningRocket function and the code checking for -rocket on the command line

Change 2846971 on 2016/01/28 by Matthew.Griffin

	Replaced RunningRocket with IsEngineInstalled for all Engine programs that won't need to be built.

Change 2853879 on 2016/02/03 by Matthew.Griffin

	Added UnrealLightmass to list of programs to build when Build Solution is used and Editor configuration is selected

	#jira UE-25666

#lockdown Nick.Penwarden

[CL 2854567 by Ben Marsh in Main branch]
2016-02-03 15:40:40 -05:00
Josh Adams
db43da290b Copying //UE4/Dev-Platform to Dev-Main (//UE4/Dev-Main)
Change 2783376 on 2015/11/30 by Nick.Shin

	upgrading emscripten SDK to 1.35.9
	following instruction from the README file

Change 2787414 on 2015/12/02 by Nick.Shin

	upgrading emscripten to 1.35.0
	removing old SDK and tools for Mac and Win64

Change 2790218 on 2015/12/04 by Nick.Shin

	merge (CL: #2790164) from //UE4/Dev-Physics to //UE4/Dev-Platform
	PhysX HTML5 bc files

Change 2794786 on 2015/12/08 by Nick.Shin

	merge CL #2794757 part 1 of 2
	from //UE4/Dev-Physics/PhysX/PhysX_3.3/Lib/html5
	to //UE4/Dev-Platform/Engine/Source/ThirdParty/PhysX/PhysX-3.3/lib/HTML5/

Change 2794789 on 2015/12/08 by Nick.Shin

	merge CL #2794758 part 2 of 2
	from //UE4/Dev-Physics/PhysX/PhysX_3.3/Lib/html5
	to //UE4/Dev-Platform/Engine/Source/ThirdParty/PhysX/PhysX-3.3/lib/HTML5/

Change 2799151 on 2015/12/10 by Dmitry.Rekman

	Guarantee XGE.xml sorting order for 10+ builds.

	- A licensee pointed out the problem that AutomationTool.UE4Build.FindXGEFiles() sorts the files by filename, so e.g. UBTExport.10.xge.xml takes priority over UBTExport.2.xge.xml.

	#codereview Ben.Marsh

Change 2799440 on 2015/12/11 by Mark.Satterthwaite

	Duplicate CL #2790251: Temporarily revert some of the changes for Mac mouse cursor locking as they were causing more problems than they solved.

Change 2799441 on 2015/12/11 by Mark.Satterthwaite

	Duplicate CL #2796111 & #2796158: Fix cooking shader cache files - it wasn't being enabled despite a cached shader format being listed.

Change 2799442 on 2015/12/11 by Mark.Satterthwaite

	Duplicate CL #2797758: Defer calls to AUGraphUpdate into FCoreAudioDevice::UpdateHardware - this call will synchronise the calling thread with the CoreAudio thread/run-loop so that the CoreAudio graph is safe to modify and this may incur a significant stall. This means it is far more efficient to amortise the cost of all changes to the graph with a single call. To ensure correctness the audio format conversion components are cached and disposed of after the call to AUGraphUpdate so that any existing operations on the CoreAudio thread are completed prior to disposal.

Change 2799601 on 2015/12/11 by Mark.Satterthwaite

	Implement background reading of NSPipe's in Mac ExecProcess to avoid the sub-process blocking trying to write to the meagre 8kb internal buffers. This may fix problems with SVN on Mac.

Change 2799657 on 2015/12/11 by Mark.Satterthwaite

	Remove the hlslcc major version from the Metal and OpenGL shader formats to ensure that there are enough bits to represent the different version components. There's no expectation that the major version of hlslcc will change and it will soon be removed entirely.

Change 2799691 on 2015/12/11 by Mark.Satterthwaite

	Merging final internal-only changes from WWDC.

Change 2800182 on 2015/12/11 by Mark.Satterthwaite

	Capture the system.log contents from the moment we boot to the point we crash to report GPU restarts and other system errors not written into our own logs.

Change 2801395 on 2015/12/14 by Mark.Satterthwaite

	Fix the Metal shader compiler so that it properly reports the number of sampler objects in use, not the number of textures as Metal separates its 16 samplers and up-to 128 textures in a single shader stage, like D3D and unlike OpenGL. This fixes a lot of material compile errors in newer projects which aren't being designed for obsolete OpenGL.

Change 2801653 on 2015/12/14 by Daniel.Lamb

	Load package differ can now diff header part of packages.
	Changed the way IsChildCooker is handled improves performance of multiprocess cooker.

Change 2801655 on 2015/12/14 by Daniel.Lamb

	Added cooker warning to resave packages if they don't have collision data for their static meshes.
	Added NavCollision creation on static mesh import so that we save out the NavCollision.

Change 2801923 on 2015/12/14 by Daniel.Lamb

	Fix compilation error with CreateLoader.

Change 2802076 on 2015/12/14 by Daniel.Lamb

	Remove some debugging assistance code.

Change 2803207 on 2015/12/15 by Mark.Satterthwaite

	Add missing Metal formats for PF_R16_SINT/UINT.

Change 2803254 on 2015/12/15 by Mark.Satterthwaite

	Add additional uint/2/3/4 overrides for SV_Target(x) to MetalUtils and when generating the output variable look for an exact type match before restoring to the first match with the correct number of elements. This ensures that we generate uint/2/3/4 writes when required for CopyStencilToLightingChannelsPS without breaking anything else.

Change 2803259 on 2015/12/15 by Mark.Satterthwaite

	Fix stencil texture swizzle for Metal which uses .x not .g for stencil value.

Change 2803262 on 2015/12/15 by Mark.Satterthwaite

	Fix FMetalRHICommandContext::RHISetScissorRect  handling 0 sized rects when RHISetScissorRect is called before RHISetViewport.

Change 2803321 on 2015/12/15 by Mark.Satterthwaite

	Duplicate CL #2786291: Fix Metal validation errors caused by incorrect instance count and also a crash-bug caused by accessing a defunct depth-stencil texture. This should be enough to ensure Metal works even if you've been playing previously with OpenGL.

Change 2803413 on 2015/12/15 by Mark.Satterthwaite

	Workaround the Material Editor's unfortunate habit of rendering tiles without a depth/stencil-buffer attached despite tiles wanting to write to depth - in Metal we have to create a temporary Depth-Stencil texture so that we don't crash the driver because it won't rewrite the shaders for us (unlike D3D/GL).

Change 2806247 on 2015/12/16 by Daniel.Lamb

	Fixed UParticleRequiredModule deterministic cook issue.
	#codereview Olaf.Piesche

Change 2806834 on 2015/12/17 by Mark.Satterthwaite

	Temporarily work around absence of Checked & Shipping APEX/PhysX binaries on Mac.

Change 2807017 on 2015/12/17 by Mark.Satterthwaite

	Handle the shader cache being initialised for cooking multiple times until I can sort out the implementation properly.

Change 2807027 on 2015/12/17 by Daniel.Lamb

	Enabled DDC stats.
2016-01-19 09:54:25 -05:00
Andrew Grant
f25badee7f Copying //UE4/Orion-Staging to //UE4/Main (Origin: //Orion/Dev-General @2826496)
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 2826201 on 2016/01/13 by Zabir.Hoque

	Add more verbose logging to try to understand #OR-11297

	#lockdown Andrew.Grant
	#CodeReview Marcus.Wassmer
	#RB none
	#TESTS compiled Win64 debug editor, ran agora_p

Change 2826170 on 2016/01/13 by Marcus.Wassmer

	Flush unloaded resource properly in LoadMap
	#codereview Gil.Gribb
	#rb none
	#test cycling game.  memory is freed properly now.
	#lockdown Andrew.Grant

Change 2826135 on 2016/01/12 by Michael.Noland

	Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation
	- Disabled async streaming for the duration of the QOS ping measurement to avoid hitches
	- Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future)
	- Added logging of the current average frame time when the datacenter ping is finalized
	- Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4)
	#jira OR-12453
	#rb paul.moore
	#tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc...

	Merging CL# 2826128 using //Orion/Main_to_//Orion/Dev-General

Change 2826131 on 2016/01/12 by Michael.Noland

	#UE4 - added print out of MS/FPS during Qos ping evaluation
	#rb michael.noland
	#tests loaded up through login screen to see output

	Merging CL# 2825678 using //Orion/Main_to_//Orion/Dev-General

Change 2826128 on 2016/01/12 by Michael.Noland

	Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation
	- Disabled async streaming for the duration of the QOS ping measurement to avoid hitches
	- Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future)
	- Added logging of the current average frame time when the datacenter ping is finalized
	- Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4)
	#jira OR-12453
	#rb paul.moore
	#tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc...

	Merging CL# 2826116 using //Orion/Release-Next->//Orion/Main

Change 2826116 on 2016/01/12 by Michael.Noland

	Orion: Improve login screen on PC to reduce the potential impact of framerate on data center ping calculation
	- Disabled async streaming for the duration of the QOS ping measurement to avoid hitches
	- Added a circular throbber in the top left corner of the login screen indicating that something is async streaming (as a diagnostic tool for users affected by the datacenter ping, can be removed in the future)
	- Added logging of the current average frame time when the datacenter ping is finalized
	- Added a 'Pick Ideal Settings' button to the login screen (note: on the actual screen, not the login widget, so it will not appear on PS4)
	#jira OR-12453
	#rb paul.moore
	#tests Ran a QOS server and client and verified that the new logging is occurring, tried out the new benchmark button, etc...
	#lockdown andrew.grant
	#codereview josh.markiewicz

Change 2825772 on 2016/01/12 by Dmitry.Rekman

	Linux signal handling improvements.

	- Switch crash handlers to use "crash malloc" (preallocated memory) on crash.
	- Remove unnecessary memory allocations from graceful termination handler.

	#rb none
	#tests Run the Linux server and crashed it a few times.
	#codereview David.Vossel, Michael.Trepka

Change 2825768 on 2016/01/12 by Josh.Markiewicz

	#UE4 - added print out of MS/FPS during Qos ping evaluation
	#rb michael.noland
	#tests loaded up through login screen to see output

Change 2825703 on 2016/01/12 by Brian.Karis

	Switched on new motion blur. Set temporal AA sharpness to 1.

	#rb none
	#TESTS editor

Change 2825689 on 2016/01/12 by Lina.Halper

	Fix for get animation notify crash

	https://jira.ol.epicgames.net/browse/OR-12248
	https://jira.ol.epicgames.net/browse/OR-12348

	- Also fixed the crash in preview of persona due to blend sample cache contains previous animation data
	- Also fixed blend space player to reinitialize cache data
	- The main issue is marker doesn't clamp the length, causing notifies ensure to trigger.

	#rb : Laurent.Delayen
	#tests: 10 Sparrows bot match for long time
	#code review: Martin.Wilson
	#lockdown: Andrew.Grant

Change 2825680 on 2016/01/12 by Martin.Mittring

	fixed all cases with r.Tonemapper.ScreenPercentage, ScreenPercentage, Fringe, Vignette, ViewRect, flickering with transluceny (View members have been modified while other thread was reading)
	#rb:Olaf.Piesche, David.Hill
	#test: PC, many cases

Change 2825579 on 2016/01/12 by Chris.Bunner

	Force shadow shape bone indices on the required update list.
	#rb Lina.Halper, Rolando.Caloca
	#tests Editor
	#codereview Daniel.Wright
	#jira OR-12339

Change 2825443 on 2016/01/12 by Martin.Mittring
2016-01-14 08:11:47 -05:00
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Nick Shin
075b444ba2 as of Safari 9.0 setRequestHeader's 2nd parameter value cannot have any leading whitespace
#lockdown josh.adams
#jira UE-22037 - Vehicle Advanced template crash during play in Safari

[CL 2734688 by Nick Shin in Main branch]
2015-10-19 20:06:28 -04:00
Aaron McLeran
ead0bd8bf9 UE-9692, UE-9446 Fixing 3d audio spatialization for HTML5 and Linux.
- 3d audio was fundamnetally broken in HTML5 and Linux for a long time (probably since original port from UE3)
- Fix is to do 3d spatialization math the same way we do it on XAudio2 (i.e. transform to listener-space then do relative source position from there)
- Since HTML5 and Linux *both* use nearly identical OpenAL implementations (and Linux has been fixed by users for a few issues), I decided to nuke the HTML5 implementation and instead link to the Linux implementation. Not sure if we should move the linux OpenAL implementation to a different folder, but it turned out not to matter for packing and testing HTML5
- Also went ahead and added a -3dB headroom factor to reduce volume overall with OpenAL implementation since it was louder than the XAudio2 implementation. I didn't do any technical measurements to come up with this headroom factor, just ear-balled it. We can do something more precise if needed.
- Tested this fix using a simple test-map of a single looping sound source. It was obviously broken (i.e. not panning) and is now obviously fixed.

[CL 2611557 by Aaron McLeran in Main branch]
2015-07-06 16:15:23 -04:00
KitatusStudios
7775a401b1 PR #931: Cleaning up Spelling Errors / Grammer Errors in Comments (Contributed by KitatusStudios)
[CL 2577221 by Matt Kuhlenschmidt in Main branch]
2015-06-04 13:19:17 -04:00