Commit Graph

101 Commits

Author SHA1 Message Date
Stefan Boberg
8607ecb30d Copying //UE4/Dev-Core to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 6815521 by Stefan Boberg in Main branch]
2019-06-03 15:32:00 -04:00
Ben Marsh
0cc6e3dca6 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 6631504 by Ben Marsh in Main branch]
2019-05-24 11:51:54 -04:00
Johan Torp
b6207ed8ee Deprecated default FName operator < and >
We've had several cases where the previously default alphabetical sorting caused performance issues when it wasn't needed. We now require you to explicitly choose either slow alphabetical sorting or fast non-alphabetical order.

The fast order does not decode, access or compare actual string data, but the order is not stable between process runs.

#rb steve.robb

[CL 5915265 by Johan Torp in Dev-Core branch]
2019-04-16 07:16:12 -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
marc audy
3b14c736ff Fix ensures when using synthetic keys
#jira UE-54202
#jira UE-64795
#rb Justin.Sargent


#ROBOMERGE-SOURCE: CL 4811307 via CL 4811309 via CL 4814277

[CL 4814292 by marc audy in Main branch]
2019-01-25 13:42:51 -05:00
Jack Porter
068ca68f0b Merging //UE4/Main/Engine/... to //UE4/Dev-Mobile
#rb None

[CL 4749281 by Jack Porter in Dev-Mobile branch]
2019-01-17 21:54:28 -05:00
Ben Marsh
3e14e12a73 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4737894 by Ben Marsh in Dev-Build branch]
2019-01-16 19:30:43 -05:00
Nick Shin
94cf5a1f08 HTML5 - bring over github work to UE4 perforce
#jira UEMOB-474  Integrate multithreaded HTML5 into UE/Dev Mobile
#rn
#rb jack.porter

[CL 4707110 by Nick Shin in Dev-Mobile branch]
2019-01-10 21:13:01 -05:00
Ben Marsh
129aac0526 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4706788 by Ben Marsh in Dev-Build branch]
2019-01-10 20:03:35 -05:00
Jack Porter
0245e895e4 Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
#rb None

[CL 4675678 by Jack Porter in Dev-Mobile branch]
2019-01-01 23:32:24 -05:00
Ben Marsh
530369c613 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4662695 by Ben Marsh in Dev-Build branch]
2018-12-14 14:49:12 -05:00
Jack Porter
a400cb96bf Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
#rb None
#jira None

[CL 4564204 by Jack Porter in Dev-Mobile branch]
2018-11-13 23:40:18 -05:00
Ben Marsh
0f022f2f46 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none

[CL 4502641 by Ben Marsh in Dev-Build branch]
2018-10-24 13:03:31 -04: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
Jack Porter
079be7f538 Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
#rb None
#jira 0

[CL 4293080 by Jack Porter in Dev-Mobile branch]
2018-08-16 13:53:43 -04:00
Ben Marsh
2d3ea5e946 Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4285612)
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 3836829 by Ben.Marsh

	UBT: Fix ability to precompile plugins from installed engine builds.

Change 3839519 by Ben.Marsh

	UBT: Simplify configuring bPrecompile and bUsePrecompile settings for modules. Each rules assembly can now be configured as installed, which defaults the module rules it creates to use precompiled data.

Change 4042043 by Steve.Robb

	GitHub #4705 : Added weak lambda's for delegates and multicast delegates.

Change 4042056 by Robert.Manuszewski

	Optimized Mark Phase of GC by up to 10ms by making it run in parallel and removing a huge array presize which we didn't need.

Change 4042104 by Robert.Manuszewski

	Set the minimum GC cluster size to 5 so that GC doesn't have to process micro clusters which are more expensive than processing individual objects

	+ Exposed the minimum cluster size to ini and project settings as gc.MinGCClusterSize
	+ Added the ability to sort clusters by name/object count/mutable object count/referenced clusters count when dumping them with gc.ListClusters command

Change 4042377 by Robert.Manuszewski

	Reworked how GC and other threads (ALT specifically) interact - GC will now notify the ALT it wants to run and ALT will immediately try to finish its current work to allow that. Also the entire ALT tick is now protected against GC running at the same time to improve ALT stability.

	+ added gc.ForceCollectGarbageEveryFrame console variable that triggers a forced GC every frame

Change 4042427 by Robert.Manuszewski

	Changed FGCCSyncObject to use events when waiting for GC to finish so that it doesn't spin on non-game threads when GC is running

Change 4042482 by Robert.Manuszewski

	Unhashing unreachable objects (ConditionalBeginDestroy) will now also be done incrementally, just like the purge phase of Garbage Collection

Change 4042635 by Robert.Manuszewski

	Fix for a potential assert when incremental purge garbage is pending and something forces a full purge

Change 4044092 by Steve.Robb

	Fix for forward declared CoreUObject weakobject types in delegates when building in Clang.

Change 4044102 by Robert.Manuszewski

	Fix for a possible hang when worker threads are preventing GC from running and something is later trying to FlushAsyncLoading with the Async Loading Thread enabled

Change 4044113 by Steve.Robb

	Another Clang fix.

Change 4044160 by Robert.Manuszewski

	Disregard For GC pool will now be enabled by default in cooked builds

Change 4044287 by Steve.Robb

	Typo fix.

Change 4047723 by Graeme.Thornton

	TBA: Fixes for import/export name cache and object resolving

Change 4048015 by Graeme.Thornton

	TBA: Weak/Soft/Lazy pointer serialization changes

	* Remove FWeakObjectPtr::Serialize, move it's logic into, and replace usages of with calls to, FArchiveUObject::SerializeWeakObjectPtr(). Ensures that something is always sent to the archive so that structured archives can be kept happy in the future.
	* Added Weak/Soft/Lazy pointer handling to the structured archive slot interface and all the formatters. Binary formatters just forward the call onto their inner and text archives store as a string path reference.
	* FArchiveUObjectFromStructuredArchive caches all these pointer types and stores indices in the binary block, same as with a UObject*. All pointers are then forwarded to the underlying formatter in one go on finalization.

Change 4048021 by Steve.Robb

	Fix for binding an unbound TFunction to another TFunction with a different signature.  Also all null pointers now count as unbindings, not just nullptr.
	TIsMemberPointer added.
	TIsATFunction and TIsATFunctionRef renamed to remove the 'A's.

Change 4048544 by Robert.Manuszewski

	Fixing ConditionalBeginDestroy profiling after changes to incremental CBD.

Change 4051028 by Graeme.Thornton

	TBA: ArchiveFromStructuredArchive adapter uses Inner to determine if it is outputting to text, and sets it's own ArIsTextFormat to false

Change 4051056 by Graeme.Thornton

	TBA: High level tagged property / UObject base class text serialization
	 - UObject serialize converted to structured archive
	 - Properties written to text individually with text tags, and then binary adapted values
	 - Only saves, doesn't load

Change 4051111 by Graeme.Thornton

	TBA: Temporarily disable loading of text assets until tagged property serialization path is fixed up

Change 4051154 by Graeme.Thornton

	TBA: Convert a few uobject serializers to structured archive format for example purposes

Change 4051181 by Graeme.Thornton

	TBA: Added default structured archive implementation of SerializeItem to UProperty, which just calls the FArchive version on an FArchiveUObjectFromStructuredArchive adapter. Implemented structured archive SerializeItem for UArrayProperty

Change 4051197 by Graeme.Thornton

	TBA: ObjectProperty text serialization

Change 4051216 by Graeme.Thornton

	Restored a modified FWeakObjectPtr::Serialize function to keep backwards compatibility in code I don't have access to.

Change 4051261 by Graeme.Thornton

	TBA: Convert UMetaData to structured archive

Change 4051374 by Steve.Robb

	Incorrect assert removed.

Change 4051562 by Robert.Manuszewski

	Adding stats for the new GC internal functions

Change 4051614 by Graeme.Thornton

	TBA: Removed UProperty::SerializeItem(FArchive, ...) and replaced with UProperty::SerializeItem(FStructuredArchive::FSlot, ...). Fixed up most of them to work properly and added adapters in for any that were non-trivial.

Change 4052512 by Graeme.Thornton

	TBA: Temporary workaround for softobjectptr and lazyobjectptr uproperties not serialization anything when they know the archive is a reference collector. They should always be serializing their pointers and letting the underlying archive itself ignore them.

Change 4053917 by Robert.Manuszewski

	Clustered objects from clusters that are no longer reachable will now be marked as unreachable immediately when gathering unreachable objects

Change 4053919 by Robert.Manuszewski

	Added the ability to disable incremental BeginDestroy in ini/project settings

Change 4055518 by Daniel.Lamb

	Fixup for deterministic audio generation issue.
	Submitted on behalf of Rich.Whitehouse

	#jira nojira
	#test prefilght automated test.

Change 4056854 by Graeme.Thornton

	TBA: Added a test asset to EngineTest which contains all the different property types and test cases.

Change 4056858 by Graeme.Thornton

	TBA: Updated USetProperty to proper structured archive usage

Change 4056872 by Graeme.Thornton

	TBA: Add map property field to test object

Change 4056873 by Graeme.Thornton

	TBA: Convert UMapProperty to full structured archive

Change 4056994 by Graeme.Thornton

	TBA: Converted FText over to structured archive. Implemented saving, but not loading.

Change 4059728 by Ben.Marsh

	UBT: Add support for using adaptive non-unity builds when the engine and project are in separate repositories.

Change 4059805 by Graeme.Thornton

	Fixed typo in text serialization. Fixes CIS automation test errors

Change 4060007 by Graeme.Thornton

	TBA: FArchiveFromStructuredArchive will now access it's host slot lazily, i.e. only when a value is actually written to the archive.

Change 4060092 by Stefan.Boberg

	Added optimized Windows console window output path to GenericConsoleOutput since this slowed down cooking considerably (2 minutes spent in wprintf alone for one large dataset)

	When stdout is attached to a console we use the WriteConsoleW function instead of wprintf since the latter is very slow especially in unbuffered mode which the engine currently configures for stdout (see setvbuf call in LaunchEngineLoop.cpp).

	At some point we should reconsider this buffering policy since it's likely to slow down other platforms as well but I wanted to do a safe change for now as I don't yet fully understand why the setvbuf call is there in the first place.

Change 4060108 by Stefan.Boberg

	Introduced some additional target platform utilities to help with asset cook optimizations

	* We now assign each ITargetPlatform a zero-based ordinal value
	* Introduced FTargetPlatform and FTargetPlatformSet types to help store platform references and platform sets efficiently.

	These are not currently used in the engine but are designed to replace the existing ITargetPlatform/string/FName representations in the cooking data structures.

Change 4060143 by Graeme.Thornton

	Undo //UE4/Dev-Core/Engine/Source/Runtime/... changelist 4060007

	Needs some other changes that I haven't checked in yet...

Change 4062432 by Ben.Marsh

	Fix error message when enumerating P4 changes.

Change 4062648 by Ben.Marsh

	Add missing p4 integration action.

Change 4063620 by Graeme.Thornton

	Integrated a fix from UDN where the engine would crash when trying to load a very small encrypted file (<16bytes) from a pak file, where the read address wasn't already aligned to the AES block size.

	(https://udn.unrealengine.com/questions/431989/crash-while-reading-a-very-small-file-in-encrypted.html)

Change 4066963 by Robert.Manuszewski

	Fixing GC cluster verification code reporting false positives when a cluster is referencing another cluster through 'mutable' objects list.

Change 4067133 by Robert.Manuszewski

	Changed log verbosity when reporting individual cases of GC cluster assumption violations as they are followed by an asser anyway and this way we get the chance to see all issues before we assert at the end of these checks.

Change 4067443 by Steve.Robb

	FString can now be constructed from any char pointer type and length.

Change 4068156 by Steve.Robb

	Fix necessary because of FString constructor change in CL# 4067443.

Change 4070258 by Graeme.Thornton

	Fixes for VSCode

Change 4070372 by Graeme.Thornton

	TBA: Script struct serialization to structured archives

Change 4071913 by Ben.Marsh

	Move bulk of the code for UnrealPak into an engine developer module, so it can be used in the editor.

Change 4071914 by Ben.Marsh

	Missing files.

Change 4071937 by Ben.Marsh

	Missing header.

Change 4072015 by Ben.Marsh

	Fixes for compiling PakFileUtilities as part of the editor.

Change 4072826 by Steve.Robb

	TBitArray::Reserve() added.
	TBitArray::Add() overloaded to allow adding multiple bits.
	TSparseArray::Reserve() optimized to call the overloaded Add().

Change 4073271 by Daniel.Lamb

	Fixed add patch tier in project launcher passing the wrong commandline option to UAT.

	#test none

Change 4074708 by James.Hopkin

	#core Removed redundant Casts

Change 4074763 by Steve.Robb

	Fix for TSparseArray::Reserve() size.

Change 4076063 by Ben.Marsh

	Add an "UnrealPak" commandlet with the same functionality as the standalone UnrealPak program. Invoke by running the editor with -run=UnrealPak and the standard UnrealPak commandline options.

Change 4077064 by Robert.Manuszewski

	Fixing compile error in PakFileUtilities

Change 4077144 by Graeme.Thornton

	TBA: TextAssetCommandlet improvements

	* Collect lists of broken assets during roundtrip tests and print a summary of packages that failed each phase at the end
	* After resaving as text, load the file back as a plain JSON hierarchy to ensure the output was valid

Change 4077412 by Ben.Marsh

	Set the correct exit code for UnrealPak. Should return 0 on success, not 1.

Change 4077760 by Graeme.Thornton

	TBA: Loading fixed for tagged property serialization

	Includes conversion of all UProperty::ConvertFromType() and SerializeFromMismatchedTag() functions to use structured archives

	Lazy initialization of FArchiveFromStructruredArchive when loading, to support the possibility of an adapter being create around an object property serialize call to its inner UStruct, which then decides not to do anything and return false. Stops the ArchiveFromStructuredArchive from consuming the slot and getting upset later on when we try to serialize normal tagged properties from it.

	Disabled lazy bulk data loading from text assets. Requires a bigger change to make it work.

	Added some debug checks to json input formatter which track the current value stack size when a new object is pushed onto the stack, and makes sure that the stack has returned to the same size when the object is popped. Catches cases where we unpack an array/stream to the value stack but then don't consume all the items.

Change 4078800 by Ben.Marsh

	Change UAT to using the editor's UnrealPak commandlet rather than invoking the standalone UnrealPak executable. To improve performance when building several PAK files, also add a new -batch=<file> command which reads commands to execute in parallel from a text file.

Change 4079745 by Graeme.Thornton

	TBA: Migrated a couple of UObject Serialize functions to FStructuredArchive (SoundCue / MaterialExpressions / Editor strip flags)

Change 4079847 by Graeme.Thornton

	TBA: Add 'FindMismatchedSerializers' mode to text asset commandlet, which dumps out a list of all UClasses which don't have the CLASS_MatchedSerializers flag, meaning we can't guarantee the have Serialize functions for FArchive AND FStructuredArchive, therefore we can't use the new structured archive based serialize path. Should only ever be native instrinsic classes as UHT takes care of all other cases.

Change 4079925 by Ben.Marsh

	Fix incorrect assignment when deriving name for chunked pak file.

Change 4080214 by Ben.Marsh

	Move the ThreadPoolWorkQueue class into DotNETUtilities so it can be used by other projects.

Change 4082394 by Graeme.Thornton

	CIS fix for variable shadowing warning

Change 4082583 by Ben.Marsh

	Add a IBinarySerializable interface for types that support reading from a BinaryReader and writing to a BinaryWriter. Implementing IBinarySerializable implies a constructor taking a BinaryReader argument is available for deserializing.

Change 4082652 by Ben.Marsh

	Fix FileReference.Directory not returning a directory with a trailing backslash for files in the root directory.

Change 4082755 by Graeme.Thornton

	Fixed an erroneous usage of TUniquePtr<uint8>as a pointer to a uint8 array when creating pak files. Caused a crash when compression was enabled, and has probably surfaced because pak generation is now done by an editor commandlet rather than a standalone program.

Change 4082756 by Graeme.Thornton

	Fixed some incorrect documentation for pakfile compressed chunk headers

Change 4082883 by Graeme.Thornton

	Static analysis warning fix

Change 4082912 by Ben.Marsh

	Move ExceptionUtils into DotNETUtilities.

Change 4085291 by Graeme.Thornton

	TBA: In the Json output formatter, write float and double values out with enough precision for successful roundtripping. Added some debug only code which will immediately reconvert the string back to its original value and compare the the input

Change 4085523 by Graeme.Thornton

	TBA: Remove only explicit usage of DECLARE_FSTRUCTUREDARCHIVE_SERIALIZER. Should only be used from UHT generated code.

Change 4086037 by Robert.Manuszewski

	Fix for a potential race condition when two threads want to acquire GC lock

Change 4088655 by Graeme.Thornton

	Pak creation now uses the bEnablePakSigning setting from the crypto config json file

Change 4091474 by Steve.Robb

	Fix for TStaticBitArray::FindFirstSetBit() and TStaticBitArray::FindFirstClearBit().
	Unused variables removed.

Change 4093632 by Steve.Robb

	CIS fixes.

Change 4093656 by Graeme.Thornton

	Build fix

Change 4093744 by Ben.Marsh

	Allow per-chunk settings for whether to enable compression in UnrealPak.

Change 4099712 by Gil.Gribb

	UE4 - Fixed rare case where insufficient space was preallocated for cooldown ticks.

	#jira UE-59686

Change 4099912 by Stefan.Boberg

	Cooking timer optimizations:

	- Replaced data structures for FScopeTimer and FHierarchicalTimerInfo. Previous implementation used FString for many things and caused *lots* of heap and string concatenation activity. Replaced with a compile-time node id (using __COUNTER__) and raw string literals.
	- Removed PERPACKAGE_TIMER support (was disabled by default and was difficult to test)
	- Made it possible to toggle OUTPUT_TIMING and ENABLE_COOK_STATS independently
	- Removed some extremely tight timers because the overhead from calling QPC significantly exceeded the measured code

	This change shaved some 15% off a clean cook of Fortnite WindowsClient (en) with fully populated local DDC

Change 4100519 by Stefan.Boberg

	Quick fix for Linux build issue introduced in 4099927

Change 4105327 by Stefan.Boberg

	Cooker: Changed FHierarchicalTimerInfo so it uses a linked list for tracking child nodes, to be able to deal with any child count. Previously we assumed there would never be more than 9 children but it turns out there are cooker modes that need more.

	Fixes check when using -FullLoadAndSave to cook

Change 4105448 by Stefan.Boberg

	- Fixed Linux build warning re: member initialization order
	- Also eliminated OUTPUT_HIERARCHYTIMERS/CLEAR_HIEARCHYTIMERS macros (plain functions are fine)
	- Moved finishing-up code for FullLoadAndSave() to TickCookOnTheSide() call site to improve timer output. Previously some of the scopes would not have been closed before printing and thus the output was misleading.

Change 4109031 by Ben.Marsh

	Attribute-driven Perforce wrapper (old Epic Friday project). Offers a more complete implementation than the current P4 wrapper in UAT without requiring any platform-specific libraries. Uses the Python binary output for parsing.

Change 4109588 by Ben.Marsh

	UBT: Add extension methods for serializing a nullable type to a BinaryReader/BinaryWriter.

Change 4109595 by Ben.Marsh

	Missing project file for DotNETUtilities.

Change 4110724 by Stefan.Boberg

	Removed annotation map locking in UObjectMarks, eliminating around one minute (~3.5%) from Fortnite cook time.

	The locking was redundant since the annotation maps are managed per thread anyway.

Change 4111304 by Ben.Marsh

	UAT: Add support for setting a status message through the log class. Allows writing transient messages (eg. progress messages) which will be cleared out before writing other messages. Best used through the LogStatusScope class, which can set a status message for the duration of a using() block.

	As part of this change, the console no longer has to be added as a dedicated trace listener. Since we already special-case this listener when formatting log output, it's easier to just keep the implementation separate to the other trace listeners.

Change 4112708 by Steve.Robb

	Fix for TBitArray::MaxBits in assignment.

Change 4114133 by Stefan.Boberg

	Tweaked how low-level memory (LLM) tracker is implemented to reduce overheads.

	Previously FMemory functions would acquire the LLM singleton and call OnLowLevelFree/OnLowLevelAlloc etc which would check the bIsDisabled flag and early out if it was set. Due to how frequently these functions were called this ended up costing quite a bit.

	- This change makes the flag a static member variable instead of a member variable and therefore enables a simpler early-out to be implemented.
	- The singleton getter is also simplified to avoid hitting the threadsafe singleton construction path on every call.
	- The enable flag is no longer TAtomic - this also incurs extra overhead for no clear benefit

	Shaves approximately 3.5% (one minute) off a Fortnite cook test scenario (using -FullLoadAndSave)

Change 4115010 by Robert.Manuszewski

	Fixing CIS

Change 4115249 by Robert.Manuszewski

	Fixing async loading code asserts when exiting game very early due to an error

	#jira UE-56267

Change 4117091 by Ben.Marsh

	Prevent doubled-up lines when writing status updates with console log verbosity.

Change 4117207 by Ben.Marsh

	UGS: Do not include executables in diagnostics zip file, and ignore "no such files" error when cleaning workspace.

Change 4119175 by Ben.Marsh

	UGS: Fix crash writing version files when directory does not already exist.

Change 4119987 by Ben.Marsh

	UGS: Show a dialog box while the launcher is updating executables from Perforce, which allows cancelling the operation if necessary. Allow setting the username on the settings window, and prompt for login credentials if necessary. Should prevent situations where users have to update settings from the command prompt.

	Holding down shift during launch now shows the settings dialog rather than an immediate prompt to launch the unstable version (unstable version is shown as a checkbox on this dialog).

Change 4119991 by Ben.Marsh

	Update version number for UGS launcher to 1.13.

Change 4121943 by Robert.Manuszewski

	Don't use FArchiveAsync2 for reading packages with non-async path in editor builds as its performance is worse than the standard archive's (saves about 1 minute when doing larger cooks and 7 seconds when loading into PIE)

Change 4122592 by Steve.Robb

	GitHub #4762 : Improve wording and grammar of Math comments
	Also includes improved accuracy in FMath::ComputeBoundingSphereForCone().

Change 4122819 by Stefan.Boberg

	Don't call CreateDirectory redundantly when opening files for writing using FFileManagerGeneric::CreateFileWriter

	This change avoids calling IPlatformFile::CreateDirectoryTree if possible since this is a very expensive function especially for deep hierarchies as it performs directory creation from the root directory onwards instead of from the leaf downwards. That function should also be fixed but this change improves performance in the meantime.

Change 4122872 by Stefan.Boberg

	CreateDirectoryTree now creates directories leaf-to-root instead of the other way around. This is much more efficient since we don't spend time on system API calls for directories which already exist. This accounted for a very large amount of CPU time in cooking as the full target file directory hierarchy would be "created" for every single output file.

Change 4123109 by Stefan.Boberg

	- Disable overlapped I/O in editor / cooker. Synchronous I/O reduces the number of syscalls and Windows performs prefetching on our behalf anyway for sequential reads
	- Eliminated syscall which was issued for every write to update cached file size -- since we're the only writers to the file (file access allows read sharing at most) we can authoritatively update the file size on write completion

Change 4123455 by Ben.Marsh

	PR #4775: New build param PCHMemoryAllocationFactor to set /Zm VS build param. (Contributed by lucaswall)


Change 4124207 by Ben.Marsh

	UBT: Remove some unnecessary indirection for generated code paths.

Change 4124217 by Ben.Marsh

	UBT: Remove another unused variable from UEBuildModuleCPP.

Change 4124377 by Stefan.Boberg

	In IPlatformFile::DeleteDirectoryRecursively, attempt to delete file first and if it fails clear the readonly flag and try again

	Previously there was a call to clear the readonly flag for every deleted file and this is a waste of resources 99% of the time. The SetFileAttributes call accounted for a significant amount of time during cooker sandbox directory deletion

Change 4125071 by Stefan.Boberg

	Some tweaks to FQueuedThreadPoolBase scheduling and memory management

	- Explicitly pass in false for TArray::RemoveAt(..., bool bAllowShrinking) argument to prevent memory reallocation when arrays are drained and inevitably repopulated shortly afterwards
	- Use a MRU strategy instead of LRU when picking a thread to wake up. The MRU thread is the most likely to have a 'hot' cache for the stack etc. Picking from the back of the array also happens to be cheaper since
	no memory movement is necessary when RemoveAt is called. (This was the strategy in place before CL2600362 which seems to have changed it unintentionally)
	- Release lock as soon as a thread has been chosen, before asking the worker thread to wake up and do the work

Change 4126132 by Ben.Marsh

	UAT: Detect when stdout is redirected and prevent using backspace characters to move the cursor.

Change 4126867 by Graeme.Thornton

	TBA: Fix tagged binary formatter

Change 4127010 by Robert.Manuszewski

	AnimScriptInstances created at runtime will now also be added to the owning omponent's cluster to avoid GC issues.

Change 4127932 by Ben.Marsh

	WorkspaceTool: Reduce unnecessary logging of status messages when console output is not redirected.

Change 4129050 by Ben.Marsh

	UGS: Check for NET Framework 4.5 being installed before running the installer. Also fix warning trying to kill existing UGS instances before upgrade.

Change 4129459 by Graeme.Thornton

	TBA: TextAssetCommandlet - When outputting converted assets to an output path, replicate the workspace relative path in the output directory

Change 4129515 by Graeme.Thornton

	TBA: Add EnterRecord overload that allows outputting of available field names when loading.

Change 4129517 by Graeme.Thornton

	TBA: Tagged properties are written out as named fields on the "Properties" record, rather than as a stream with a null tag at the end

Change 4129518 by Graeme.Thornton

	TBA: Added a local const bool to allow easy hacking out of text asset loading support

Change 4129558 by Graeme.Thornton

	TBA: Build fix for textasset-less configs

Change 4129614 by Ben.Marsh

	UGS: Main window is now restored to normal size when activated by clicking on the tray icon.

	#jira UE-60490

Change 4129618 by Ben.Marsh

	UGS: Speculative fix for unreproduced exception accessing disposed window while shutting down.

Change 4131936 by Robert.Manuszewski

	Removing some WIP code accidentally checked in with CL #4121943

Change 4133490 by Ben.Marsh

	UGS: Allow the $(Change) variable to be used in more places than just the context menu.

	#jira UE-60573

Change 4133550 by Ben.Marsh

	UGS: Setting for whether or not to use incremental builds is now exposed through the variable "$(UseIncrementalBuilds)" for use by custom build steps.

	#jira UE-60554

Change 4133681 by Ben.Marsh

	UGS: A per-project list of folders and extensions to be deleted by default when running the 'clean workspace' tool can now be specified through the <ProjectDir>/Build/UnrealGameSync.ini file. Settings may be specified for an individual branch (via a category with the depot path to the project) or for wherever the project is currently open (via the [Default] category).

	The SafeToDeleteFolders list specifies a substring that will be checked against folder paths. Anything containing this folder will be marked as safe for delete by default.

	The SafeToDeleteExtensions list specifies a list of extensions for files that can always be deleted.

	Example:

	 [Default]
	+SafeToDeleteFolders=/MyGame/Test/
	+SafeToDeleteFolders=/DataService/
	+SafeToDeleteExtensions=.xx1
	+SafeToDeleteExtensions=.xx2

	#jira UE-60575

Change 4135449 by Ben.Marsh

	Fix allowing use of Job objects on Windows platforms (debug code submitted by mistake)

Change 4135730 by Ben.Marsh

	UBT: Plugins can now be enabled and disabled from the .target.cs file (for targets that do not use the shared compile environment), by compiling the list of enabled/disabled plugin names into the Projects module.

Change 4135823 by Ben.Marsh

	UBT: Remove legacy code to handle disabling optional plugins; now that this is compiled into the target, it will work for any plugins we choose.

Change 4135945 by Ben.Marsh

	UBT: Fix error running programs with no explicitly enabled or disabled plugins.

Change 4137207 by Ben.Marsh

	UGS: Align all badges with the same name, to make it easier to see which CIS steps are being run. Allow overriding the slot taken by a particular badge by calling it "SlotName:LabelName".

Change 4137311 by Stefan.Boberg

	Removed child cooker support.

	In practice it is not a useful feature as it provides no performance improvement (quite the opposite in fact) and adds testing and maintenance complexity.

Change 4137393 by Ben.Marsh

	UGS: Fix display of multiline errors in the status panel.

Change 4141708 by Steve.Robb

	GitHub #3631 : Incorrect default argument in WeakObjectPtrTemplate

	#jira UE-45490

Change 4146655 by Stefan.Boberg

	Removed FullGCAssetClasses logic - no longer necessary nor useful

Change 4147318 by Ben.Marsh

	UGS: Compress build badges in a column if it shrinks below the size that they would be visible.

Change 4148207 by Ben.Marsh

	UGS: Added support for showing the latest completed build from a specific list of badges in the status panel. To declare a badge as one that should appear in the status panel rather than the CIS column, add it to the project's UnrealGameSync.ini in the project or [Default] section like so:

	+ServiceBadges=RoboMerge

Change 4148282 by Stefan.Boberg

	Fixed bug in UCookOnTheFlyServer::GetCookOnTheFlyUnsolicitedFiles - UnsolicitedFiles should be passed by reference not by value

Change 4148344 by Stefan.Boberg

	Fixed minor indentation error (most likely caused by sloppy merge)

Change 4148521 by Stefan.Boberg

	Removed accidentally checked in PRAGMA_DISABLE_OPTIMIZATION from CookOnTheFlyServer.cpp

Change 4148639 by Ben.Marsh

	UGS: Fix tooltips not showing for changes that have description badges.

Change 4149373 by Ben.Marsh

	UGS: Allow adding additional columns to display particular badges by adding entries from the project config file. Example syntax:

	+Columns=(Name="Desktop",MinWidth=50,DesiredWidth=100,Weight=3,Badges="Editor")
	+Columns=(Name="Mobile",MinWidth=50,DesiredWidth=100,Weight=3,Badges="IOS,Android")

	Same form can be used to control how default columns are displayed (though badge settings are ignored). Also allow PerforceMonitor to detect local changes to project config files and update settings automatically.

Change 4149399 by Ben.Marsh

	UGS: Update version to 1.143.

Change 4155660 by Steve.Robb

	PROJECTION and PROJECTION_MEMBER macros which provide the correct behavior when creating projections using functions which are overloaded or use default arguments.

Change 4157117 by Ben.Marsh

	Fix warning due to plugins disabled in .target.cs file.

Change 4158011 by Ben.Marsh

	UBT: Add a check that the UnrealHeaderTool target file exists, rather than throwing an exception when reading it fails.

Change 4158646 by Ben.Marsh

	UGS: Fix exception when login is discovered to have expired during a workspace update.

Change 4158678 by Ben.Marsh

	UGS: Fix an exception on shutdown due to the icon being hidden after it's already been disposed.

Change 4158683 by Ben.Marsh

	UGS: Add an unhandled exception filter which sends the exception data to the backend.

Change 4159131 by Ben.Marsh

	UGS: Reduce the number of characters displayed for build badges based on the available space.

Change 4159194 by Graeme.Thornton

	TBA: Fix incorrect map property conversion code when converting an old property that contains a map with different key/value types

Change 4159239 by Steve.Robb

	Improved readability and compliance with coding standards.

Change 4159246 by Ben.Marsh

	UGS: Allow syncing projects where source code is not available (and various version files don't exist).

	#jira UE-60985

Change 4159286 by Ben.Marsh

	UGS: Remove requirement for UE4Editor.target.cs to be visible in the depot in order to open a project.

	#jira UE-60986

Change 4159302 by Ben.Marsh

	UGS: Update version to 1.144.

Change 4160308 by Ben.Marsh

	All staging client executables for blueprint projects.

	#jira UE-60983

Change 4161567 by Steve.Robb

	GitHub #4816 : UE-60771: Handle escaped double quote in FParse::LineExtended

Change 4162641 by Ben.Marsh

	UGS: Allow customizing the position of custom columns, via the Index=N attribute.

Change 4162647 by Ben.Marsh

	UGS: Update version to 1.145.

Change 4165319 by Robert.Manuszewski

	PR #4812: Fix inconsistent command-line argument handling under Windows (Contributed by adamrehn)


Change 4166150 by Ben.Marsh

	UGS: Include *.inl when looking for code changes.

Change 4166551 by Steve.Robb

	Whitespace fixes caused by a bad merge.

Change 4168483 by Ben.Marsh

	UGS: Add a more useful error if a file to be synced exceeds the max allowed path length.

Change 4168490 by Ben.Marsh

	UGS: Update version to 1.146.

Change 4168551 by Ben.Marsh

	UBT: Move bBuildLargeAddressAwareBinary into an exposed setting.

Change 4168560 by Ben.Marsh

	UBT: Remove static config variable for controlling which configuration of UHT to use.

Change 4171296 by Ben.Marsh

	UGS: Move the check for overlong paths earlier.

Change 4171531 by Ben.Marsh

	UBT: Fix exception if BuildConfiguration.xml contains an unknown category.

Change 4183371 by Robert.Manuszewski

	Fix for a crash in Async Loading Graph's CheckCycles when GC kicks in on the game thread and forces ALT to exit early

Change 4184312 by Ben.Marsh

	UGS: Update version to 1.148

Change 4184480 by Robert.Manuszewski

	Removing unused async loading stat

Change 4186390 by Ben.Marsh

	UBT: Format XML validation errors in a format that allows double-clicking on the message in Visual Studio.

Change 4188644 by Ben.Marsh

	UBT: Add the MakePathSafeToUseWithCommandLine() function to UBT.

Change 4188647 by Ben.Marsh

	UBT: Fix exception in target receipt when architecture is null.

Change 4189617 by Ben.Marsh

	Change FileSystemReference, FileReference and DirectoryReference objects to use OrdinalIgnoreCase comparisons without creating a separate copy of the string to compare. The filesystem does not use the invariant culture, and it can produce the wrong results in some cases (the ordinal comparison is faster, too).

Change 4189740 by Ben.Marsh

	UAT: Remote code to build UnrealPak when packaging; we use the editor now.

Change 4189860 by Ben.Marsh

	UGS: Make the filter for excluding automated lighting rebuilds more explicit.

Change 4190082 by Ben.Marsh

	Fixes to allow enabling edit and continue for Windows builds. Have experienced quite a few VS crashes when testing it in editor; not yet recommended for general use.

	- Allow edit and continue for any configuration, not just debug.
	- Fixed PDB errors compiling files that use a shared PCH with edit and continue enabled. Path to the generated PDB file was using the wrong directory.
	- Removed code that tracks PDB output files, since they're modified multiple times during a build.
	- Enable debug information when compiling generated CPP files, since it causes errors if the shared PCH PDB doesn't have the same option.
	- Disable support for remote execution of steps that modify the PDB, since the same file has to be modified many times. Remote execution causes the PDB files to be corrupted. Unfortunately, this makes E&C builds significantly slower.

	#jira

Change 4192949 by Ben.Marsh

	UBT: Minor tidy-up (merging UEBuildBinary.Build and UEBuildBinary.SetupOutputFiles)

Change 4193218 by Ben.Marsh

	Fix formatting.

Change 4197252 by Mike.Erwin

	UAT: Fix log output w/ correct count of non-code projects.

	#jira none

Change 4197941 by Ben.Marsh

	UGS: Add support for DebugGame editors that have an executable with a DebugGame suffix.

Change 4197964 by Ben.Marsh

	UGS: Prevent attempts to automatically reopen projects while a modal dialog is up, or the workspace is syncing.

Change 4198144 by Ben.Marsh

	UGS: Prevent modal dialogs when login expires in P4, and prompt for password when hitting "retry".

Change 4198413 by Ben.Marsh

	UGS: Always show the main window when launched manually, and run with -RestoreState when launched at startup. Also add a couple more places that save the visibility state, since logging off seems like it can terminate the process abrubtly.

Change 4198779 by Ben.Marsh

	UBT: Allow generating manifests to any arbitrary locations with the -Manifest=<Path> argument.

Change 4198825 by Ben.Marsh

	UBT: Move code to enumerate Slate runtime dependencies into the Slate module. Doesn't need to be done inside core UBT.

Change 4199341 by Ben.Marsh

	UGS: Update version to 1.149

Change 4199642 by Chad.Garyet

	- Deprecate CISController
	- Add BuildController to replace CIS GET/POST for builds
	- Add LatestController, GET does what CIS/GET used to do
	- Change Latest/GET to return the last 25 builds filtered by project, rather than the last 5000 individual Ids
	- Latest/GET now returns "LatestData" object instead of array of longs
	- Updated EventMonitor to match all API changes
	- Fixed bug where IDs were getting reset to initial startup values every update loop

Change 4199663 by Chad.Garyet

	CIS controller still needs to return an array of longs
	#jira none

Change 4199680 by Ben.Marsh

	UGS: Update version to 1.150

Change 4200457 by Ben.Marsh

	Merging CIS fix for non-development configurations.

Change 4200472 by Mike.Erwin

	UAT: fix -skipbuildclient param default

	It was defaulting to skipbuildeditor's value, likely a copy-paste error.

	#jira none

Change 4202595 by Ben.Marsh

	Fix static analysis warning due to constant comparison against macro.

Change 4203250 by Ben.Marsh

	UGS: Always show the "Sync Precompiled Editor" option, but disable it and show a tooltip explaining why if it is not available.

Change 4206191 by Ben.Marsh

	Exclude editor target files from installed builds, since they leak info about DLLs that have been stripped out.

Change 4213011 by Ben.Marsh

	UBT: Include contents of modified intermediate files in the log, to make it easier to debug hidden dependencies.

Change 4213487 by Ben.Marsh

	UBT: Fix assumption that bPrecompile is equivalent to bBuildAllModules. This is no longer the case; they are now controlled by separate options. Should fix CIS errors building the editor.

Change 4213609 by Ben.Marsh

	Ensure that strings formatted using FMicrosoftPlatformString::GetVarArgs() are always null terminated, whether we use the secure CRT or not.

Change 4215971 by Ben.Marsh

	UBT: Remove action graph visualization code; no longer used.

Change 4215996 by Ben.Marsh

	UBT: Remove unqiue id from all actions in the action graph. This is only used for printing debug info in the case of a (rare) cycle in the action graph, so just look it up when needed.

Change 4216022 by Ben.Marsh

	UBT: Rename Crypto.cs to EncryptionAndSigning.cs to match the name of the class inside it, and move it under the System folder.

Change 4216031 by Ben.Marsh

	UBT: Move all the action executors into their own folder in the project.

Change 4216526 by Ben.Marsh

	Fix CIS warnings.

Change 4216544 by Ben.Marsh

	Replace custom code to ensure FMicrosoftPlatformString::GetVarArgs() null terminates its buffer with Microsoft's standards-compliant implementation.

Change 4216633 by Ben.Marsh

	Add support for UnrealPak plugins.

	* Project and plugin modules can now specify an array of supported programs in the "WhitelistPrograms" field of their module descriptors, to allow modules to be loaded by programs.
	* Programs can now load any runtime modules, as long as they are whitelisted.
	* Programs under the engine directory can now use a shared build environment, so that building with a project file does not cause output binaries to be output to the project directory.
	* UnrealPak is now always built by default when packaging
	* Convert UnrealPak to a modular configuration

Change 4216736 by Ben.Marsh

	UnrealPak: Move "ExportDependencies" command into an editor commandlet, since it relies on the UObject system, asset registry, etc...

Change 4217447 by Ben.Marsh

	Back out revision 50 from //UE4/Dev-Core/Engine/Build/InstalledEngineBuild.xml

Change 4217451 by Ben.Marsh

	Back out revision 11 from //UE4/Dev-Core/Engine/Plugins/Developer/VisualStudioSourceCodeAccess/Source/VisualStudioSourceCodeAccess/VisualStudioSourceCodeAccess.Build.cs

Change 4217617 by Ben.Marsh

	Back out changelist 4217451

Change 4222552 by Ben.Marsh

	Don't use #import <TypeLib> for VS source code accessor when building with Clang; it's not supported.

Change 4222630 by Ben.Marsh

	UBT: Fix spam while generating project files if Clang isn't installed.

Change 4223316 by Ben.Marsh

	UBT: Change the order in which Visual C++ toolchains are enumerated to prefer full releases over preview releases.

Change 4223318 by Ben.Marsh

	UBT: Add a build setting which allows creating a dedicated PCH for every file that's excluded from the unity working set (disabled by default). Improves iteration times when working on individual cpp files, but slows down iterating on header changes (and can take a lot of disk space for large changes).

	Dedicated PCH contains all includes scraped from the top of each cpp file, until a non-#include directive is encountered.

Change 4223401 by Ben.Marsh

	UBT: Add an option to automatically enable edit and continue for files in the adaptive non-unity working set. E&C doesn't seem very useful for UE4 projects right now; compile time is comparable to regular build times, but it can take several minutes to apply code changes for large projects.

Change 4223899 by Ben.Marsh

	UBT: Fix loading XML config files on Mono; Type.GetField(Name) does not seem to return values unless binding flags are specified.

Change 4224637 by Ben.Marsh

	Add a "SupportedPrograms" field to plugin descriptors, which allows plugins to declare which plugins they support independently of individual modules. Programs now respect the "bEnabledByDefault" setting in plugins.

	Plugins that are compatible with a program now need to list that program in the SupportedPrograms list, and whitelist any modules that should load for that program.

Change 4224710 by Ben.Marsh

	UBT: Don't add import libraries as final build products unless the target is being precompiled. Prevents the need for building them for leaf nodes in the action graph.

Change 4224715 by Ben.Marsh

	UBT: Remove hack to allow Stats2.cpp to not follow IWYU convention.

Change 4224726 by Ben.Marsh

	Remove commented out line.

Change 4224903 by Ben.Marsh

	Fix non-unity compile error in Stats2.h.

Change 4225051 by Ben.Marsh

	Back out changelist 4224710; causing CIS errors due to receipts not matching.

Change 4225134 by Ben.Marsh

	Fixing non-unity errors.

Change 4225203 by Ben.Marsh

	Another non-unity fix.

Change 4225249 by Ben.Marsh

	Fix Linux dependencies being copied for the Windows editor; they can be added as requirements for the Linux target platform on Windows instead, so it respects the user's chosen platforms.

	#jira UE-62001

Change 4225512 by Ben.Marsh

	BuildGraph: Allow setting the target to build when using the <CsCompile> task.

Change 4228815 by Ben.Marsh

	UBT: Always add the generated code directory to the list of include paths when generating project files. It may only be created after UHT has been run.

Change 4228944 by Ben.Marsh

	UBT: Remove legacy CppCompileEnvironment and LinkEnvironment wrappers from TargetRules that were deprecated in 4.19.

Change 4229028 by Ben.Marsh

	UBT: Fix editor targets with unique build environment having the wrong executable path in generated project files. Move move logic to configure target rules post-construction by the rules assembly to ensure it's valid.

Change 4229065 by Ben.Marsh

	UBT: Move another target setting into the rules assembly.

Change 4229105 by Ben.Marsh

	Fix BPT exception when generating project files.

Change 4229311 by Ben.Marsh

	UBT: Store the module rules file location on the ModuleRules instance, as well as the plugin that it was created from. Also expose the plugin directory as a property on the ModuleRules instance.

Change 4229421 by Ben.Marsh

	UBT: Consolidate functionality for UHT module setup in ExternalExecution.cs.

Change 4229817 by Ben.Marsh

	UBT: Modules must now explicitly specify the path to the header used to generate a PCH if one is desired, rather than the header being determined automatically by attempting to parse the source code. Now that PCHs are force-included anyway, this removes a lot of dependencies inside UBT.

Change 4229824 by Ben.Marsh

	UBT: Remove unused lists inside UEBuildModuleCPP.SourceFilesClass.

Change 4229841 by Ben.Marsh

	UBT: Remove some legacy code from auto-detecting PCHs.

Change 4230521 by Ben.Marsh

	UBT: Add utility functions to the log class to allow formatting errors and warnings in Visual Studio output format (eg. File(Line): warning: Message)

Change 4230871 by Ben.Marsh

	UAT: Remove StreamUtilis utility class; there is a simpler way to implement the one place it's used.

Change 4230882 by Ben.Marsh

	UAT: Add StreamUtils back into UAT, seems like it's still used there.

Change 4230896 by Ben.Marsh

	UBT: Remove some redundant parameters from UEBuildModule/UEBuildModuleCPP/UEBuildModuleExternal constructors.

Change 4231014 by Ben.Marsh

	WorkspaceTool: Include a dump of raw bytes when garbage is read from the P4 process, for diagnostic purposes.

Change 4231032 by Ben.Marsh

	Fix CIS.

Change 4231096 by Ben.Marsh

	Bump the FlatCPPIncludeDependencyCache version, to prevent errors trying to load old files.

Change 4231446 by Ben.Marsh

	UBT: Added support for expanding UE-specific variables in include paths and library paths: $(EngineDir), $(ProjectDir), $(PluginDir), $(ModuleDir).

Change 4231460 by Ben.Marsh

	Modules may now explicitly specify rpaths on Linux via the PublicRuntimeLibraryPaths and PrivateRuntimeLibraryPaths properties.

Change 4233909 by Robert.Manuszewski

	PR #4779: Reason fails as the supplied variable is incorrect (Contributed by projectgheist)


Change 4233910 by Ben.Marsh

	Enable PCHs on IOS. Reduces build time by ~25%.

Change 4234176 by Ben.Marsh

	UBT: Add better messaging for modules that need to have a private PCH set. Now detects the likely PCH using the same method as legacy code and includes it as a suggestion.

Change 4234193 by Ben.Marsh

	Add the Delete command to Perforce wrapper in DotNETUtilities.

Change 4234688 by Ben.Marsh

	UBT: Simplify handling of installed/precompiled builds. Settings for whether a folder is installed/read-only or not is now stored on the RulesAssembly instance, allowing multiple things to be configured separately and stacked together (eg. engine/enterprise/project). RulesAssembly.IsReadOnly() allows determining if a flie can be modified or not and replaces many previous IsXXXInstalledCalls(), and traverses the chain of assemblies.

Change 4234711 by Ben.Marsh

	UBT: Runtime dependencies can now be copied to output directories as part of the build. When adding a runtime dependency, an optional source location can be specified to copy from. Both the source and target paths can use variables can be used as part of the path, eg. $(OutputDir), $(ModuleDir), $(PluginDir).

	Example usage (from a .build.cs file):

	RuntimeDependencies.Add("$(OutputDir)/Foo.dll", "$(PluginDir)/Source/ThirdParty/Foo.dll", StagedFileType.NonUFS);

Change 4234872 by Ben.Marsh

	Expose a flag for whether the engine is installed, to fix issues generating project files.

Change 4234929 by Ben.Marsh

	Fix null reference generating receipts when UBT makefiles are active.

Change 4235883 by Chad.Garyet

	Merging 4231245 to core

	Giving Coordinator its own sln. This should fix what 4158155 was supposed to.
	#jira UE-61955

Change 4236075 by Ben.Marsh

	CIS fix

Change 4237066 by Robert.Manuszewski

	Fix for a potential crash when terminating the engine while it's being initialized

	#jira UE-60545

Change 4237078 by Robert.Manuszewski

	The engine will no longer be resetting all linkers causing massive load times when renaming the world package when entering Play In Editor

Change 4237116 by Ben.Marsh

	Rewrite some Windows utility functions to support paths longer than MAX_PATH.

Change 4237158 by Ben.Marsh

	Add const TCHAR* overloads of FString::RemoveFromStart() and FString::RemoveFromEnd().

Change 4237159 by Ben.Marsh

	Fix FWindowsPlatformFile::GetFilenameOnDisk() support for paths longer than MAX_PATH, and simplify some of the other long path functions to avoid copying string buffers.

Change 4239050 by Ben.Marsh

	Missing file

Change 4239318 by Ben.Marsh

	Linux CIS fix.

Change 4239685 by Ben.Marsh

	Static analysis CIS fix.

Change 4240800 by Ben.Marsh

	WorkspaceTool: Include the full command line in the log for any P4 commands.

Change 4240903 by Ben.Marsh

	PR #4909: Update copyright notices to 2018 (Contributed by projectgheist)


Change 4241025 by Ben.Marsh

	UBT: Exclude mobile pipeline caches from generated project files. Causes huge slowdown when using 'Find in Files' through the IDE.

Change 4241770 by Ben.Marsh

	UBT: Include action number in parallel executor output.

	#jira UE-62032

Change 4243469 by Ben.Marsh

	TBA: Merge FAnnotatedStructuredArchiveFormatter with FStructuredArchiveFormatter. Any functions that are only implemented for text archives now have a _TextOnly suffix, and are exposed through the FStructuredArchive interface.

Change 4245723 by Robert.Manuszewski

	Fixing another creash when terminating the engine while initializing.

	#jira UE-60545

Change 4245862 by Steve.Robb

	VectorLoadFloat2(Ptr) added, which loads { Ptr[0], Ptr[1], Ptr[0], Ptr[1] } into a VectorRegister.

Change 4246412 by Robert.Manuszewski

	The warning 'Calling StaticLoadObject during PostLoad may result in hitches during streaming' will now also report the object which had the PostLoad called on it when StaticLoadObject call happened.

Change 4246612 by Ben.Marsh

	UBT: Fix spelling of "Intellisense".

Change 4249454 by Robert.Manuszewski

	Added extra checks to catch scenarios where the EDL Precache Buffer is flushed before a package header is fully read

Change 4249513 by Robert.Manuszewski

	Made sure the Async Loading Thread doesn't continue running after creating new async packages when garbage collector wants to run on the game thread

Change 4255207 by Ben.Marsh

	UGS: Add additional logging whenever a P4 command fails, and when the user is logged out.

Change 4255288 by Ben.Marsh

	PR #4921: Honor ModuleRules' bEnableExceptions flag when creating precompiled h. (Contributed by surakin)


Change 4256422 by Ben.Marsh

	UBT: Add an error if a module referenced by a plugin descriptor doesn't exist.

Change 4257385 by Robert.Manuszewski

	Creating new objects from within ForEachObjectWithOuter will now result in a fatal error as it's unsafe to change internal UObject hash tables when iterating over them.

Change 4257454 by Robert.Manuszewski

	Added the option to filter clusters listed with gc.ListClusters by objects within them.

	Usage:

	gc.ListClusters Hierachy With=ObjectName1,ObjectName2...

Change 4257526 by Robert.Manuszewski

	It's now possible to filter clusters that get logged with verbose cluster logging enabled (UE_GCCLUSTER_VERBOSE_LOGGING=1) by objects within them by specifying -DumpClustersWithObjects=ObjectName1,ObjectName2 in the command line

Change 4257822 by Ben.Marsh

	Fixes for PlatformShowcase compile errors.

Change 4258771 by Ben.Marsh

	UBT: Fix project files not being generated for foreign projects when creating .stub files.

	#jira UE-62462

Change 4258790 by Ben.Marsh

	UBT: Clean up the logic around generating project files before creating a stub IPA, so that it fails loudly if project files do not exist, and can accept target names not matching project names.

Change 4259276 by Ben.Marsh

	UBT: Make it an error if a framework doesn't exist, rather than failing silently. Also remove some remote toolchain stuff that's no longer necessary.

Change 4259280 by Ben.Marsh

	UBT: Fix embedded framework zips not being uploaded for plugins.

	#jira UE-62485

Change 4260236 by Ben.Marsh

	UBT: Fix path to generated engine project file.

Change 4260334 by Ben.Marsh

	UGS: Fix custom build steps dialog inadvertantly modifying config file settings in-place.

Change 4260361 by Ben.Marsh

	UGS: Allow for p4 login commands to fail, even though the user is logged in (due to a bad connection, etc...)

Change 4260559 by Ben.Marsh

	UGS: Update version.

Change 4261160 by Robert.Manuszewski

	MediaPlaylist will now be added to root set if the owning MediaPlayer is in the disregard for GC set (fixes GC assumption violation crash)

	#jira UE-62495

Change 4261421 by Ben.Marsh

	Force-sync files for building documentation, to fix issues with files not being updated.

	#jira UE-62413

Change 4261425 by Ben.Marsh

	UBT: Remove some leftover functions for handling the remote toolchain.

Change 4261530 by Ben.Marsh

	UBT: Speculative fix (and better error reporting) for IOS mobile provision not being found in CIS.

Change 4261611 by Ben.Marsh

	UBT: Downgrade warning to a log message, since it appears when generating project files.

Change 4261710 by Ben.Marsh

	Remove assert that GLogConsole is set; it won't be for command line utilities that don't depend on ApplicationCore.

	#jira UE-62545

Change 4261831 by Ben.Marsh

	Fix compile errors due to missing include path when hot-reloading a module from the editor. There are not necessarily source files to compile when -modulewithsuffix is specified on the command line, which was results in GeneratedCodeWildcard not being set.

	#jira UE-62463, UE-62384

Change 4262723 by Ben.Marsh

	Whitelist plugins that need to be loaded by UFE.

	#jira UE-62564

Change 4265444 by Ben.Marsh

	Fix incorrect executable name for DebugGame configurations in Xcode.

	#jira UE-62574

Change 4265892 by Ben.Marsh

	Fix incremental compile failures due to dependency checking for unity files. CachedIncludePaths was not correctly being set on file items, so dependencies were being ignored.

	#jira UE-62575, UE-62603, UE-62597

Change 4266019 by Josh.Adams

	- Fixed the CopyAction for runtime dependencies that need to be copied to different location, on non-XGE

Change 4266264 by Ben.Marsh

	Remove override for the __IPHONE_OS_VERSION_MIN_REQUIRED macro on TVOS.

	This macro is already defined by system headers (in <AvailabilityInternal.h>). Now that we support PCHs on IOS and TVOS, manually defining this macro results in it being defined three times (once for the PCH, once by AvailabilityInternal.h, and once by the force-included list of definitions for the source file being built). The errors for redefining the macro in AvailabilityInternal.h are suppressed due to it being a system header, but the error for redefining it for the source file being compiled are not.

	#jira UE-62578

Change 4266273 by Ben.Marsh

	Fixes incremental build failure when compile arguments for PCH have changed on IOS/TVOS. Compile action needs to have a dependency on PCH build action.

Change 4266614 by Graeme.Thornton

	Fix crash when cooking nativized blueprints due to removal of child cooker system.

Change 4266763 by Ben.Marsh

	Always build UnrealPak when building client targets. The ProjectParams.Pak option is not reliable, because it can be forced on later by the target platform.

	#jira UE-62584

Change 4267985 by Robert.Manuszewski

	When iterating with ForEachObjectWithouter, don't lock the entire has table but only the hash bucket that is currently being iterated

	#jira UE-62600

Change 4268558 by Robert.Manuszewski

	PurgeLegacyBlueprints will no longer be called from within ForEachObjectWithOuter is it renames objects that reside in hash tables that are being iterated over which may lead to undefined behavior.

	#jira UE-62600

Change 4269011 by Chad.Garyet

	- Fixing Wildcard match issue, the change to ugsapi sends projects as //Depot/Stream instead of //Depot/Stream/
	  Wildcard match was only substringing to 3 chars.
	- Checking in the change a while back that increases the number of queried jobs up to 432 based on some maths from Bob about how many builds we want to grab
	Published to ugsapi server 8/8/17
	#jira none

Change 4270788 by Ben.Marsh

	Fix IOS provisioning data being using when remote compiling on TVOS.

	#jira UE-62705

Change 4271916 by Ben.Marsh

	Tag the XGEControlWorker executable as a build product after compiling SCW, to make sure it's included in the UGS zip file.

Change 4271934 by Ben.Marsh

	Upload all static libraries in plugin folders as part of remote builds.

	#jira UE-62694

Change 4273368 by Ben.Marsh

	Fix Slate dependencies not being enumerated, and rules assembly not being rebuilt when building remotely.

	#jira UE-62705

Change 4274049 by Ben.Marsh

	Always parse the team UUID out of the mobile provision when doing a remote compile. The provision installed on the remote Mac (and selected for signing) may be different.

	#jira UE-62751

Change 4274823 by Ben.Marsh

	Add the -VersionCookedContent argument to disable the -unversioned parameter on the cooker command line.

Change 4275838 by Ben.Marsh

	Fix BuildVersion string not being passed through from <SetVersion> task. Also add a -BuildVersion command line argument to UBT to override it for a particular build.

Change 4275913 by Ben.Marsh

	Add a dummy exported symbol to the XGEController module, to fix build errors due to missing .lib file when it's built with WITH_XGE_CONTROLLER = 0.

Change 4284161 by Ben.Marsh

	Allow mirroring Oodle files to remote Mac.

Change 4074774 by Steve.Robb

	Vast simplification of TFunction, making it smaller in footprint, easier to follow and extend, and more correct.
	TUniqueFunction added, which is a move-only TFunction which can hold move-only functors.
	Fix for UWidgetBlueprint::ForEachSourceWidget() which should never have compiled but did.
	FFunctionGraphTask and TFuture<> updated to use TUniqueFunction to make them more general.
	TArray::HeapPop() made to work with move-only types.

Change 4082591 by Ben.Marsh

	Move the Log class from UBT to DotNetUtilities.

Change 4083236 by Ben.Marsh

	Add a Log.WriteException() method to dump an exception message to the console (and write the exception trace to the log)

Change 4084107 by Ben.Marsh

	UAT: Remove the unused -SkipHeader argument to UE4Build.

Change 4089771 by Steve.Robb

	GitHub #4743 : modified VirtualAlloc function flag

	https://blogs.msdn.microsoft.com/oldnewthing/20151008-00/?p=91411

Change 4091456 by Steve.Robb

	Unification of all platforms' FMath::CountTrailingZeros() and FMath::CountLeadingZeros() for both 32-bit and 64-bit.

Change 4156437 by Ben.Marsh

	Lots and lots of fixes compiling for Clang on Windows.

	Editor now compiles cleanly without warnings, but crashes on startup due to error in intrinsics test. Disabling that runs further, but crashes accessing freed memory. Switching to the ANSI allocator runs further, but crashes in Slate after the splash screen and before the editor window opens. // TODO!

	* Switching between Clang/ICL/VS2015/VS2017 is now supported through the same mechanism as switching Visual Studio versions, without requiring any source level changes. To use Clang, set WindowsPlatform.Compiler = WindowsCompiler.Clang from a .target.cs file, or set <WindowsPlatform><Compiler>Clang</Compiler></WindowsPlatform> from BuildConfiguration.xml. To pick a specific toolchain version, set WindowsPlatform.CompilerVersion.
	* Clang is now supported through AutoSDKs; will be added to CIS.
	* The Samples/Sandbox/Clang project forces Clang to be used from its target.cs file, and allows easily building all editor modules and plugins with Clang on Windows.
	* UnrealMathSSE intrinsics have been re-enabled for Clang due to missing functions from the UnrealMathFPU implementation, but causes failure in tests at startup.
	* SSE4_CRC32() is disabled in D3D12Pipelinestate.cpp, since intrinsics are only allowed if enabled for the whole target (rather than being used in specific functions due to runtime checks)

Change 4157389 by Ben.Marsh

	Few more fixes for compiling the editor with Clang.

Change 4183911 by Ben.Marsh

	Fixes to support incremental linking on Windows. Does not seem to have any net benefit right now; may improve once minimal rebuild is enabled.

	* Incremental linking no longer forces PDB files to be enabled for source files.
	* Actions can specify specific files to be deleted before each build. Code to forcibly delete PDB files has been moved to the MSVC toolchain.
	* Unused libraries produced by the cross-referenced link are no longer added as build products, since (a) deleting them breaks dependency checking for incremental linking and causes a full link, and (b) not deleting them breaks UBT dependency checking and causes actions to be run over and over again.
	* Icon update is disabled for Windows when incremental linking is enabled.
	* Removed rarely-used setting to always delete produced items before each build.

Change 4184311 by Ben.Marsh

	UGS: Added a dialog which shows all the required platform SDKs for a branch, linked from the status panel in UGS.

	The llist is configured via the UGS config file submitted to Engine/Programs/UnrealGameSync/UnrealGameSync.ini (and may be overridden by the project config file if necessary):

	    [Default]
	    ; Set this to a network share which contains the SDK installers for your site
	    SdkInstallerDir=

	    ; All the required SDKs for the current version of the engine
	    +SdkInfo=(Category="Android", Description="NDK r21", Browse="$(SdkInstallerDir)\\Android")
	    +SdkInfo=(Category="Windows", Description="Visual Studio 2017")
	    +SdkInfo=(Category="Windows", Description="Visual C++ Toolchain 14.13.26128")
	    +SdkInfo=(Category="Windows", Description="Windows SDK 10.0.16299.0")

	Similar entries for console platforms are added in console subdirectories. Each entry may contain an Install="Foo.exe" and/or Browse="C:\Foo" style attribute, specifying the path to an installer to run or directory to open in explorer respectively.

	The SdkInstallerDir setting is used as a base directory for the default installers, seen above for Android. Licensees may override this with a network path specific to the site that UGS is being deployed to (either in this file, in a project specific config file, or in a Engine/Programs/UnrealGameSync/NotForLicensees/UnrealGameSync.ini file).

Change 4200452 by Ben.Marsh

	UBT: Change DebugGame configurations to output a separate executable rather than requiring a -Debug argument at runtime. Previous behavior was a common source of errors.

	Engine modules are still shared between Development and DebugGame, but the launch module sets a flag in Core on startup indicating the game configuration.

Change 4206189 by Ben.Marsh

	UBT: Simplify logic for precompiling binaries.

	* Target no longer has separate list of "precompile only" binaries or modules. New -AllModules option allows adding every module to a target, which can be used with -Precompile and -NoLink to precompile object files for monolithic builds.
	* Precompiled file lists have been removed from target receipts.
	* The manifest now includes all generated headers and precompiled files when run with the -Precompile option.
	* Separate -DependencyList=Foo.txt has been added to write a list of all dependencies required to use precompiled binaries. This file list can be read using the <Tag> task in buildgraph.

Change 4215466 by Ben.Marsh

	UBT: Remove indirect calls to determine extensions for object files and precompiled headers. The toolchain knows the correct convention for the platform.

Change 4215975 by Ben.Marsh

	UBT: Remove telemetry code. This has never proved useful for analyzing performance due to the number of incidental factors that affect build times (eg. number of files being compiled).

Change 4220154 by Ben.Marsh

	Move text-only implementations of FOutputDeviceError back into Core, so we can build command-line applications that don't depend on ApplicationCore.

Change 4224708 by Ben.Marsh

	Add a bCompileAgainstApplicationCore setting to the target rules, which allows compiling out references to the ApplicationCore module (which should only be necessary for applications with a GUI). Removed ApplicationCore from several engine tools and utilities.

Change 4224958 by Ben.Marsh

	Remove CoreMinimal.h includes from Core.

Change 4229059 by Ben.Marsh

	UBT: Remove the UEBuildPlatform.ShouldNotBuildEditor() hook for target platforms. We shouldn't be modifying a target's build environment to disable the editor; it is invalid to build the editor for these target platforms at all, and this is already enforced by the GetSupportedPlatforms() function.

Change 4230508 by Ben.Marsh

	Fixup precompiled header setting for samples and games.

Change 4231457 by Ben.Marsh

	Fix exceptions in log messages having trailing newlines.

Change 4232406 by Ben.Marsh

	UBT: Always force include a PCH for generated code if there's one set; the code may depend on it to compile.

Change 4234177 by Ben.Marsh

	Set up private PCH files everywhere that previously used them.

Change 4235973 by Ben.Marsh

	Change FPlatformMisc::GetEnvironmentVariable() to return an FString() rather than requiring a fixed size buffer to be passed in. Removes references to MAX_PATH.

Change 4238842 by Ben.Marsh

	Add support for paths longer than MAX_PATH in the editor. Requires Windows 10 version 1607, and the functionality to be enabled via a registry key or group policy (see https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file).

	Only a subset of Win32 functions support long paths (executables can only be started from paths shorter than MAX_PATH, for example).

	* Added a FPlatformMisc::GetMaxPathLength() function to return the maximum length of a path on the current system. On Windows, this returns a different value for systems with long paths enabled to those without.
	* The MAX_PATH define is no longer set by non-Windows platforms. Instead, there is a MAC_MAX_PATH, UNIX_MAX_PATH, etc... for any platform-specific code that still relies on the previous macro.
	* The MAX_UNREAL_FILENAME_LENGTH macro has been renamed to MAX_UNREAL_FILENAME_LENGTH_DEPRECATED
	* The PLATFORM_MAX_FILEPATH_LENGTH macro has been renamed to PLATFORM_MAX_FILEPATH_LENGTH_DEPRECATED.
	* Removed custom resource files for programs, since they are just copies of the base UE4 one (which is used by default anyway). The base UE4 manifest declares support for long paths.
	* Fix 512 character maximum length on editor commands.

	260 character limit remains in place for cooking at the moment (see ContentBrowserUtils.h), until C# staging code supports long paths.

Change 4255042 by Ben.Marsh

	UBT: Remote compilation now uploads the entire workspace to the remote Mac and executes a separate remote instance of UBT rather than synchronizing individual actions. This makes the remote compile codepath much simpler, and removes a lot of special cases that exist to support it previously.

	The list of files to be transferred to the remote are listed as rsync filter rules in Engine/Build/Rsync/RsyncEngine.txt and RsyncProject.txt, which are applied to the root engine directory and project directory respectively. Projects that need to customize which files are uploaded can add their own <ProjectDir>/Build/Rsync/RsyncProject.txt file, which will be included in the filter before the default version.

Change 4260567 by Ben.Marsh

	UAT: Rename CommandUtils.Log to CommandUtils.LogInformation, to avoid conflicts with the underlying Tools.DotNETCommon.Log class.

#rb none

[CL 4285673 by Ben Marsh in Main branch]
2018-08-14 18:32:34 -04:00
Jack Porter
2792c7c559 Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
#jira 0
#rb None

[CL 4161603 by Jack Porter in Dev-Mobile branch]
2018-06-26 08:42:47 -04:00
ben marsh
3c46333b75 #ROBOMERGE-AUTHOR: ben.marsh
Fix out of date copyright notices.

#rb none
#jira UE-59151
#rnx

#ROBOMERGE-SOURCE: CL 4097781 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)

[CL 4097786 by ben marsh in Staging-4.20 branch]
2018-05-29 14:37:18 -04:00
nick shin
290e6a9a57 #ROBOMERGE-AUTHOR: nick.shin
#jira UE-58441  HTML5 package crashes on several key combinations: uncaught exception: ASM_CONSTS
#rnx
#rb none

#ROBOMERGE-SOURCE: CL 4097165 in //UE4/Release-4.20/...
#ROBOMERGE-BOT: RELEASE (Release-4.20 -> Release-Staging-4.20)

[CL 4097167 by nick shin in Staging-4.20 branch]
2018-05-29 11:15:25 -04:00
Nick Shin
aadfae9b21 #jira UE-58441 HTML5 package crashes on several key combinations: uncaught exception: ASM_CONSTS
#rb none
#rnx

[CL 4093136 by Nick Shin in Dev-Mobile branch]
2018-05-24 18:52:29 -04:00
Marc Audy
d90da4ab1a Merge to Dev-Main for 4.20 @ 4090813
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4091081 by Marc Audy in Main branch]
2018-05-23 21:04:31 -04:00
Nick Shin
96944a1206 HTML5 - keyboard combo crash fix
#jira UE-58441  HTML5 package crashes on several key combinations: uncaught exception: ASM_CONSTS
#rb none
#rn

[CL 4090352 by Nick Shin in Dev-Mobile branch]
2018-05-23 16:39:00 -04:00
Luke Thatcher
0d4895e8e7 Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4070461)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 3751378 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3748735 to //UE4/Dev-Console/...

Change 3807818 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3803271 to //UE4/Dev-Console/...

Change 3818577 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3812936 to //UE4/Dev-Console/...

Change 3726554 by Luke.Thatcher

	[CONSOLE] [+] Improved Scoped Named Events
	 - Added SCOPED_NAMED_EVENT(_FSTRING/_TEXT/_F) macros to allow use of string literals, FString and printf in scoped named event strings.
	 - Replaced explicit use of FPlatformMisc::Begin/EndNamedEvent throughout the engine with macros, so the events can be compiled out.
	 - Fixed performance issues on various platforms with named events. SCOPED_NAMED_EVENT macros were not considering whether the platform uses wide or ansi char strings.

Change 3813513 by Ben.Woodhouse

	CSV profiler refactor+ bug fix
	- Move the CSV profiler to core, so we can use it in modules other than engine
	- Profiler no longer enqueues RT commands - this is handled by a new core delegate type
	- Make begin/end requests more robust, enqueued via a command queue and processed in order
	- Defer end capture requests by a frame. This ensures stats on threads other than the gamethread (e.g. renderthread etc) are complete, so the last frame is not truncated
	- Fix long-standing bug with multiple captures where old/stale frames would appear in the first <128 frames of captures
	- Move unit stats and dynamic resolution out of the profiler itself and into the engine. Only frametime is recorded in the profiler now
	- Fix longstanding bug in first frame renderthread time in the engine

Change 3814039 by Ben.Woodhouse

	More Csvprofiler improvements
	- Event support (via CSV_EVENT macros). These appear in the "EVENTS" column of the CSV and can be used to add context to the stat data
	- Reduced memory overhead for timestamps through bit-packing (now 16 bytes per marker instead of 24), and splitting stats into different types

Change 3814229 by Ben.Woodhouse

	Integrate + refactor of CL 3792591 to reduce complexity and fix bugs

	Original changelist description:
	CSV profiler improvements:
	- The CSV profiler is now always compiled in on the server
	- The CSV profiler can now handle both int32 and float stats
	- In BeginCapture, the function can take additional arguments for some customization of filenames

	Fixes to the above:
	 - Remove FCustomValue class
	    - Fixes bug where all timestamp values from CSV_SCOPED_STATs were garbage (due to issues resulting from FCustomValue type ambiguity when adding values together)
	    - FCsvCustomStat now just uses simple union + bitfield flag to reduce size and complexity (4 bytes instead of 8 per value)
	    - FCsvColumn class modified to use doubles, which can represent both ints and floats without loss of precision - this class is not memory or time critical
	 - Replace multiple overrides used by the server for filenameprefix/folder/postfix etc with a single FilenameOverride

Change 3817339 by Ben.Woodhouse

	Duplicate from 3816641: CSV profiler improvements
	- Added a low-pri processing thread to compress raw timing data into a much more efficient format
	   - Reduces memory usage for 15 minute 30k frame capture with GPU stats enabled from 110MB to 3.4MB
	   - Processing time : 0.1ms per frame
	- Improved name handling for char literal stats. We now use the string as the ID rather than the pointer so multiple stat uses of the same name string apply only to  a single stat
	- Reworked thread data access to eliminate locking for anything time-critical. Frame boundaries now handled via a lock-free helper class
	-  Fixed bug with queue implementation where 1 in 128 reads would duplicate the last block of stat data
	-  Reduced #include dependencies for CSVProfiler.h
	-  Removed AccumulateMax because it doesn't work, and implementing properly would add a lot of complexity
	-  Added a simple test harness

Change 3827787 by Ben.Woodhouse

	Integrate-as-edit CL 3820678 from Fortnite/Main
	Allow the CSV Profiler to be compiled in to shipping dedicated server builds

Change 3827842 by Ben.Woodhouse

	Integrate-as-edit CL 3827079 from Fortnite/Main
	CSV profiler category support

Change 3840185 by Ben.Woodhouse

	Integrate from //UE4/Release-4.19/...@3840005 to //UE4/Dev-Console/...

Change 3861618 by Ben.Woodhouse

	Integrate from //UE4/Release-4.19/...@3860990 to //UE4/Dev-Console/...

Change 3901590 by Anthony.Bills

	Fix incorrect srv and sampler count when an array of textures or an array of samplers is used.

	- The code originally set the local variable BindCount but did not pass this to the total sampler or srv count and instead used the original BindDesc.BindCount (which will be 1) and still skipped over those resource indicies.
	- The code also checked for the array's bracket location but then only compared the resource names before the bracket, meaning non arrays could be included.

Change 3904065 by Anthony.Bills

	Allow easily increasing the maximum number of SRVs to 64 in the D3D12RHI.

	- Increasing to 64 will fix shader compilation issues when using more than 32 textures.
	- Casting has been added to correct the type on bitshifting the masks when the type changes.
	- A new type has been added for the bound VB mask to make sure bitshifting is explicitly typed.

Change 3905752 by Ben.Woodhouse

	Integrate from //UE4/Release-4.19/...@3904082 to //UE4/Dev-Console/...

Change 3920080 by Luke.Thatcher

	[CONSOLE] [+] Added .natvis visualizer for FRHICommandList, which expands the list links to a flat list of commands. To use this, add an FRHICommandList* to your watch window.

Change 3951698 by Keith.Judge

	Fix CIS (leftover debugging code)

	#jira UE-55443

Change 3953261 by Luke.Thatcher

	[CONSOLE] [^] Merging //UE4/Release-4.19 (CL 3944462) to Dev-Console (//UE4/Dev-Console)

Change 3971144 by Luke.Thatcher

	[CONSOLE] [^] Merging //UE4/Dev-Main (CL 3964322) to Dev-Console (//UE4/Dev-Console)
	 - First merge since Dev-Console was reparented back to Dev-Main.

Change 3992843 by Anthony.Bills

	Fix deploying to the default device in UAT.

Change 4010029 by Marcin.Undak

	ShooterGame: use console UI on Quail platform

Change 4010030 by Marcin.Undak

	RecordPerformance: don't fail if game crashes

Change 4012181 by Marcin.Undak

	Implemented Low Level Memory tracker for Unix platforms

Change 4039094 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...@4039044 to //UE4/Dev-Console/...

Change 4039598 by David.Harvey

	adding LLM hooks for bespoke platform-specific memory tracking tools.

Change 4042637 by Arciel.Rekman

	Merging //UE4/Dev-Main@4042226 to Dev-Console (//UE4/Dev-Console)

Change 4044679 by Marcin.Undak

	RecordPerformance: store logs from runs

Change 4045895 by Marcin.Undak

	Vulkan: added log when compiling new PSO

Change 4047096 by Ian.Fox

	#ShooterGame - Potential fix for ShooterGame friendslist empty issue

	#review-4046664

Change 4048332 by Marcin.Undak

	Compilation fix for Oculus. Ported Rolando's change from Dev-Rendering

Change 4051609 by Marcin.Undak

	Compilation fix

Change 4053542 by Joe.Barnes

	Integrate as edit:

	Faster Guid creation. Don't check time for every Guid (it's slow on some platforms). Check it once, then use that + CPU timer.

Change 4057462 by Luke.Thatcher

	[CONSOLE] [-] Remove "frame rate smoothing" override on console.
	 - This was arbitrarily forced on when vsync is enabled.
	 - It can still be enabled via the bSmoothFrameRate in UEngine if needed.

	(merge as edit CL 3891390 from //Fortnite/Release-3.0.0 to //UE4/Dev-Console)

Change 4057551 by Luke.Thatcher

	[CONSOLE] [~] Improvements to game thread hitch detection.
	 - Allows the system to be configured by ini files.
	 - Fixes callstack addresses being truncated to 32 bits.
	 - Removes memory allocation in hitch callstack logging code. We use a pre-allocated 64KB buffer for this now. This was a memory leak anyway, as the memory was never freed.
	 - Performs a throwaway gamethread stack dump on launch, to prime the stack walker so we don't make gameplay hitches worse than they otherwise would be.

	#jira FORT-78417

	(merge as edit CL 3967234 from //Fortnite/Main to //UE4/Dev-Console)

Change 4057562 by Luke.Thatcher

	[CONSOLE] [~] Increase verbosity on FlushAsyncLoading logging. Higher verbosity limited to once per frame, to avoid log spam.

	#jira FORT-77411

	(merge as edit CL 3967336 from //Fortnite/Release-3.4 to //UE4/Dev-Console)

Change 4057568 by Luke.Thatcher

	[CONSOLE] [+] Add async load flush analytics stats.

	#jira FORT-80229

	(merge as edit CL 3986900 from //Fortnite/Release-3.5 to //UE4/Dev-Console)

Change 4057590 by Luke.Thatcher

	[CONSOLE] [+] Add hang detector duration multiplier to allow extending the hang timeout on loading screens etc.

	#jira FORT-80325

	(merge as edit CL 3990275 from //Fortnite/Release-3.5 to //UE4/Dev-Console)

Change 4057679 by Luke.Thatcher

	[CONSOLE] [WIN64] [~] Modify hitch detector stack walking to avoid expensive symbol lookups. Stack walk now only prints the return addresses without symbol information.
	 - Old behaviour of performing full symbol resolution can be achieved by defining LOOKUP_SYMBOLS_IN_HITCH_STACK_WALK to 1.
	 - Also fixed a minor bug in CaptureStackTraceHelper which duplicates the last line if stack walking fails.

	#jira FORT-87620

	(merge as edit CL 4049361 from //Fortnite/Release-4.1 to //UE4/Dev-Console)

Change 4057779 by Luke.Thatcher

	[CONSOLE] [~] Refactored how the default LLM categories are defined.
	 - Prevents initialization order problems which stops early boot code from getting group name strings.

	#jira FORT-80324

	(partial merge as edit CL 4057155 from //Fortnite/Main to //UE4/Dev-Console)

Change 4059809 by Luke.Thatcher

	[CONSOLE] [!] Fix compiler warning (incorrect order of member initializers in FGameThreadHitchHeartBeat)

Change 4060781 by Luke.Thatcher

	[CONSOLE] [!] Fix for XGE control worker hanging around after killing the editor from Visual Studio.
	 - Reused the "XGE monitor" mode of shader compile worker, that the old XGE compiler used.
	 - The monitor watches the editor process and automatically terminates the build if the editor exits.

	#jira UE-55864

Change 4063641 by David.Harvey

	remove legacy "r.AmbientOcclusionSampleSetQuality" cvar from ini files (deleted in CL 2622264)... gets rid of warning in log.

	#jira UE-51256

Change 4067367 by Ben.Woodhouse

	Edigrate dev rendering CL 4062236:
	AppleTV doesn't appear to support the set*Bytes APIs in Metal.

	#jira UE-58580

Change 4067748 by Arciel.Rekman

	Fix editor build (a plugin also needs private VulkanRHI headers, heh).

Change 4068121 by Arciel.Rekman

	Correct paths to referenced directories for Linux.

	- Should help CIS.

Change 4069919 by Arciel.Rekman

	Fix Lumin build (another plugin needs private Vulkan headers, grrr).

[CL 4070552 by Luke Thatcher in Main branch]
2018-05-14 09:49:35 -04:00
Mike Beach
9c1629fae7 Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4064755)
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 3873313 by Nick.Atamas

	Merging CL 3834212 using //UE4/Dev-VR=>//Tasks/UE4/Dev-VR-4.19a

	Merging CL 3805354, CL 3822769, CL 3827454, CL 3831789
	//UE4/Partner-Google-VR/Engine/...
	to //Tasks/UE4/Dev-VR-4.19a/Engine/...

Change 3873330 by Nick.Atamas

	Merging CL 3835373 using //UE4/Dev-VR=>//Tasks/UE4/Dev-VR-4.19a

	Merging CL 3777058
	//UE4/Partner-Google-VR/Engine/...
	to //Tasks/UE4/Dev-VR-4.19a/Engine/...

	and fixing up QAARApp to work with latest ARCore changes.

Change 3873791 by Nick.Atamas

	Merging //UE4/Dev-Main@3866324 to Dev-VR (//UE4/Dev-VR) to get missing files and fixing CIS.

Change 3933769 by Keli.Hlodversson

	Remove unused IStereoRendering::GetCustomPresent
	#jira UEVR-1083

Change 3935219 by Nick.Atamas

	QAARApp re-write.

Change 3935664 by Mike.Beach

	Oculus SI 1.23 changes

Change 3941505 by Joe.Graf

	Made the send & recv buffer sizes for the BackChannel plugin configurable
	Added send & recv counters for tracking the amount of transmission data

Change 3944003 by Joe.Graf

	Added -buildscw to the CMake build command lines for editors to match what XCode is doing on Mac

Change 3945189 by Douglas.Copeland

	Saving Material with Use w/ Static Lighting Flag set to resolve Engine warnings

Change 3945245 by Douglas.Copeland

	Resaving QA_MeshTypes asset to resolve warnings produced by missing info

Change 3945266 by Douglas.Copeland

	Updating TM-HMDNodes LevelBP WallofGets to use PxielDensity instead of ScreenPercentage. Resolving Engine warnings

Change 3947785 by Mike.Beach

	Oculus changes to Android core count - only count usable cores not deadicated to the OS, etc.

Change 3951763 by Joe.Graf

	Fixed thread ordering bug with remote session frame compression

Change 3952242 by Joe.Graf

	Saved about 20-25% of the cpu time for compressing jpeg when performing the cpu swizzle

Change 3954571 by Keli.Hlodversson

	* Add FXRRenderBridge base class containing common code from different CustomPresent implementations.
	* Create a default implementation of UpdateViewportRHIBridge in FXRRenderTargetManager by adding  GetActiveRenderBridge_GameThread.
	** The default implementation now handles calling View->SetCustomPresent instead of making it up to the custom present (now XRRenderBridge) implementation (it already had to handle when the custom present was null.)
	* Remove unused member variable ViewportRHI from RHICustomPresent.

	#jira UEVR-1081

Change 3954572 by Keli.Hlodversson

	* Apply XRRenderBridge and XRRenderTargetManager changes to the SteamVR plugin
	* Move duplicated methods into an already existing BridgeBaseImpl class
	#jira UEVR-592

Change 3954573 by Keli.Hlodversson

	* Apply XRRenderBridge refactor to Oculus plugin
	#jira UEVR-590

Change 3954575 by Keli.Hlodversson

	* Apply XRRenderBridge refactor to OSVR
	#jira UEVR-595

Change 3954578 by Keli.Hlodversson

	* Apply XRRenderBridge refactor to GoogleVR
	#jira UEVR-594

Change 3954596 by Keli.Hlodversson

	Add file missing from cl#3954572

Change 3957882 by Jeff.Fisher

	UEVR-1100 bLockToHmd false doesn't work correctly
	-CameraComponent can now tell the LateUpdateManager to store, correctly buffered, the fact that we don't want to do late update this frame.  DefaultXRCamera checks that flag before applying the late upate to the camera.
	#jira UEVR-1100
	#review-3956168

Change 3957945 by Jeff.Fisher

	Fix for Oculus begin/end frame problem after XRRenderBridge refactor.
	-The 'Frame' lifetime in the frame was not long enough, so it was null by the time GetActiveRenderBridge_GameThread was called.  NextFrameToRender is the same value, but has a long enough lifetime.
	#review-3957897

Change 3958760 by Dongsik.Seo

	Adding UseCameraRotation feature to StereoPanorama plug-in.
	To enable this feature, use console command
	SP.UseCameraRotation 7
	Simply add numbers to mark axis to use. 1 = Pitch, 2 = Yaw, 4 = Roll
	7 means all axis (1+2+4)
	#review-3958756 @Joe.Conley

Change 3959347 by Douglas.Copeland

	Fixing spelling errors in test displays

Change 3964331 by Jason.Bestimt

	Merging CL 3959979 from 4.19 to Dev-VR + uplugin change from CL 3954046

	GoogleARCore Plugin fixes for Unreal 4.19.1 hotfix:

	Fixed the crash in Acquire/Release UGoogleARCorePointCloud.
	Fixed the issue that multiple line trace channel doesn't work correctly.
	Fixed the issue the passthrough camera texture has blue and red channel swapped when building against gles 3.1
	Fixed the issue that UGoogleARCorePointCloud::GetPoint doesn't return position in world space.

Change 3967485 by Ryan.Vance

	Removed the exlude rect, we want to clear stencil on the entire surface.

Change 3968028 by Zak.Parrish

	Nuking contents of existing FaceARSample, to be replaced by the one from Release-4.19.

Change 3968114 by Zak.Parrish

	Adding in the new version of FaceARSample from Release-4.19 #rb none

Change 3978381 by Mike.Beach

	Mirroring CL 3969503 from 4.19

	Only triggering new Blueprint event, OnMotionControllerUpdated, from the game thread (causing a assert/crash when triggered from the render thread and the component has been destroyed on the main thread).

	#jira UE-55445

Change 3981160 by Joe.Graf

	Merged the BackChannel unit test fix over from Owl

Change 3981705 by Mike.Beach

	[WIP] MR Calibration - Expose a config setting that will alter the tracking origin type used to calibrate (eye vs. floor).

	#jira UE-55220

Change 3981898 by Joe.Graf

	Added support for Apple hardware accelerated image conversion to JPEG, TIFF, PNG, and HEIF
	Added a Blueprint latent action to perform the conversion in the background

Change 3981910 by Joe.Graf

	WIP AR texture support so that other systems can interact with the camera data

Change 3982102 by Joe.Graf

	Pull request: Update CMakefileGenerator.cs for CLion
	Fixed an issue in the PR and added cleanup for the macro errors that result in FOO()= definitions

	#jira: UE-57103

	GitHub #4619

Change 3982883 by Joe.Graf

	Added a CLionGenerator for consistency
	Fixed editor preferred source code accessor parsing in the project file generator
	Added code to detect the bad assumption of the project name always being UE4 and stripped that off in the CLionSourceCodeAccessor

	#jira UE-54801

Change 3983687 by Joe.Graf

	Fixed the lack of platform checks for adding a framework in the Apple image utils plugin causing a Switch compile error

Change 3984325 by Jeff.Fisher

	UEVR-1141 PSVR - fix morpheus on pc render target scaling
	-Hard coding the target size. Perhaps the old method broke with the pixel density change.
	#review-3983261

Change 3984563 by Joe.Graf

	Temporarily disabled ConvertToHEIF on Mac until the build machines are updated to XCode 9.3

Change 3985213 by Zak.Parrish

	Removing a ton of excess art assets that were taking up lots of space and possibly throwing warnings. We weren't going to use them anyway. #rb none

Change 3985577 by Joe.Graf

	WIP support for the Apple Vision API to perform computer vision tasks on images

Change 3985654 by Joe.Graf

	Fixed missing forward declaration hidden by unity files

Change 3990596 by Mike.Beach

	Adding a delegate for handling when the active XR system modifies the tracking space origin, and a API function for getting a transform between floor and eye space.

	#jira UE-55220

Change 3990788 by Mike.Beach

	Attempted CIS fix (fallout from CL 3990596)

Change 3990824 by Ryan.Vance

	Re-submitting 4.19.1 hotfox 3968537

Change 3995804 by Jeff.Fisher

	Merging cl 3995785
	//UE4/Dev-VR-Seal/Engine/Source/...
	to //UE4/Dev-VR/Engine/Source/...

	UEVR-1148 bLockToHmd change breaking qagame entry level xr camera behavior
	-Fixing late update when no camera component is in use.
	-The camera component's bLockToHMD==false behavior is supposed to be that hmd motion is ignored, meaning we should not do a late update.  This behavior is being applied TO the XRCamera system FROM the camera component, but the camera component can go away or be switched at any time.  We want the default to be do apply hmd motion and late update, so disabling late update needs to be a positive setting applied each frame.
	#review-3995764

Change 3999842 by Nick.Whiting

	Exposing Apple ARKit function library as public for our buddies down under.

Change 4005541 by Joe.Graf

	UE-57541 Blacklisted TVOS since it also defines PLATFORM_IOS as 1

	#jira UE-57541

Change 4006308 by Jason.Bestimt

	#DEV_VR - Hopeful fix for possible unity issue

Change 4006543 by Joe.Graf

	Added code to be more correct on setting face blendshapes

Change 4007508 by Jason.Bestimt

	#LUMIN - Adjusting automation tests.
	- Moved QA specific content test into QA Game
	- Wrapped controller not found to only happen on device

Change 4007515 by Jason.Bestimt

	#LUMIN - Disabling privilege warning except on device

Change 4007552 by Jason.Bestimt

	#LUMIN - Wrapping LuminTargetPlatform internals that require WITH_ENGINE

Change 4008585 by Joe.Graf

	Added virtual curves for the head rotation information from the FaceAR's face tracking for streaming via LiveLink

	#jira: UE-57830

Change 4008604 by Mike.Beach

	MR - Making the chroma key material easier to customize & switch out. Updating the calibration to let you set whatever params you've exposed in the video processing material (removing hardcoded params for old chroma keying material).

	#jira UEVR-1153

Change 4009396 by Jason.Bestimt

	#DEV-VR - Removing warning about stat on different threads (CL 4009124)

Change 4009514 by Joe.Graf

	Added a weighted moving average method to the modify curve anim node

Change 4010125 by Jason.Bestimt

	#DEV-VR - Integrating 0.12 changes from Dev-VR-Seal to Dev-VR

Change 4010434 by Jason.Bestimt

	#DEV-VR - Fix for Lumin Haptic Test include

Change 4010945 by Jeff.Fisher

	QAHapticTests build fix
	-removed unused bad include

Change 4011002 by Nick.Atamas

	Fixed Android compilation.

Change 4011220 by Nick.Atamas

	- Adding visualization for boundary polygons.
	 - Adding support for vertical planes.

Change 4011298 by Mike.Beach

	MR - Revamping the VideoProcessing/ChromaKeying material so that it:
	  1) Better extracts luminance from the image
	  2) Utilizes despill to remove chroma bleed from the scene
	  3) Leverages the generated despill mask to add back in a faux bounce

	#jira UEVR-1153

Change 4011858 by Keli.Hlodversson

	Move ExecuteOn(RHI|Render)Thread from Oculus plugin into XRThreadUtils.{h|cpp} inside the HMD module
	Use TFunction and TFunctionRef instead of std::function as arguments. (Depends on the changes in CL#3987166: Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures.)
	-- Ref for methods that guarantee the function has been invoked before returning, TFunction for *_NoWait, as the function may not get execured until later when RHI is in a separate thtread and not bypassed.

	#jira UE-57380

Change 4011956 by Keli.Hlodversson

	Fix missing includes after CL#4011858

Change 4012096 by Joe.Graf

	Disabled building AppleVision on Mac until there's a good solution for older Mac OSes

Change 4012294 by Jason.Bestimt

	#DEV-VR - Adding dependency on LuminRuntimeSettings to MagicLeap module.  Hopefully, this will fix the generated files not being found

Change 4012390 by Jason.Bestimt

	#DEV-VR - Misc fixes for static code analysis issues

	- Guards around GEngine usage
	- Fix from Rolando for uint32 -> uint64 + shifting warning
	- Redundant if checks

Change 4013426 by Jason.Bestimt

	#DEV-VR - Guarding RestoreBaseProfile so we don't crash on exit

	#JIRA: UE-57960

Change 4014661 by Ryan.Vance

	Initial support for omni-directional stereo captures.
	https://developers.google.com/vr/jump/rendering-ods-content.pdf

Change 4015561 by Jason.Bestimt

	#DEV-VR - Moving MLSDK out of thirdparty directory to fix static code analysis issue

Change 4016202 by Jason.Bestimt

	#DEV-VR - Integrated CL 2685 from Seal depot

	#JIRA: UEVR-1157

Change 4016448 by Jason.Bestimt

	#DEV-VR - Adding LuminRuntimeSettings as dependent modules for anything that references the MLSDK

Change 4016457 by Ryan.Vance

	#jira UE-58018

	Cleaning up compiler errors/warnings.

Change 4017246 by Jason.Bestimt

	#DEV-VR - Potential fix for UE-58043 where metal asserts that it should be in the render thread rather than either the render thread OR RHI Thread

	#JIRA: UE-58043

Change 4018571 by Joe.Graf

	Added a remapping of curve values in a range to the modify curve anim node

Change 4018991 by Joe.Graf

	Wrapped vertical plane detection in a if iOS 11.3 check since ARKit 1.5 is only availabe from 11.3 on

	#jira: UE-57999

Change 4019068 by Joe.Graf

	Changed how Apple Vision support is enabled in code

	#jira: UE-57552

Change 4019194 by Joe.Graf

	Added a console command to change where Face AR is publishing LiveLink curve data "LiveLinkFaceAR SendTo=192.168.1.1"

Change 4019648 by Keli.Hlodversson

	Work around build failures caused by missing virtual destructor warnings.

	Reverting back to Oculus' original method of implementing own RHICommand wrapper around TFunctions and TFunctionRefs (using overloaded inline functions and templates to reduce code duplication.)

Change 4019871 by Joe.Graf

	Changed the __IPHONE_11_3 to the raw numeric value

Change 4020121 by Keli.Hlodversson

	Fix parameter types to match header declarations.

Change 4020127 by Keli.Hlodversson

	Remove dllimport/export macros from cpp file.

Change 4020621 by Joe.Graf

	Wrapped the Apple ARKit plane geometry building in a #if IOS_11_3 check

Change 4020910 by Joe.Graf

	Refactored how ARKit support #define to make it easy to wrap individual features by ARKit version

Change 4020952 by Joe.Graf

	Added checks to make sure PLATFORM_IOS and PLATFORM_TVOS are defined to 0 on non-Apple platforms when checking for ARKit

Change 4021116 by Jason.Bestimt

	#DEV-VR - Integrating CL 4005915 from Dev-Core to remove plugin modules that aren't supported on target platform

Change 4021320 by Joe.Graf

	Fixed warnings resulting from unity builds hiding them

Change 4021738 by Chad.Garyet

	- adding lumin filters
	- changing defaults for platforms back to true, this was brought over erroneously.
	#jira none

	#ROBOMERGE: Dogma, Nightlies

Change 4021898 by Chad.Garyet

	added missing bits from the ue4main script
	#jira none

	#ROBOMERGE: Dogma, Nightlies

Change 4022583 by Joe.Graf

	Added functions for checking ARKit version availability at runtime

Change 4022610 by Joe.Graf

	Added checks for ARKit 1.0 availability when creating the AR session to prevent calling invalid selectors on older iOSes

Change 4022616 by Joe.Graf

	Added support for enabling the ARKit 1.5 autofocus setting

Change 4022650 by Joe.Graf

	Defaulted autofocus for AR to on

Change 4023026 by Joe.Graf

	Changed the ARKit video overlay to use the new availability api

Change 4023124 by Joe.Graf

	Switched another version check in the ARKit overlay code to use the faster version

Change 4023489 by Ethan.Geller

	[Dev-VR] #jira none fix AudioMixerModuleName for Lumin. #fyi nick.whiting, jason.bestimt

Change 4023995 by Nick.Atamas

	Properly deprecated the bitfield for plane detection mode.

	#jira UE-57842

Change 4024992 by Jason.Bestimt

	#DEV-VR - Adding SupportPlatforms to MagicLeapAnalytics plugin

Change 4025702 by Jason.Bestimt

	#DEV-VR - Fix for loading ML libraries even when the MLSDK is not present

	#JIRA: UE-58033

Change 4026639 by Mike.Beach

	Removing innocuous Oculus error that did not match up with the rest of the code - it is handled/acceptable when Frame_RenderThread has been reset.

	#jira UE-58001

Change 4026949 by Mike.Beach

	MR - Making a few fixes to the lens undistortion and how it interacts with the MRC component...
	  - Switching to a 16bit displacement map instead of a 32bit UV map (updating the materials accordingly)
	  - Using the OpenCV focal ratio to scale the aspect ratio to avoid stretching from the undistortion
	  - Adding CVar commands to enable/disable pieces of the undistortion
	  - Changing the default undistortion cropping to be uncropped
	  - Removing the need for the 'EnableMapping' material parameter

	#jira UE-55195

Change 4027147 by Jason.Bestimt

	#DEV-VR - Fix for UE-58043 (more call sites where it should be Render OR RHI thread)

	#JIRA: UE-58043

Change 4027301 by Mike.Beach

	Updating the MRCalibration project's ini so it doesn't error on packaging.

Change 4027469 by Mike.Beach

	MR Calibration - Setting StartInVR to true, so when we package the app, we don't have to manually enable it.

Change 4027957 by Mike.Beach

	As part of renaming the MR plugin, first renaming the root folder to be MixedRealityCaptureFramework.

	#jira UE-57782

Change 4029182 by Keli.Hlodversson

	Revert back to not enqueuing RHI tasks when RHI is not on a separate thread. Oculus code depends on being able to call ExecuteOnRHIThread from code potentially called from within other calls to ExecuteOnRHIThread.

	#jira UE-58079

Change 4029687 by Dragan.Jerosimovic

	Boy rig and pose asset mb files, maps and masks

Change 4030059 by Mike.Beach

	As part of renaming the MR plugin, renaming the inner module to be MixedRealityCaptureFramework.

	#jira UE-57782

Change 4030296 by Charles.Egenbacher

	#LUMIN Copying from Dev-Incoming-Staging to Dev-VR

Change 4030593 by Jason.Bestimt

	#DEV-VR - Merging olaf test maps to Dev-VR

Change 4031042 by Keli.Hlodversson

	Allow executing ExecuteOnRHIThread* on the RHI thread. Enables simplifying destructors that can either be invoked on the RHI or Render thread.
	#jira UE-58239

Change 4031046 by Keli.Hlodversson

	Use the new XRThreadUtils functions in the HMD module for executing tasks on the RHI thread
	#jira UE-58238

Change 4032593 by Mike.Beach

	As part of renaming the MR plugin, renaming the inner module to be MixedRealityCaptureCalibration.

	#jira UE-57782

Change 4033911 by Jason.Bestimt

	#DEV-VR - Fix to LuminToolChain to allow it use a custom strip executable (android instead of gcc)

Change 4034087 by Mike.Beach

	Renaming the MR plugin to be the 'MixedRealityCaptureFramework' plugin.

	#jira UE-57782

Change 4034253 by Joe.Graf

	Made the Apple Vision plugin use version checking consistent with ARKit

Change 4034543 by Joe.Graf

	Added availability checks for the Apple Image Utils plugin similar to ARKit

	#jira: UE-57541

Change 4034548 by Joe.Graf

	Fixed the implicit conversion in the head rotation curves from the face ar feed causing the values to be 0

Change 4034577 by Jason.Bestimt

	#DEV-VR - Removing MAC Custom Metal present (fixes Mac with -game rendering all black)

Change 4034605 by zak.parrish

	Checking in test case for head rotation tracking - minor temporary change to AnimBP #rb none

Change 4034686 by Jason.Bestimt

	#DEV-VR - Integrating (most of) CL 3980919 to disable instances of deprecation warnings caused by building for ios11

	#JIRA: UE-58046

Change 4034799 by Joe.Graf

	Added base types for detecting images in a AR session

Change 4034820 by Joe.Graf

	Added a friendly name to UARCandidateImage objects

Change 4035010 by Joe.Graf

	Added support for handling ARImageAnchor notifications from ARKit

Change 4035355 by Mike.Beach

	[WIP] MR - Renaming some classes to reflect the plugin's new name.

	#jira UE-57782

Change 4035464 by Joe.Graf

	Added orientation to the ARCandidateImage object to pass to the detection system

Change 4035524 by Mike.Beach

	[WIP] MR - More renaming of some classes to better match the plugin's new name.

	#jira UE-57782

Change 4035606 by Mike.Beach

	[WIP] MR - More renaming of some classes to better match the plugin's new name.

	#jira UE-57782

Change 4035918 by Mike.Beach

	[WIP] MR - Renaming the MrcFramework module's source files to better match the plugin's new name.

	#jira UE-57782

Change 4035976 by Mike.Beach

	[WIP] MR - Renaming some more files and classes to better match the MRC framework's new name.

	#jira UE-57782

Change 4036044 by Ryan.Vance

	#jira UEVR-377

	Adding support for ISR Translucency.

Change 4036069 by Ryan.Vance

	We can remove the last word PrimitiveVisibilityMap masking for ISR since the maps are always the same size between views.

Change 4036073 by Chance.Ivey

	Fixed select blocks on LuminSamplePawn and GesturesAndTotem map to reflect recent changes. Fixes #JIRA UE-58328 #rb none

Change 4036307 by Mike.Beach

	[WIP] MR - Renaming the MRC calibration files to better match the MRC framework's new name.

	#jira UE-57782

Change 4036314 by Mike.Beach

	[WIP] MR - Renaming some more calibration classes to better match the MRC framework's new name.

	#jira UE-57782

Change 4036319 by Charles.Egenbacher

	#LUMIN this is an out-of-date version of the lumin sample. Nuking.

Change 4036396 by Charles.Egenbacher

	#LUMIN Adding the up to date version of the LuminSample.

Change 4036485 by Sorin.Gradinaru

	UE-57773 Disable Thermals Message

	#4.20
	#iOS

	Add in the Remote Session App BP an Execute Console Command node immediately after Event Begin Play, disabling all on-screen messages, for all builds.

Change 4036695 by Jason.Bestimt

	#DEV-VR - Adding Lumin case to PrecompileTargetType check

Change 4037110 by Jason.Bestimt

	#DEV-VR - Extra deprecated macro guards around HarfBuzz includes

	#JIRA: UE-58046

Change 4037443 by Jason.Bestimt

	#DEV-VR - Merging CL 4028003 from Partners-Google

Change 4037490 by Jason.Bestimt

	#DEV-VR - Integrating CL 4028922 from Partners-Google (+ assignment guarding)

Change 4037691 by Jason.Bestimt

	#DEV-VR - Swapping order of comparrison operator to deal with const error

Change 4037892 by Joe.Graf

	Added UTexture2D to CGImage conversion in Apple Image Utils plugin

Change 4037894 by Joe.Graf

	Changed the name of a property to make it clearer as to what it is and to have fewer things named similar in the same system

Change 4037901 by Joe.Graf

	Added support for configuring which images you'd like detected during a AR session

Change 4037906 by Jason.Bestimt

	#DEV-VR - Fixing buckled logic for =operator (derp)

Change 4038293 by Mike.Beach

	[WIP] MR - Moving the calibration setup/level/content into its own project, and out of the MR plugin.

	#jira UE-57782

Change 4038403 by Joe.Graf

	Added the name from the candidate image when creating the Apple side representation

Change 4038488 by Mike.Beach

	[WIP] MR Calibration - Moving calibration specific files to the MRCalibration project, out of the plugin (followup to CL 4038293). This makes the MRCalibration project a code project now.

	#jira UE-57782

Change 4038776 by Chance.Ivey

	Updates to Fix for Gestures change. Affects #JIRA UE-58328, though other non-content issues may cause packaging to fail #rb none #fyi Nick.Whiting

Change 4038877 by Mike.Beach

	[WIP] MR - Renaming assets to better match the new plugin name.

	#jira UE-57782

Change 4039097 by Joe.Graf

	Fixed the public include path warnings in the Apple* plugins I added

Change 4039106 by Joe.Graf

	Worked around a bad compile time assert that blocked valid FString::Printf debug code

Change 4039209 by Jeff.Fisher

	Fixing one build script paths

Change 4039275 by Jeff.Fisher

	More include path fixes.

Change 4039415 by Joe.Graf

	Added support for remote session sending AR camera image data to be rendered on the host like we do for AR on device

Change 4039471 by Joe.Graf

	Added a file I missed when adding to the remote session plugin

Change 4039473 by Joe.Graf

	#ifdef-ed some code out until the linkage can be fixed

Change 4040249 by Mike.Beach

	[WIP] MR - Moving some more asset files that aren't needed for the MRC plugin

	#jira UE-57782

Change 4040365 by Mike.Beach

	Fixing a compiler issue in the MRCalibration project, since moving MRC files there (WITH_OPENCV is not defined for the project).

	#jira UE-57782

Change 4040455 by Mike.Beach

	Moving the few remaining methods that were calibration specific, sprinkled through the MRC plugin.

	#jira UE-57782

Change 4041404 by Mike.Beach

	Fixing an issue with BP async nodes - making it so their wrapped function can be renamed and redirected.

Change 4041406 by Mike.Beach

	MR - Splitting the Mrc video util library so that the BP functions needed for calibration aren't exposed to users.

	#jira UE-57782

Change 4042110 by Jason.Bestimt

	#DEV-VR - Stopping spew for ML eye tracking when not on platform

	#JIRA: UE-58365

Change 4042407 by Joe.Graf

	Disabled HEIF compression on Mac

	#jira: UE-58479

Change 4042727 by Jason.Bestimt

	#DEV-VR - Fix for Android compiling without version 24

Change 4042861 by Olaf.Piesche

	#jira UE-57784

Change 4043105 by Mike.Beach

	Exposing a way for programmers to strip save game headers from save data, and get to the tagged object serialization portion.

	#jira UE-58389

Change 4043120 by Mike.Beach

	MR - Loading the base save data, even if we're unable to fully construct the original save object class.

	#jira UE-58389

Change 4043401 by Mike.Beach

	New Oculus poke-a-hole material, in support on SI 1.25. Checking in to alleviate QA contention for testing the rest of SI 1.25.

	#jira UEVR-1143

Change 4043424 by Mike.Beach

	Oculus SI 1.24/1.25 - Engine rendering changes

	#jira UEVR-1143

Change 4043495 by Mike.Beach

	CIS fix - Missing files needed for the Oculus SI 1.24/25 Vulkan changes.

	#jira UEVR-1143

Change 4043642 by Zak.Parrish

	Changes to FaceARSample: added in support for JoeG's smoothing algorithm, also refactored calibration to use the new Modify Curves node. Added some more comments to the AnimBp to make it easier to read. #rb none

Change 4045638 by Zak.Parrish

	Some minor updates to FaceARSample content. Mostly refactoring for new ModifyCurve stuff.

Change 4046003 by Jason.Bestimt

	#DEV-VR - Fix for bEnableAlphaChannelInPostProcessing reading in as false for LuminSample

	bEnableAlphaChannelInPostProcessing translates to r.PostProcessing.PropagateAlpha in ini files

	#JIRA: UE-58523

Change 4046548 by Jules.Blok

	Fix SetInstancedEyeIndex() ignoring the left eye.

	#jira UE-54044

Change 4046859 by zak.parrish

	Checking in the new rig from 3Lateral - this prevents the eyelashes from separating

Change 4047060 by Nick.Whiting

	Wrapping -norhithread in PLATFORM_LUMIN to prevent the ML plugin from always disabling RHI threading.

	#jira UEVR-1192

Change 4047667 by Mike.Beach

	CIS fix - removing uneeded line from bad merge.

Change 4047673 by Mike.Beach

	More CIS fixes for fallout from recent rendering merge.

Change 4048227 by Rolando.Caloca

	VR - vk - Some Vulkan merge conflicts resolved

Change 4048421 by Jason.Bestimt

	#DEV-VR - Converting OwnerName to EventName in UpdateSceneCaptureContent_RenderThread call

Change 4048423 by Jason.Bestimt

	#DEV-VR - Fixing mediandk version check

Change 4048452 by Rolando.Caloca

	VR - Merge fix

Change 4048530 by Rolando.Caloca

	VR - Merge fix

Change 4048607 by Jason.Bestimt

	#DEV-VR - Probable repair of Mr Mesh post merge

Change 4048794 by Rolando.Caloca

	VK - Fix mobile from merge

Change 4048972 by Jeff.Fisher

	Fixing MeshReconstructor merge problems.

Change 4049969 by Ryan.Vance

	Fixing missing shader assert.

Change 4050831 by Ryan.Vance

	Merge clean up. This is still needed to build w/ vulkan on Lumin.

Change 4050854 by Ryan.Vance

	Merge clean up.
	We need GetAllocationHandle for the ML Vulkan custom present sRGB workaround.

Change 4051495 by Jason.Bestimt

	#DEV-VR - Adding Android, Quail, Linux vulkan include clauses

Change 4052528 by Zak.Parrish

	Changing defaultEngine.ini for the higher res version of Gremlin

Change 4052880 by Ryan.Vance

	Merge clean up.
	Now with more Lumin

	#jira UE-58645

Change 4052991 by zak.parrish

	Update to FaceTrackingMap2 for proper camera positioning

Change 4053139 by Nick.Whiting

	Fixing Lumin Vulkan platform header

Change 4053352 by Mike.Beach

	On PC (in editor), not enabling ML stereo by default. Waiting for it to be enable by the EnableStereo() call (like we do for Oculus/SteamVR).

	#jira UE-57991

Change 4053644 by Nick.Whiting

	Fix for build break by wrapping bStereoDesired in !PLATFORM_LUMIN

Change 4054329 by Jason.Bestimt

	#DEV-VR - Resave of GoogleARCorePassthroughCameraMaterial.uasset

	#JIRA: UE-58689

Change 4054785 by Mike.Beach

	Fixing a MRCalibration BP compilation error from the latest merge - was using a deprecated variable which was no longer exposed to BPs.

Change 4055466 by Jules.Blok

	Suppress SteamVR submission errors after they've been logged once.

Change 4055500 by Jason.Bestimt

	#DEV-VR - MrMeshComponent fix for unsupported pixel format

	#JIRA: UE-58759

Change 4055761 by Ryan.Vance

	#jira UE-58729

	There's a single frame where the TLV textures are not initialized when using FCanvasTileRendererItem on startup.

Change 4056008 by Mike.Beach

	Fixing bad merge from Main.

Change 4056616 by Nick.Whiting

	Changing UBT configs to use Lumin-specific config files

	#jira UE-58760

Change 4056969 by Keli.Hlodversson

	MRCalibration: Set r.SceneRenderTargetResizeMethod to "Grow" to avoid cycling the scene render target size on every frame causing a flicker

	#jira  UE-58191


Change 4057356 by Jason.Bestimt

	#DEV-VR - Guard around JNI function for Lumin

Change 4059353 by Nick.Whiting

	Fix for shadow variable warnings on Linux

	#jira UE-58843

Change 4060158 by Rolando.Caloca

	DVR - vk - Temporarily add backbuffer delay/extra copy blit on android

	#jira UE-58859

Change 4060432 by Mike.Beach

	Fix for shadow variable warnings on Linux

	#jira UE-58843

Change 4060520 by Rolando.Caloca

	VR - Proper fix for r.Vulkan.DelayAcquireBackBuffer=0
	- Restore Android to not delay

	#jira UE-58859

Change 4060587 by Nick.Whiting

	Fix for minimum iOS version being set to iOS 8 on MRCalibration, which was causing CIS warnings

	#jira UE-58762

Change 4061277 by Jeff.Fisher

	UE-58861 //UE4/Dev-VR - Compile UE4Game Lumin - ERROR: MLSDK is not specified; cannot use Lumin toolchain.
	-Overriding HasAnySDK to setup the MLSDK.

Change 4061308 by Jason.Bestimt

	#DEV-VR - Work around of UE-58864 crashing when mousing over project launcher with only a Lumin device plugged in

	#JIRA: UE-58864

Change 4062111 by Ryan.Vance

	#jira UE-58875

	Fixing audio compilation failure.

Change 4064091 by Jason.Bestimt

	#DEV-VR - Disabling ML Plugin with the editor when bIsVDZIEnabled is off

	#JIRA: UE-58954

Change 4064554 by Jason.Bestimt

	#DEV-VR - Removing ML haptic tests when not on the platform

	#JIRA: UE-58966

Change 4064755 by Jeff.Fisher

	UE-58970 Dev-VR - Incremental UE4Editor Linux - Referenced directory 'D:\Build\AutoSDK\HostWin64\Lumin\0.12\lib\linux64' does not exist.
	-Removed linux from magicleap plugin whitelists, we have no sdk for linux.
	#review-4064614

	#jira UE-58970

[CL 4064889 by Mike Beach in Main branch]
2018-05-10 14:17:01 -04:00
Jack Porter
fa01e8b4b6 Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 4047413)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 3795481 by Nick.Shin

	HTML5 - disable SupportsScreenPercentage() - render the full screen

	otherwise, this is causing HTML5 screen to only render a portion of the screen and in black...
	- there may be another function is that not getting fired off "to render the screen" properly
	- this may be due to IsMobileHDR checks that are not fully accounted for the HTML5 platform

	#jira UE-52640  HTML5 only renders a black rectangle in the browser when launched

Change 3807007 by Nick.Shin

	HTML5 - remove webgl1 only precompile guards (UE4_HTML5_TARGET_WEBGL2)

	toolchain can "fallback" to webgl1 -- webgl2 functions in UE4 code are "if checked"/configured/setup at start up

	#jira UE-51267 WebGL1 fails to compile

Change 3822593 by Nick.Shin

	#jira UE-27141  Remove all #if PLATFORM_HTML5 from high level code

Change 3823512 by Nick.Shin

	#jira UE-27141  Remove all #if PLATFORM_HTML5 from high level code

Change 3824639 by Nick.Shin

	HTML5 - OSX - RunMacHTML5LaunchHelper.command

	- more helpful warning messages

	#jira UE-49861  A copied RunMacHTML5LaunchHelper.command gives unspecific Mono error

Change 3829092 by Josh.Adams

	- Updated UnrealRemote to 1.4.1

Change 3832708 by Chris.Babcock

	Allow UE4Commandline.txt in APK
	#jira
	#ue4
	#android

Change 3835867 by Nick.Shin

	HTML5 - code cleanup

	origial work was for: UE-27141 (Remove all #if PLATFORM_HTML5 from high level code)

	this exposed an issue that i totally forgot about (.../Engine/Source/Developer/... only does builds tools -- which does not make use of PLATFORM_XXX preprocessor)

	tested with HTML5 builds with QAGame project :: TM-ShaderModels map

	#jira UE-53524  UE4Editor Static Analysis Win64 (MSVC) - 1 repeat warning

Change 3839967 by Mi.Wang

	Override MaxObjectInGame on Android to save ~30M with the ObjectArray size.
	#Android

Change 3842022 by Mi.Wang

	Fix an AssetRegistry size calculation bug.

Change 3843552 by Sorin.Gradinaru

	UE-54139 Possible crash with new virtual keyboard on Android if suggestions not disabled

	#4.19
	#Android
	#jira UE-54139

	S8 on 7.0 is not hiding suggestions and disabling predictive input.  There are cases with this that can cause a crash.

	Fix:  On text change, downgrade to simple suggestions all the easy correction spans that are not a spell check span (remove android.text.style.SuggestionSpan.FLAG_EASY_CORRECT flags)

Change 3844210 by Nick.Shin

	HTML5 - filter out "windows/super" keys - these are not used in UE4

	- but, keycode are not the expected "91 or 92" values, SDL keys are "227 & 231" instead...

	#jira UE-54056  HTML5 crashes inside browser upon pressing windows key

Change 3844874 by Nick.Shin

	HTML5 - detect "SyntaxError: " and do a forced reload

	- an actual syntax error would be caught during compile time
	- this is usually error condition is usually seen when browser is running "old/partial" cached data and it's fairly safe to just reload the page

	#jira UE-54017  QAGame fails to launch properly on HTML5 Firefox 64 bit

Change 3846695 by Nick.Shin

	#jira UE-53524  UE4Editor Static Analysis Win64 (MSVC) - 1 repeat warning

Change 3847309 by Nick.Shin

	HTML5 - (not to) show virtual joystick

	- virtual joysticks are not shown by default-- and the mouse not captured
	- this now behaves like the win64 client version

	#jira UE-33854  Virtual Joysticks In HTML5 if Mobile/Tablet Project is chosen

Change 3847310 by Nick.Shin

	HTML5 - set controller axis and button max value in code instead of relying on emscripten_get_gamepad_status()

	- seems emscripten might be uninitialized by the time controlers are used...

	#jira UE-28513 - Using a controller in HTML5 causes error

Change 3850606 by Nick.Shin

	HTML5 - more static warning fix ups

	#jira UE-53524  UE4Editor Static Analysis Win64 (MSVC) - 1 repeat warning

Change 3850624 by Nick.Shin

	HTML5 - tell user/developer to show unsupported WebGL browsers on old hardware -- will need to try another browser

	note: using following jira to track progress:
	#jira UE-47066  Packaged HTML 5 Map Prompts for Firefox Update in Chrome

Change 3855610 by Sorin.Gradinaru

	UE-49173 Progress bar causes black screen on iOS

	#iOS
	#4.20
	#jira UE-49173

	The bug occurs on iOS with Metal, when the last Slate element to be draw in the scene is a ScrollBar with progress between 0 and 1.
	As a workaround, adding another widget (eg. button, image) in the Blueprint solves the problem.
	The bug can be reproduced by adding OutDrawElements.PushClip & OutDrawElements.PopClip in any SWidget::OnPaint.

	The solution is to disable the scissor
			RHICmdList.SetScissorRect(false, 0, 0, 0, 0);
	in FSlateRHIRenderingPolicy::DrawElements after the batch rendering

Change 3855652 by Sorin.Gradinaru

	iOS 3D browser

	UE-53248 Web Browser on a Widget Component is 2D when launching on to iOS

	#jira UE-53248
	#iOS
	#4.20

	Uses the same WebTexture from the WebBrowser plugin as the Android version.
	+ Code contributed by Juan.Belon from Alea S.r.l  at https://udn.unrealengine.com/questions/390166/3d-world-space-widget-is-being-rendered-in-screen.html

Change 3856174 by Nick.Shin

	HTML5 - python forking will still error while trying to terminate already terminated processes

	- added same "WindowsError code 5" handler found in subprocess.py

	#jira UE-51618  HTML5 fails to build, [Error 5] Access is denied

Change 3863322 by Sorin.Gradinaru

	UE-54317 DXT apps fail on first launch when 'For Distribution' enabled, Unsupported Texture Format

	#jira UE-54317
	#Android
	#4.19

Change 3878088 by Nick.Shin

	UEMOB-425 superceeds this jira

	#jira UE-25257  Mac HTML5 project crashes upon downloading expression HasFoundDataDirectory failed

Change 3884560 by Jack.Porter

	Fix logspam in FAVMoviePlayer
	#jira UE-54760

Change 3886533 by Mi.Wang

	Fix a potential crash that the VirtualKeyboardWidget has been hide while trying to use in gamethread.

Change 3889081 by Sorin.Gradinaru

	UE-54490 Android Startup Movie audio still playing when app paused, and after app resumed the movie is blackscreen until engine ticked.

	#Android
	#4.20
	#jira UE-54490

	Call ForceCompletion for the intial movie player on onPause.
	Call App Restart on Resume.

	Programmatically restarting an Android application basically consists in killing the current app, then using the launch intent as parameter for startActivity.

	This can be done only in onResume , which means that the movie player still has to be manually paused/stopped in onPause.
	I╞ve tried to kill the activity on onPause, tested on several devices, with various problems: the app doesn╞t restart anymore (onResume is not called) or the app is automatically sent to background (seems to be crashing when using the multitasking soft key).

Change 3890320 by Chris.Babcock

	Fix initializer ordering
	#jira UE-55189
	#ue4

Change 3958226 by Nick.Shin

	HTML5 disable memory poison tests

	and fix a bug during Realloc() // for Linux... and in turn for HTML5

	#jria none

Change 3958250 by Nick.Shin

	HTML5 - FText::FormatStr - skip if multi-threading not supported

	#jira none

Change 3968328 by Nick.Shin

	HTML5 CORS fixes

	still need datarouter.ol.epicgames.com fixes to completely solve these issues. (API server own estimates no later than mid-April)

	note: the following are all related:

	+ answerhub 756723 - HTML5 CORS / Access-Control-Allow-Headers
	+ answerhub 756942 - HTML5 CORS Issue to my Hosts API / Hosted Server
	+ UE-22285 - Session events are not generated for HTML5
	+ UE-19330 - HTML5 Analytics cross-origin request blocked header Access-Control-Allow-Origin missing

	#jira UE-19330

Change 3971405 by Nick.Shin

	HTML5 suppress double printing to console.log

	#jira none

Change 3978767 by Nick.Shin

	HTML5 CORS fixes

	note: the following are all related:

	+ answerhub 756723 - HTML5 CORS / Access-Control-Allow-Headers
	+ answerhub 756942 - HTML5 CORS Issue to my Hosts API / Hosted Server
	+ UE-22285 - Session events are not generated for HTML5
	+ UE-19330 - HTML5 Analytics cross-origin request blocked header Access-Control-Allow-Origin missing

	tested (against datarouter.ol.epicgames.com fixes) and found to be functional

	#jira UE-22285

Change 3981103 by Nick.Shin

	HTML5 - num pad keys crashes project

	match latest Engine/Source/Runtime/InputCore/Private/Linux/LinuxPlatformInput.cpp to HTML5PlatformInput.cpp
	also fix a HUD crash...

	#jira UE-54056  HTML5 crashes inside browser upon pressing windows key

Change 3983424 by Sorin.Gradinaru

	UE-57107 Attempting to load a streamed media source causes the app to become unresponsive when device is not connected to internet

	#jira UE-57107
	#Android
	#4.20

	The ANR is because the android.media.MediaExtractor.setDataSource(UrlPath) calls an underlying api which retries the download (10-30 times).

	Additional issue (all platforms): the MediaFrameworkTest/StreamSource_Infiltrator souce seems to have been removed (no longer at https://docs.unrealengine.com/latest/attachments/Engine/MediaFramework/HowTo/StreamMediaSource/Infiltrator%20Demo.mp4). According to the docs (https://docs.unrealengine.com/en-US/Engine/MediaFramework/HowTo/StreamMediaSource) the new location of the Sample Video is at https://dnnrz1gqa.blob.core.windows.net/portals/attachments/Engine/MediaFramework/HowTo/StreamMediaSource/Infiltrator%20Demo.mp4?sr=b&si=DNNFileManagerPolicy&sig=F%2BBpnYueeQTUTSW0nCRSrXEfr35LIawe7C3MQoe2%2FPI%3D

Change 3985248 by Nick.Shin

	HTML5 game window size

	add project setting drop down box to select canvas scaling mode

	#jira UE-46555  HTML5 game window does not scale with browser size

Change 3986190 by Sorin.Gradinaru

	UE-56076  Android Launch On "Running..." toast intermittently doesn't appear

	#jira UE-56076
	#Android
	#4.10

	When cancelling Launch on Device, always call CancelContinuations for the current task

Change 3986412 by Nick.Shin

	CIS error fix
	#jira none

Change 3987007 by Nick.Shin

	HTML5 fullscreen size fix

	- when using FIXED scale mode initially, there's some strange padding margins
	- but, setting UE4_fullscreenScaleMode to anything "but FIXED scale mode" will work...

	#jira UE-46555  HTML5 game window does not scale with browser size

Change 3988408 by Nick.Shin

	HTML5 call EndSession() onbeforeunload()

	? should PreExit() be called instead?

	#jira UE-57207  Session End event is not generated for HTML5

Change 3991828 by Nick.Shin

	HTML5 shipping build crash

	some FVector2D needs ContainsNaN() checks

	#jira UE-57401  Projects packaged for Shipping HTML5 do not launch the engine in the browser

Change 3992884 by Nick.Shin

	HTML5 call EndSession() onbeforeunload() code cleanup

	#jira UE-57207  Session End event is not generated for HTML5

Change 3992887 by Nick.Shin

	datarouter: Session events code cleanup

	#jira UE-22285 - Session events are not generated for HTML5

Change 4002603 by Sorin.Gradinaru

	UE-56177 Unplugging a device while launching onto it from a source build will result in the "Running..." toast staying open

	#jira UE-56177
	#Android
	#iOS
	#4.10

	Using the device discovery to signal when the running device gets disconnected

Change 4007162 by Dmitriy.Dyomin

	Merging using Dev-Mobile->FortMain
	Added ObjectOrientation material node for decals, returns decal projection direction ( X-axis)
	#jira none

Change 4012196 by Sorin.Gradinaru

	UE-57120 Lighting needs to be rebuilt error appears on Camera test app on Nexus 9 and Note 4.

	#jira UE-57120
	#Android
	#4.20

	Level lightings rebuilt and  QA-Media_Camera_BuiltData.uasset added.

	The message appeared (rarely and only on certain devices) because the engine tries to load the pre-computed lightmap data on the render thread, then to add it to the scene on the game thread (in  FPrecomputedVolumetricLightmap::AddToScene).

	Most of the times there is a desync and the data is not yet loaded when the lightmap is validated (in FScene::AddPrecomputedVolumetricLightmap).

Change 4013034 by Sorin.Gradinaru

	UE-55427 iOS application crashes when suspending and resuming the startup movie in rapid succession

	#jira UE-55427
	#iOS
	#4.20

	Caused by ToggleSuspend waiting for FDefaultGameMoviePlayer::WaitForMovieToFinish()

	Renamed InitialMovie to StartupMovie, including the methods related to the  Android platform.

Change 4015449 by Sorin.Gradinaru

	UE-38306 "Running xxx on yyy" panel Cancel button should terminate app

	#jira UE-38306
	#Android
	#4.10

	Run on device: Pressing Cancel on the "Running..." message should stop the application, if running

	Cancel Android builds using "adb shell am force-stop <bundle_id> <device_id>"

	Note: Using a new AutomationTool command (re-starting the Automation tool after canceling the BuildCookRun task chain) is too slow - takes 3-10 sec depending on the PC configuration.

	AutomationTool is used now only to correctly retrieve the bundle id for each Android device. This is done inside the BuildCookRun command when the application is deployed on the device(s). Cannot simply use the current project's properties to retrieve the bundle id, because when using Launch-> Device Launcher, the user can choose to cook&deploy a different project/texture format, also the user can create & use a profile with multiple devices / with different texture formats.

Change 4016057 by Sorin.Gradinaru

	UE-57845 GitHub 4666 : Pull request clipboard on android

	#jira UE-57845
	#4.20
	#Android

	#4666

	https://github.com/EpicGames/UnrealEngine/pull/4666

	Implemented Clipboard function on Android.

Change 4020229 by Sorin.Gradinaru

	UE-57845 GitHub 4666 : Pull request clipboard on android

	#jira UE-57845
	#Android
	#4.20

	GameActivity.java: moving the methods related to clipboard above the native public declarations

Change 4021188 by Sorin.Gradinaru

	UE-57876 Location accuracy is ignored by ULocationServicesIOSImpl

	#jira UE-57876
	#iOS
	#4.30

	In ULocationServicesIOSImpl::InitLocationServices(ELocationAccuracy Accuracy, float UpdateFrequency, float MinDistance) the first param must be converted to CLLocationAccuracy and used as the first param of LocationDelegateinitLocationServices, rather than using the hardcoded kCLLocationAccuracyHundredMeters.

	Also fixed a compilation error (!) when enabling The Location Services plugin on iOS

Change 4024839 by Sorin.Gradinaru

	UE-38306 "Running xxx on yyy" panel Cancel button should terminate app

	#jira UE-38306
	#Android
	#4.10

	Removed unnecessary #include "AndroidTargetDevice.h", causing circular reference =>  nightly build errors

Change 4024962 by Cosmin.Sulea

	UE-56294 - Packaging step fails when packaging project for distribution

	#jira UE-56294

Change 4026122 by Sorin.Gradinaru

	UE-57149 Razer Phone: Crash after Switching Camera Format 22-26 times

	#jira UE-57149
	#Android
	#4.20

	jobject obj = env->GetObjectArrayElement must be followed by env->DeleteLocalRef(obj)

	The bug can probably be reproduced by using a MediaPlayer.

Change 4038185 by Nick.Shin

	HTML5 - merge error fix

	MallocAnsi.cpp was stomped on

	#jira UE-58367  //UE4/Dev-Mobile - Compile UE4Game HTML5 - use of undeclared identifier 'malloc_usable_size'

Change 4039521 by Dmitriy.Dyomin

	Export WorldBrowser API so plugin makers can use it
	#jira UE-57323

Change 4039523 by Dmitriy.Dyomin

	Exposed MobilePatchingLibrary API
	#jira UE-55941

Change 4039526 by Dmitriy.Dyomin

	Fixed: Hierarchy filtering does not work in world composition
	#jira UE-57900

Change 4039529 by Dmitriy.Dyomin

	Fixed: 'Apply Fogging' in Material does not work on Mobile (GitHub 4357)
	#jira UE-53618
	#4357

Change 4039874 by Sorin.Gradinaru

	UEMOB-436 Support "All Android" Launch On and Project Launcher options

	The main change is in the DeviceProxy class.

	A new type ("All devices" proxy) was added, and the proxy now holds a list of physical device IDs for every variant (texture format), instead of a single device ID.

	The "All devices" proxy is updated automatically by the device discovery thread.

	The change was necessary because the list in the Project Launcher is using the device proxy list.

	#jira UEMOB-436
	#Android
	#UE4
	#4.19

Change 4041446 by John.Mauney

	Fix that Chris B made locally on my machine
	#jira UE-58420

Change 4041791 by Jack.Porter

	Fix CIS incremental UE4Editor Win64

	#jira 0

[CL 4047603 by Jack Porter in Main branch]
2018-05-02 22:53:38 -04:00