Commit Graph

33 Commits

Author SHA1 Message Date
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
rob gay
36bd689e3f - Simplify max channel count code by removing GEngineIni look-up for value set in Engine-level ini and just directly setting in UAudioSettings constructor
- Fix bug with IOS & XAudio2 old backends not respecting platform settings code/ini settings
- Move AudioDevice to override quality settings MaxChannels by ANY platform setting, on init, not just the minimal value.  This is okay on init as the source array has yet to be initialized.

https://p4-swarm.epicgames.net/reviews/6260062

#rb ethan.geller
#rb phil.popp


#ROBOMERGE-SOURCE: CL 6345170 via CL 6346183

[CL 6346278 by rob gay in Main branch]
2019-05-07 16:46:48 -04:00
Josh Adams
d0bf843c9c - Merging Dev-Kairos/Engine/... to Main/Engine/...
- Brings over the necessary engine changes for embedding UE4 mobile as a dylib/so in native mobile app
- Various changes for facial animation, screen recording, others
- ARKit and ARCore plugins were removed, as deemed "not ready"
#rb many people


#ROBOMERGE-OWNER: josh.adams
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 5201138 via CL 5203024

[CL 5226277 by Josh Adams in Main branch]
2019-02-27 11:57:17 -05:00
aaron mcleran
c30c37b8a3 Adding ability to customize the precache buffer size in engine ini files.
- Adding some new LLM categories to help track decoded precache buffer mem usage and fully decoded buffers.

More info:

Precache buffer sizes, on platforms that utilize the feature, can be a huge memory hog. By reducing their sizes, we can recover quite a bit of memory.
Tricky part of the change is accounting for the variable precache buffer size while still retaining the MONO_PCM_BUFFER_SIZE size for regular real-time decoding cases.
We do a "skip first buffer(s)" step when starting a real-time decoded sound so the smaller precache buffer size needs to be shared to the decoders.


#rb Ethan.Geller, Rob.Gay
#jira


#ROBOMERGE-SOURCE: CL 4696296

[CL 4696323 by aaron mcleran in Main branch]
2019-01-09 17:41:16 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Marc Audy
af90b7bcd4 Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) @ 4395008
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4395058 by Marc Audy in Main branch]
2018-09-25 10:11:35 -04:00
Ben Marsh
13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05: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
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
Chris Babcock
093fd5df10 Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3155909)
#lockdown Nick.Penwarden
#rb none

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

Change 3118534 on 2016/09/08 by Steve.Cano

	Certain non-looping SFX would not properly fire "Stop" events when the effect was finished, and therefore Sound Mixes that should end at the end of a SFX (such as ducking the BGM volume) were not properly finishing. Fixing the IsSourceFinished call to check the Position of the player to determine if we are actually done playing, which was not working properly before for PCM sounds.

	#jira UE-35016
	#ue4
	#android

Change 3119125 on 2016/09/09 by Dmitriy.Dyomin

	Mobile launcher profile wizard:
	Fixed case where DLC will not be built if user selects non Development build configuration
	Fixed case where project maps will be empty if UE4 and project located on different drives

Change 3122584 on 2016/09/13 by Allan.Bentham

	Add simple clip plane for planar reflections.
	#jira UE-32449

Change 3129390 on 2016/09/16 by Chris.Babcock

	Fixed ES 3.1 detection to also support devices returning ES 3.2 support (eg Note 7)
	#jira UE-35598

Change 3129867 on 2016/09/18 by Jack.Porter

	Fixed ES 3.1 detection to also support devices returning ES 3.2 support (eg Note 7)
	#jira UE-35598

Change 3131961 on 2016/09/20 by Allan.Bentham

	Fix missing editor widgets and gamma incorrectness when mobileHDR == false.
	Fix editor widget rendering when hdr encoding is active.

	#jira UE-34281

Change 3132717 on 2016/09/20 by Chris.Babcock

	Add $S(ProjectDir) to UPL
	#jira UE-35483
	#ue4

Change 3132940 on 2016/09/20 by Chris.Babcock

	Corrected case for some include files (contributed by Yukariin)
	#jira UE-33816
	#PR #2636
	#ue4
	#android

Change 3134098 on 2016/09/21 by Allan.Bentham

	Mobile CSM shadow quality controllable via quality levels.
	#jira UEMOB-74

Change 3134931 on 2016/09/21 by Chris.Babcock

	Allow Windows types in vulkan.h
	#jira UE-36270
	#ue4
	#vulkan

Change 3135380 on 2016/09/21 by Dmitriy.Dyomin

	Plugin which exposes some of BuildPatchServices functionality to BP. Inteded to be used on mobile platforms for donwloading game content.
	Right now misses: IOS download directory and iOS WiFi detection
	#jira UEMOB-157

Change 3136004 on 2016/09/22 by Allan.Bentham

	Add project option to disable vertex fog on mobile.
	Vertex fog is now enabled even when mobile HDR is not.

	#jira UEMOB-148

Change 3137377 on 2016/09/22 by Dmitriy.Dyomin

	Fix compile error from CL# 3135380

Change 3139571 on 2016/09/26 by Jack.Porter

	Applied deferred change CL 3101462 to mobile to make planar reflections no longer update GPU particles

Change 3139663 on 2016/09/26 by Jack.Porter

	Include Android shader cache files when packaging

Change 3142839 on 2016/09/28 by Dmitriy.Dyomin

	Added WiFi connection detection on iOS

Change 3142845 on 2016/09/28 by Jack.Porter

	Fixed various issues with TcpMessageTransport discovered when transferring automation testing screenshots from mobile devices
	- socket not readable or writable is not an error condition if output buffer is full
	- messages were previously limited to 64kb but screenshots overflowed this
	- messages over 8kb were not reliably received as the inbound buffer was full so the available bytes was always less than the message length
	- sending large messages was not reliable due to the output buffer being full

Change 3143280 on 2016/09/28 by Jack.Porter

	Clear out UnbuiltInstanceBoundsList when async building a tree with no instances

Change 3143282 on 2016/09/28 by Jack.Porter

	Fix issue where client functional tests in the current map do not appear on clients running with cooked content.
	Problem is that the AssetRegistry uses in-memory metadata created on load for currently-loaded assets, but cooked content only has the serialized AssetRegistry and individual assets do not contain any metadata.

Change 3143808 on 2016/09/28 by Steve.Cano

	Assume that the app starts in focus at startup and don't wait for an "APP_EVENT_STATE_WINDOW_GAINED_FOCUS" event to fire, as this event will not come down from SplashActivity since it is not a NativeActivity. If the user then rotates the device in Sensor or FullSensor orientation during SplashActivity and forces an eglSurface recreation, the initial Create will properly execute if we're "in focus". Previously, the create-destroy-create cycle would not properly execute due to the EventManager thinking the app was not yet in focus, and would cause the second create to get a 0x3003 error (EGL_BAD_ALLOC)

	#jira UE-35004
	#ue4
	#android

Change 3144880 on 2016/09/29 by Jack.Porter

	Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)

Change 3146220 on 2016/09/30 by Dmitriy.Dyomin

	Adjusted device button style to make it more readable.
	#jira UE-21881

Change 3146280 on 2016/09/30 by Dmitriy.Dyomin

	Replaced IBuildManifest::ComputeDownloadSize with a new function

Change 3146302 on 2016/09/30 by Allan.Bentham

	Added more stringent checks for ES3.1 compatibility
	#jira UE-36241

Change 3146435 on 2016/09/30 by Jack.Porter

	Prevent landscape grass being duplicated for PIE, causing ensure

	#jira UE-36531

Change 3147532 on 2016/09/30 by Chris.Babcock

	Use .sh extension for Android install scripts on Linux
	#jira UE-36669
	#ue4
	#android
	#linux

Change 3149851 on 2016/10/04 by Dmitriy.Dyomin

	Mobile: Added custom depth rendering
	Mobile: Added support for CustomDepth and SceneDepth in post-process materails

Change 3149852 on 2016/10/04 by Dmitriy.Dyomin

	Fixed comments for SortBasePass console variable

Change 3149857 on 2016/10/04 by Jack.Porter

	Remove dead code in ProceduralFoliageComponentDetails.cpp

Change 3149863 on 2016/10/04 by Jack.Porter

	Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)

Change 3149896 on 2016/10/04 by Dmitriy.Dyomin

	Fixed: SkyLight makes level entire green on Android devices
	#jira UE-34469

Change 3150102 on 2016/10/04 by Jack.Porter

	Bring Protostar 4.13 fixes back to Dev-Mobile

	Engine
	- MaxDescriptorSets = 16384 to prevent crash on Mali
	- Include texture formats in FRenderTargetLayoutHashableStruct to solve RT aliasing issue
	- Use ERenderTargetLoadAction::EClear for planar reflection target to work around Adreno issue
	- Default Adreno to SPIR-V

	Contents
	- Disable fog, reduce CSM shadow quality, fix device profiles
	- Add PSO cache

Change 3150113 on 2016/10/04 by Jack.Porter

	Ensure automation testing screenshots have Alpha=255 (fixes automation screenshots on Mobile)

Change 3150231 on 2016/10/04 by Jack.Porter

	Use a new SessionID GUID each time you use the launcher to launch a session.

Change 3150608 on 2016/10/04 by Jack.Porter

	Changes for automated testing screenshots on Android.

	- Prevent automation screenshots from changing resolution on platforms with fixed resolution
	- Set GRHIAdapterInternalDriverVersion for OpenGL and Vulkan
	- Parse ImgTec/ARM/Qualcomm GRHIVendorId on OpenGL
	- Added helper to convert GRHIVendorId to string

Change 3151318 on 2016/10/04 by Jack.Porter

	Fixed compile error with AdapterVendor

Change 3151366 on 2016/10/04 by Jack.Porter

	Prevent FTcpMessageTransportConnection deadlock on device disconnect

Change 3151397 on 2016/10/05 by Dmitriy.Dyomin

	More consistent BP categories for Mobile Patching utils

Change 3151576 on 2016/10/05 by Dmitriy.Dyomin

	Added on screen warning for invalid reflection captures, can be seen only in game running with FeatureLevel < SM4 and no valid capture data

Change 3151795 on 2016/10/05 by Dmitry.Rekman

	Linux: update UBT to use a v8 multiarch toolchain.

	- Also added toolchain build scripts and ct-ng configs.

Change 3151966 on 2016/10/05 by Allan.Bentham

	Add mobile support for inverse opacity to mobile scene captures as well as SCS_SceneColorSceneDepth and SCS_SceneDepth.
	#jira UEMOB-106

Change 3152664 on 2016/10/05 by Chris.Babcock

	Merging //UE4/Main to Dev-Mobile (//UE4/Dev-Mobile)

Change 3152675 on 2016/10/05 by Will.Fissler

	Fixed patching so that it searches for pak files as well as pkg files.
	#test Patch for QAGame

Change 3152728 on 2016/10/05 by Chris.Babcock

	Update ReflectionCaptureDDCVer (need to resave maps)

Change 3152910 on 2016/10/05 by Dmitry.Rekman

	Linux: Fix toolchain for non-AutoSDKs (github) case (UE-36899).

Change 3152966 on 2016/10/05 by Dmitry.Rekman

	Linux: Fix test for the installed SDK (UE-36899).

Change 3153004 on 2016/10/05 by Dmitry.Rekman

	Linux: fix CIS (UT server case-sens errors).

Change 3153694 on 2016/10/06 by Jack.Porter

	Rollback ReflectionCaptureDDCVer change as bug intended to fix UE-36919 does not repro

Change 3154766 on 2016/10/07 by Jack.Porter

	Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)

Change 3154833 on 2016/10/07 by Jack.Porter

	Fix merge error of MobileShadingRenderer.cpp

Change 3154848 on 2016/10/07 by Allan.Bentham

	Fix mobile scene capture's clear code

Change 3154875 on 2016/10/07 by Allan.Bentham

	fix vk build issues

Change 3154941 on 2016/10/07 by Allan.Bentham

	Fix gearvr build fail

Change 3154950 on 2016/10/07 by Allan.Bentham

	Fix shadowed local variable vk build warning on android.

Change 3155909 on 2016/10/07 by Ben.Marsh

	UBT: Attempt to work around C1076 error ("internal heap limit reached: use /Zm to specify a higher limit"), encountered when building with XGE. Specify the AutoReserveMemory attribute on XGE tool tasks that manipulate precompiled headers.

[CL 3155988 by Chris Babcock in Main branch]
2016-10-07 23:11:00 -04:00
Ori Cohen
a0625fdf15 Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661)
#lockdown Nick.Penwarden
#rb none

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

Change 3038116 on 2016/07/05 by James.Golding

	Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford)

Change 3038271 on 2016/07/05 by Lukasz.Furman

	fixed bug with instanced behavior tree nodes writing over memory of other nodes
	#jira UE-32789

Change 3038295 on 2016/07/05 by Lukasz.Furman

	changed behavior tree node injection to modify shared template instead of switching nodes to instanced
	fixes GC reference chain between AI using the same behavior tree

Change 3038504 on 2016/07/05 by Zak.Middleton

	#ue4 - Fix typo in comment (debugging arrow).

	github #2352
	#jira 30255

Change 3039151 on 2016/07/06 by James.Golding

	UE-30046 Add bAllowCPUAccess flag to UStaticMesh

Change 3039281 on 2016/07/06 by Ori.Cohen

	Fix attached partially simulating ragdolls not moving with actor.

	#JIRA UE-32830

Change 3039286 on 2016/07/06 by Benn.Gallagher

	Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold.

Change 3039313 on 2016/07/06 by Benn.Gallagher

	Enabled override of angular joint bias on AnimDynamics

Change 3039335 on 2016/07/06 by Ori.Cohen

	Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy.

	#JIRA UE-32833

Change 3039412 on 2016/07/06 by Ori.Cohen

	PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79)

	#JIRA UE-30725

Change 3039799 on 2016/07/06 by Tom.Looman

	- Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin)
	- Fixed bug in override gravity for the suggest projectile velocity functions.

Change 3039903 on 2016/07/06 by Ori.Cohen

	Ensure that skeletal mesh components do NOT teleport unless explicitly asked to.

Change 3039932 on 2016/07/06 by Lina.Halper

	Merging using //Orion/Dev-General_to_//UE4/Dev-Framework

	serialize crash is always bad, so dupe checkin.

Change 3040059 on 2016/07/06 by Ori.Cohen

	Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate)

	#JIRA UE-32730

Change 3040203 on 2016/07/06 by Jon.Nabozny

	Fix scaling multiple selected Actors by changing scale-base translation calculations to local space.

	#jira UE-32357

Change 3040211 on 2016/07/06 by Ori.Cohen

	Fix constraints being unselectable in phat when a render mesh is on top

	#JIRA UE-32479

Change 3040273 on 2016/07/06 by Ori.Cohen

	Fix vehicle drag adding instead of removing energy when in reverse.

	#JIRA UE-28957

Change 3040293 on 2016/07/06 by Zak.Middleton

	#ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments.

Change 3040325 on 2016/07/06 by Zak.Middleton

	#ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization.

	#udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html

Change 3040950 on 2016/07/07 by Thomas.Sarkanen

	Removed GWorld from FTimerManager

	Switched LastAssignedHandle to a static member.

	#jira UE-31485 - Remove GWorld from FTimerManager

Change 3041054 on 2016/07/07 by Jon.Nabozny

	Fix warning about negation operator on FRotator introduced in CL 3040203.

Change 3041214 on 2016/07/07 by Ori.Cohen

	Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies

	#JIRA UE-29538

Change 3041319 on 2016/07/07 by James.Golding

	UE-29771
	- Rename LocalAtoms to BoneSpaceTransforms
	- Rename SpaceBases to ComponentSpaceTransforms

Change 3041432 on 2016/07/07 by James.Golding

	UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC.
	Also remove PhysicsSettings.h from PhysicalMaterial.h

Change 3041434 on 2016/07/07 by James.Golding

	Improve comment on UStaticMesh::bAllowCPUAccess

Change 3041701 on 2016/07/07 by Marc.Audy

	Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498

Change 3041760 on 2016/07/07 by Ori.Cohen

	Fix bug where turning collision off and on for a welded root body would not re-weld child bodies.

	#JIRA UE-32438

Change 3041771 on 2016/07/07 by Marc.Audy

	Add GetParentActor convience accessor

Change 3041798 on 2016/07/07 by Marc.Audy

	Don't double call BeginPlay on ChildActors when loading sublevels (4.12)
	#jira UE-32772

Change 3041857 on 2016/07/07 by Jon.Nabozny

	Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName.

	#jira UE-32272

Change 3041914 on 2016/07/07 by Marc.Audy

	Fix mismatch function prototype

Change 3042041 on 2016/07/07 by Jon.Nabozny

	Fix CIS issue introduced by CL 3041857

Change 3042402 on 2016/07/08 by James.Golding

	Fix CIS after no longer globally including PhysicsSettings.h

Change 3042517 on 2016/07/08 by Martin.Wilson

	Fix root motion when actor and component transforms do not match

	#jira UE-32944

Change 3043021 on 2016/07/08 by mason.seay

	Assets for testing poses

Change 3043246 on 2016/07/08 by Marc.Audy

	Eliminate USoundWave::CompressionName
	Add USoundWave::HasCompressedFormat
	#jira UE-32546

Change 3044376 on 2016/07/11 by James.Golding

	- UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled)
	- Add UVInfo mem usage to UBodySetup::GetResourceSize
	- Remove BodySetup.h from EnginePrivate.h
	- Remove outdated comment in PhysUtils.cpp

Change 3044464 on 2016/07/11 by Ori.Cohen

	Fix CIS

	#JIRA UE-33005

Change 3044519 on 2016/07/11 by Ori.Cohen

	PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454)

	#JIRA UE-30712

Change 3044774 on 2016/07/11 by Zak.Middleton

	#ue4 - Fix typos in comments.

Change 3044854 on 2016/07/11 by Mieszko.Zielinski

	Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4

	#jira UE-32013

Change 3044855 on 2016/07/11 by Mieszko.Zielinski

	Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4

	#jira UE-32458

Change 3044887 on 2016/07/11 by Zak.Middleton

	#ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine.

	- Fixed comments on FindNearestPointsOnLineSegments.
	- Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction".

	Merge CL 3036162.

Change 3044910 on 2016/07/11 by Mieszko.Zielinski

	Fixed  AISense_Sight not reporting any hits on ECC_Visibility channel #UE4

Change 3045144 on 2016/07/11 by Lukasz.Furman

	exposed pathfollowing's reach test modifier: goal radius as parameter of move request

Change 3045174 on 2016/07/11 by Marc.Audy

	Remove incorrect SetMobility reference from comment
	#jira UE-30492

Change 3045233 on 2016/07/11 by Marc.Audy

	Correct function name in warning

Change 3045284 on 2016/07/11 by mason.seay

	Test Assets for pose blending

Change 3045342 on 2016/07/11 by Michael.Noland

	PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg)
	#jira UE-29522

Change 3045343 on 2016/07/11 by Michael.Noland

	PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver)
	#jira UE-32403

Change 3045344 on 2016/07/11 by Michael.Noland

	Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision)
	Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap
	#jira UE-31632

Change 3045382 on 2016/07/11 by Ori.Cohen

	Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries.

	#JIRA UE-29937

Change 3045529 on 2016/07/11 by Zak.Middleton

	#ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself.

Change 3045601 on 2016/07/11 by Michael.Noland

	Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType
	#jira UE-20962

Change 3046039 on 2016/07/12 by Jurre.deBaare

	Instanced HLOD materials to reduce permutations + compilation time

Change 3046147 on 2016/07/12 by Ori.Cohen

	PR #1615: Traceworldforposition should trace async scene too
	#JIRA UE-21728

Change 3046180 on 2016/07/12 by Ori.Cohen

	Introduce a shape complexity project setting

	#JIRA UE-31159

Change 3046280 on 2016/07/12 by Ori.Cohen

	Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component.

	#JIRA UE-31525, UE-19252

Change 3046282 on 2016/07/12 by Benn.Gallagher

	Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor.
	  - Made default slot 0, as a montage should always have at least one slot
	  - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though
	#jira UE-32626

Change 3046284 on 2016/07/12 by Benn.Gallagher

	Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor.
	  - Made default slot 0, as a montage should always have at least one slot
	  - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though
	(2nd CL, missed file)
	#jira UE-32626

Change 3046416 on 2016/07/12 by Jon.Nabozny

	PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis)

	#jira UE32123

Change 3046428 on 2016/07/12 by Michael.Noland

	Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0))
	#jira UE-33055

Change 3046429 on 2016/07/12 by Michael.Noland

	Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized)
	#jira UE-25994

Change 3046475 on 2016/07/12 by Ori.Cohen

	Added strength multiplyer for physical animation

	#JIRA UE-33075

Change 3046518 on 2016/07/12 by Ori.Cohen

	Make sure to refresh contact points when turning simulation on for bodies.

	#JIRA UE-31286

Change 3046658 on 2016/07/12 by Ori.Cohen

	Fix the case where setting body blend weight doesn't turn off blend override.

Change 3046720 on 2016/07/12 by Ori.Cohen

	Added option to allow skeletal mesh simulation to NOT affect component transform.

	#JIRA UE-33089

Change 3046908 on 2016/07/12 by Ori.Cohen

	Fix welded body not properly unwelding when in a chain of welded bodies

	#JIRA UE-32531

Change 3047015 on 2016/07/12 by Lukasz.Furman

	fixed nested repath requests

Change 3047102 on 2016/07/12 by Ori.Cohen

	Added physics component to content example

Change 3047848 on 2016/07/13 by Ori.Cohen

	Expose transform update mode to phat

	#JIRA UE-33227

Change 3047853 on 2016/07/13 by Ori.Cohen

	Update physical animation level and content. Was missing some blueprints

Change 3047897 on 2016/07/13 by Ori.Cohen

	PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro)

	#JIRA UE-27102

Change 3048026 on 2016/07/13 by Benn.Gallagher

	Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins.
	#jira UE-23823

Change 3048592 on 2016/07/13 by Marc.Audy

	Change check when physics state exists but not registered to ensure and add additional logging information.
	#jira UE-32935

Change 3048790 on 2016/07/13 by Ori.Cohen

	Fix CIS for shipping physx builds.

	#JIRA UE-33246

Change 3048801 on 2016/07/13 by Ori.Cohen

	Update RootBodyTransform when ref skeleton has offset

Change 3048891 on 2016/07/13 by Marc.Audy

	Fix copy paste bug with AudioComponent::SetPitchMultiplier

Change 3049549 on 2016/07/14 by Thomas.Sarkanen

	Prevented stale anim asset references from persisting in wired pins

	Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase.
	Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules.
	Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected.
	Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes.

	#jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset

Change 3049576 on 2016/07/14 by Thomas.Sarkanen

	Fix CIS linker errors

Change 3049611 on 2016/07/14 by Benn.Gallagher

	Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections)
	Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor
	#jira UE-31016
	#jira UE-33061

Change 3049663 on 2016/07/14 by Benn.Gallagher

	CIS fix after Persona render fixes

Change 3049794 on 2016/07/14 by Marc.Audy

	Some cleanup and ensuring ActiveSound adds references to all of its used assets

Change 3049823 on 2016/07/14 by Tom.Looman

	Added Player Connect and Disconnect Multicast Events to GameMode

	PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard)

Change 3049896 on 2016/07/14 by Ori.Cohen

	Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag.

	#JIRA UE-31660

Change 3049921 on 2016/07/14 by Benn.Gallagher

	PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton)
	    - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor)
	#jira UE-29573

Change 3049929 on 2016/07/14 by Zak.Middleton

	#ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T.

Change 3049956 on 2016/07/14 by Zak.Middleton

	#ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue.

Change 3049992 on 2016/07/14 by Jon.Nabozny

	Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box.

	#JIRA: UE-31601

Change 3050017 on 2016/07/14 by James.Golding

	PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike)

Change 3050061 on 2016/07/14 by Zak.Middleton

	#ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T.

Change 3050254 on 2016/07/14 by Marc.Audy

	Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614

Change 3050416 on 2016/07/14 by mason.seay

	Test map and asset for slicing proc meshes

Change 3050881 on 2016/07/14 by Zak.Middleton

	#ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block.

	github #2047

Change 3051401 on 2016/07/15 by Thomas.Sarkanen

	Prevented animation from restarting each time a new section is selected/inspected in the montage editor

	Preserved playback state when changing section.
	Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused.

	#jira UE-31014 - Moving Montage Event Unpauses Playback
	#jira UE-25101 - Improve Montage Replay Usability issue

Change 3051717 on 2016/07/15 by Benn.Gallagher

	Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation.
	#jira UE-18558

Change 3051729 on 2016/07/15 by Benn.Gallagher

	Changed enum combo boxes so that they use rich tooltips instead of text tooltips.
	  - They look the same when there isn't a documentation entry for them (Just the enum name)
	  - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name

Change 3051825 on 2016/07/15 by Marc.Audy

	Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor
	#jira UE-29435

Change 3051850 on 2016/07/15 by Marc.Audy

	Reduce priority of audio thread
	Add a frame sync to avoid audio thread drifiting behind

Change 3051920 on 2016/07/15 by Tom.Looman

	Added ActorComponent Activate/Deactivate events

	#JIRA UE-31077

Change 3051923 on 2016/07/15 by Tom.Looman

	PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi)

Change 3052038 on 2016/07/15 by Martin.Wilson

	Possible fix for fortnite crash + ensure incase the situation occurs again

	#jira UE-33258

Change 3052042 on 2016/07/15 by Jurre.deBaare

	Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework)

Change 3052171 on 2016/07/15 by Ori.Cohen

	Improve UI for constraint profiles. Polish UI for physical animation profile.

	#JIRA UEFW-101, UE-33290

Change 3052243 on 2016/07/15 by Martin.Wilson

	Pose watching: Ability to draw bones of pose at any point in the anim graph.

	#jira UE-12181 (originally Epic Friday project)

Change 3053202 on 2016/07/18 by Thomas.Sarkanen

	FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility

	#jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication

Change 3053203 on 2016/07/18 by Thomas.Sarkanen

	Fixed properties that are fed to skeletal mesh components via construction script not updating when edited

	Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this).
	Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case  to prevent edits being a frame out of date.

	#jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph

Change 3053241 on 2016/07/18 by Martin.Wilson

	Add parent bone space to GetSocketTransform

	#jira UE-29814

Change 3053270 on 2016/07/18 by Jurre.deBaare

	PR #2105: Disable creation of array modifiers (Contributed by projectgheist)

Change 3053273 on 2016/07/18 by Jurre.deBaare

	Default ini for asset viewer and HDR images

	#jira UE-32903

Change 3053527 on 2016/07/18 by Ori.Cohen

	Fix CIS

	#JIRA UE-33375

Change 3053620 on 2016/07/18 by Thomas.Sarkanen

	Socket chooser now has a search box

	Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name.
	Search box has focus when the menu appears.

	#jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh

Change 3053626 on 2016/07/18 by Martin.Wilson

	Fix crash caused by skeletalmeshcomponent being destroyed during a notify

	#jira UE-33258

Change 3053761 on 2016/07/18 by Martin.Wilson

	Mac build compile fix

Change 3053858 on 2016/07/18 by Lina.Halper

	Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/

	Fix on crashing recursive asset

Change 3053864 on 2016/07/18 by Ori.Cohen

	Make sure phat UI changes when picking different constraint profiles

Change 3053866 on 2016/07/18 by Ori.Cohen

	Submit content example for constraint profiles

Change 3053915 on 2016/07/18 by Lina.Halper

	The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened
	This is the fix for that.

	#jira: UE-32927

Change 3053969 on 2016/07/18 by James.Golding

	PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology)

Change 3054004 on 2016/07/18 by Ori.Cohen

	Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake.

	#jira UE-33333

Change 3054410 on 2016/07/18 by Lina.Halper

	Fixed issue with moving translation not working with mirrored parent due to inverse position.

	Changed to Transform.

	#jira: UE-31521

Change 3054659 on 2016/07/18 by Lina.Halper

	Fix for retargeting of pose asset

	- Moved animsequence::retarget to be out to AnimationRuntime
	- PoseAsset is now using that function to retarget correctly

	#code review: Martin.Wilson, Ori.Cohen

Change 3054777 on 2016/07/18 by Jurre.deBaare

	Fixing integration blocker, had this fix locally already

	#jira UE-33427

Change 3056619 on 2016/07/19 by Ori.Cohen

	Temporarily turn off audio threading due to heap corruption.

	#JIRA UE-33320

Change 3057770 on 2016/07/20 by Aaron.McLeran

	Doing sync trace for occlusion if audio thread is enabled
	#jira UE-33494

Change 3057778 on 2016/07/20 by Aaron.McLeran

	#jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio)

Change 3057788 on 2016/07/20 by Aaron.McLeran

	#jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio)

	Enabling audio thread (with a capital T for True)

Change 3057850 on 2016/07/20 by Ori.Cohen

	Temporarily turn off audio threading as the feature is still experimental

Change 3057876 on 2016/07/20 by Martin.Wilson

	Fix Graph Linked External Object issue when saving recompressed animations

	#jira UE-33567

Change 3058371 on 2016/07/20 by Ori.Cohen

	Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework)

[CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
Matthew Griffin
27ea06992a Merging //UE4/Release-4.11 to //UE4/Main (Up to CL#2909747)
#lockdown Nick.Penwarden

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

Change 2898120 on 2016/03/07 by Chris.Babcock

	Disable NvTimerQuery on Nexus 9 before Android 6.0 to fix slow frame updates
	#jira UE-28013
	#ue4
	#android

Change 2898539 on 2016/03/08 by Matthew.Griffin

	Merging //UE4/Dev-Build to //UE4/Release-4.11

	Change 2887414 on 2016/03/01 by Ben.Marsh

		Dump all the *.crash files produced while running commandlets, to make it easier to diagnose build system crashes cooking on Mac.

Change 2898788 on 2016/03/08 by Keith.Judge

	Latest DX12.x integration from Microsoft. Brings XB1 up to PC level of functionality and improved perf.

	#jira UEPLAT-325

Change 2898836 on 2016/03/08 by Taizyd.Korambayil

	#jira UE-27990 Reimported River_Basin_02 Mesh with Adjacency Buffer

Change 2898897 on 2016/03/08 by Sean.Gribbin

	#Jira UE-26550

	Adding name to credits of Match 3

Change 2898938 on 2016/03/08 by Taizyd.Korambayil

	#jira UE-26284 Fixed Up Some Materials and BP errors

Change 2898967 on 2016/03/08 by Benjamin.Hyder

	Updating Qa_Materials map
	#jira UE-24473

Change 2899032 on 2016/03/08 by Zachary.Wilson

	Fixing broken assets in QA-LightsStationary and eliminating log errors. Fixing mispelling and player start height in QA-LightsStationary.
	#jira UE-24473

Change 2899244 on 2016/03/08 by Peter.Sauerbrei

	addition of launch images for iPad Pro
	#jira UE-24793

Change 2899335 on 2016/03/08 by Richard.Hinckley

	#jira UE-27356
	Fixing code for VR headsets so that the camera starts inside the vehicle if the user has an active HMD. Found that the C++ templates never had HMD support, so mirroring the BP templates for that functionality. Works in my testing, but a proper QA pass should be performed.

Change 2899402 on 2016/03/08 by Michael.Schoell

	Macro instance nodes now have a hard dependency to any object class or structs their pins reference.

	Expanded UK2Node_MacroInstance::HasExternalDependencies to iterate over all pins and add their struct or object's class.

	#jira UE-27795 - Split Pins on a referenced Macro Library will crash the editor on restart

Change 2899424 on 2016/03/08 by Dmitry.Rekman

	Fix CrossCompilerTool on Linux (UE-28056).

	#jira UE-28056

Change 2899445 on 2016/03/08 by Dmitry.Rekman

	Fix CrossCompilerTool invocation in debug scripts.

	#jira UE-28056

Change 2899488 on 2016/03/08 by Ryan.Vance

	#jira UE-28000
	We can't test how many views are in the view family when initializing a view. There's no guaruntee that the family is setup yet. We'll need to move this test to the calling code.

Change 2899546 on 2016/03/08 by Zachary.Wilson

	Updating QA-PostProcessing to match the 4.12 Main version of the map.
	#jira UE-24473

Change 2899553 on 2016/03/08 by Michael.Schoell

	Reinstancer will no longer queue BPs to be saved when compiling skeleton class dependencies and will no longer process all queued BPs to save when it is complete.

	#jira UE-27509 - Save on compile set to always causes a crash on compile
	#jira UE-27856 - "Always" Save on Compile does not save the Blueprint

Change 2899558 on 2016/03/08 by Benjamin.Hyder

	building Lighting for QA-Materials
	#jira UE-24473

Change 2899597 on 2016/03/08 by Chris.Babcock

	Change reporting level of audio buffer decompression type logging
	#jira UE-28058
	#ue4
	#android

Change 2899704 on 2016/03/08 by Benjamin.Hyder

	Updating Qa-Materials map
	#Jira UE-24473

Change 2899736 on 2016/03/08 by Benjamin.Hyder

	Updating TM-LPV map
	#Jira UE-24473

Change 2899810 on 2016/03/08 by Lauren.Ridge

	#jira UE-27995 UE-27987

	Final UM3 UI Tweaks, + bug fix

Change 2899876 on 2016/03/08 by Peter.Sauerbrei

[CL 2913181 by Matthew Griffin in Main branch]
2016-03-17 11:10:14 -04: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
Josh Adams
660ab7f0c9 Copying //UE4/Dev-Platform to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================

Change 2719147 on 2015/10/07 by Mark.Satterthwaite

	Allow the shader cache to perform some precompilation synchronously on load before falling back to asynchronous compilation to balance load times against total time spent precompiling. Added a stat to the group that reports how long the precompile has been running until it completes so it is easier to track.

Change 2719182 on 2015/10/07 by Mark.Satterthwaite

	Refactor the ShaderCache's internal data structures and change the way we handle recording whether a particular predraw state has been submitted to try and make it more efficient.

Change 2719185 on 2015/10/07 by Mark.Satterthwaite

	Merging CL #2717701: Try and fix random crashes on Mac when manipulating bound-shader-states caused by ShaderCache potentially providing a bogus shader state pointer on exit from predraw.

Change 2719434 on 2015/10/07 by Mark.Satterthwaite

	Make sure that Mac ensures reports have a source context and a sane callstack when sent to the crash-reports server.

Change 2724764 on 2015/10/12 by Josh.Adams

	[Initial AppleTV support]
	Merging	//depot/YakBranch/... to //UE4/Dev-Platform/...

Change 2726266 on 2015/10/13 by Lee.Clark

	PS4 - Calc reserve size required for DMA copy when using unsafe command buffers

Change 2726401 on 2015/10/13 by Mark.Satterthwaite

	Merging CL #2716418: Fix UE-15228 'Crash Report Client doesn't restart into project editor on Mac' by reporting the original command line supplied by LaunchMac, not the modified one that strips the project name. The CRC can then relaunch as expected.
	#jira UE-15228

Change 2726421 on 2015/10/13 by Lee.Clark

	PS4 - Don't try to clear invalid targets

Change 2727040 on 2015/10/13 by Michael.Trepka

	Merging CL 2724777 - Fixed splash screen rendering for images with DPI different than 72

Change 2729783 on 2015/10/15 by Keith.Judge

	Fix huge memory leak in Test/Shipping configurations, caused because I am a numpty.

Change 2729847 on 2015/10/15 by Mark.Satterthwaite

	Merging CL #2729846: On OS X unconstrain windows from the dimension of the parent display when in Windowed mode - it is OK for them to be larger in this case. They do need to be repositioned if on the Primary display so that they don't creep under the menu bar and become unmovable/unclosable and Fullscreen windows still need to be constrained to a single display. We can now take screenshots of windows that are larger than the display & not get grey bars beyond the cutoff.
	#jira UE-21992

Change 2729865 on 2015/10/15 by Keith.Judge

	Fast semantics - Finish up resource transitions, adding resource decompression where appropriate and using non-fast clears where we can't determine the resource transition.

Change 2729897 on 2015/10/15 by Keith.Judge

	Fast Semantics - Make sure all GetData() calls are made safe with GPU fences.

Change 2729972 on 2015/10/15 by Keith.Judge

	Removed the last vestiges of ID3D11DeviceContext/ID3D11DeviceContext1 from the Xbox RHI. Everything now uses ID3D11DeviceContextX directly.

	This should be marginally quicker as it stops a double call to ClearState().

Change 2731503 on 2015/10/16 by Keith.Judge

	Added _XDK_VERSION to the DDC key for textures, which should solve the issue of the tiling mode changing in August XDK (and future changes Microsoft may inflict).

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 2731928 on 2015/10/16 by Michael.Trepka

	PR #1659: Mac/Build.sh handles additional arguments (Contributed by judgeaxl)

Change 2731934 on 2015/10/16 by Michael.Trepka

	PR #1618: added clang 3.7.0 -Wshift-negative-value ignore in JpegImageWrapper.cpp (Contributed by bsekura)

Change 2732018 on 2015/10/16 by Mark.Satterthwaite

	Emit a shader code cache for each platforms requested shader formats, this is separate to the targeted formats as not all can or need to be cached.
	- The implementation extends the ShaderCache's hooks in FShaderResource's serialisation function to capture the required shaders.
	- Each target platform has its own list of cached shader formats, analogous to the list of targeted RHIs. Presently only the Mac implements this.
	- Code cached shaders are now compressed (for size) to reduce the overhead associated with keeping all the shader code around - this works esp. well for text-based formats like GLSL.

Change 2732365 on 2015/10/16 by Josh.Adams

	- Packaging a TVOS .ipa now works (still haven't tried any of the Editor integration like Launch On)

Change 2733170 on 2015/10/18 by Terence.Burns

	Fix for Android IAP query not returning entire inventory.

Change 2733174 on 2015/10/18 by Terence.Burns

	Fix Movie player issue where wait for movie to finish isnt being respected.

	Seems a stray bUserCanceled event flag was causing this not to be observed.

	Added some verbose logging to apple movie player.

Change 2733488 on 2015/10/19 by Mark.Satterthwaite

	Added the ability to merge the .ushadercache files used by the ShaderCache to store shader & draw state information.
	- Fixed a bug that would cause invalid shader membership and draw state information to be logged.
	- Added a separate command-line tool to merge shader cache files, currently Mac-only but in theory should work on other platforms too.

Change 2735226 on 2015/10/20 by Mark.Satterthwaite

	Fix temporal AA rendering on GL/Mac OS X - you can't rely on EyeAdaptation values unless SM5 is available so only perform that code on SM5 & we must correctly clamp saturate(NaN) to 0 as the current hlslcc won't do that for us (& is required by the HLSL spec). The latter used to be clamped in the AA_ALPHA && AA_VELOCITY_WEIGHTING code block that was removed recently.
	#jira UE-21214
	#jira UE-19913

Change 2736722 on 2015/10/21 by Daniel.Lamb

	Improved performance of cooking stats system.

Change 2737172 on 2015/10/21 by Daniel.Lamb

	Improved cooking stats performance for ddc stats.
2015-12-10 16:56:55 -05:00
Marc Audy
60228ea69e Asynchronous realtime audio decompression/procedural generation (XAudio2, Mac, Android)
[CL 2578892 by Marc Audy in Main branch]
2015-06-05 16:09:35 -04:00
Aaron McLeran
ee5da6ccf1 UE-14954 only doing the log10 calculation if the volume changes from previous update
[CL 2536653 by Aaron McLeran in Main branch]
2015-05-04 18:35:35 -04:00
Aaron McLeran
a85d8ba0b5 Fixing android build
- accidentally checked these files in, reverted to previous version

[CL 2488651 by Aaron McLeran in Main branch]
2015-03-23 19:23:09 -04:00
Aaron McLeran
cc689ed400 Integrating Oculus Audio SDK to Main
Original Notes (adapted)

Implementation and Integration of Oculus Audio SDK for VR Audio Spatialization

- Adding new audio extension which wraps the oculus audio sdk and the new XAPO plugin
- Adding new XAPO (Xaudio2 Audio Processing Object) effect for processing mono audio source streams inside the new module
- Added new enumeration which allows users to select which spatialization algorithm to use for spatialized mono sources
- Refactored the regular sound source spatialization/effect in XAudio2 device code to support the new HRTF mono-to-stereo effect
- Designed feature so that if the sound spatialization module isn't used, the spatialization will default to normal spatialization algorithm

Notes on implementation:

- Because the audio engine doesn't bifurcate spatialized vs. non-spatialized sound sources into separate source pools, I had to create up-front the effects for the full number of supported sounds 32). This is because the oculus sdk requires at initialization the total number of sound sources that will be used in the SDK.

- Because the oculus SDK refers to sound source instances by index (into the pre-allocated array of sources set at init), I had to save each sound source's index so that it can be used on the HRTF XAPO effect, and then piped to the oculus SDK inside the UE audio extension.

- The audio engine assumes that mono-sources will be treated a certain way (during send-routing and spatialization). Because this new HRTF effect is effectively turning mono-sources into stereo-sources, some code had to be changed to send/route these audio sources as if they were stereo.

- This implementation is slightly different than the original GDC implementation to better work with multiple audio devices. Each audio device creates an IAudioSpatializationAlgorithm object which contains the oculus HRTF processing contexts.

#codereview Nick.Whiting Marc.Audy

[CL 2488287 by Aaron McLeran in Main branch]
2015-03-23 16:14:54 -04:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Robert Jones
5800659c7e Android audio fixes
- Fixes looping issue with ADPCM samples
- Fixes Android not looping sound cues correctly
- Fixes one shot sound ADPCM problems where sound would get cut early
- Removed Android Audio Device update function - was never called and did nothing anyway so this will improve clarity

Changed ADPCM decompressor so that it uses the same code to decompress a full file as it does when streaming - old code was correct it was just silly have it duplicated.

[CL 2339877 by Robert Jones in Main branch]
2014-10-24 10:55:50 -04:00
Robert Jones
747014db6b Added support to Audio device for Android to check if background music/audio is playing.
[CL 2295167 by Robert Jones in Main branch]
2014-09-12 11:37:24 -04:00
Robert Jones
c8aa685ef4 #ttp 338505 MobileMVP: Audio: Procedural Sound not supported on Android
Updated android audio device/buffers/souce to support creation of procedural data from a sound source. Tested with MOD replay in QA test level.

#codereview daniel.lamb, chris.babcock, dmitry.rekman

[CL 2276233 by Robert Jones in Main branch]
2014-08-28 11:18:51 -04:00
Robert Jones
566d29dd25 #ttp 334858 Android : Support ADPCM
Added support for ADPCM decoding.
Added 'sound type' information to USoundWave
- Android uses this to detect which type of asset it needs to deal with
Added support for selected encoding type via project settings

#codereview Daniel.Lamb, Chris.Babcock

[CL 2260750 by Robert Jones in Main branch]
2014-08-18 09:13:38 -04:00
Matthew Griffin
f92177afd9 Removing more duplicated variables from audio sub classes
Duplicate ResourceID would have caused the same problems in HTML5 and Linux as Android. Other duplications are errors waiting to happen, there are a couple of stats functions that could be using the base class versions and not displaying the correct information.

[CL 2119229 by Matthew Griffin in Main branch]
2014-06-27 05:15:16 -04:00